Skip to content

crypto: ccp - fix resource leaks in ccp_run_aes_gcm_cmd()

Vladis Dronov requested to merge NefigTut/centos-stream-9:ccp-update-v5.15 into main
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1997595
Upstream Status: merged into the linux.git
CVE: CVE-2021-3744
CVE: CVE-2021-3764

There are resource leaks in ccp_run_aes_gcm_cmd() in the CCP driver.
The patch fixes them. Also add other two simple upstream patches for
completeness. All the commits are in the upstream and apply cleanly.

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
Edited by Vladis Dronov

Merge request reports