Bug 1224655 (CVE-2024-35926)

Summary: VUL-0: CVE-2024-35926: kernel: crypto: iaa - Fix async_disable descriptor leak
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: IN_PROGRESS --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: gianluca.gabrielli, jlee
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/406616/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-35926:4.4:(AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-05-20 16:04:08 UTC
In the Linux kernel, the following vulnerability has been resolved:

crypto: iaa - Fix async_disable descriptor leak

The disable_async paths of iaa_compress/decompress() don't free idxd
descriptors in the async_disable case. Currently this only happens in
the testcases where req->dst is set to null. Add a test to free them
in those paths.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-35926
https://www.cve.org/CVERecord?id=CVE-2024-35926
https://git.kernel.org/stable/c/262534ddc88dfea7474ed18adfecf856e4fbe054
https://git.kernel.org/stable/c/d994f7d77aaded05dc05af58a2720fd4f4b72a83
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-35926.mbox
Comment 1 Joey Lee 2024-05-21 05:28:28 UTC
https://www.suse.com/security/cve/CVE-2024-35926.html
cvss 4.4
Comment 2 Joey Lee 2024-05-23 08:18:55 UTC
joeyli@linux-691t:/mnt/working/source_code-git/kernel-source> ./scripts/check-kernel-fix CVE-2024-35926
262534ddc88d ("crypto: iaa - Fix async_disable descriptor leak") merged v6.9-rc1~89^2~8
No Fixes tag. Requires manual review for affected branches.
Security fix for CVE-2024-35926 bsc#1224655 with CVSS 4.4
Experts candidates: oneukum@suse.de duwe@suse.de 
..............................
ACTION NEEDED!
SLE12-SP5: MANUAL: might need backport of 262534ddc88dfea7474ed18adfecf856e4fbe054 ()
SLE15-SP6: MANUAL: might need backport of 262534ddc88dfea7474ed18adfecf856e4fbe054 ()
SLE12-SP3-TD: MANUAL: might need backport of 262534ddc88dfea7474ed18adfecf856e4fbe054 ()
SLE15-SP5: MANUAL: might need backport of 262534ddc88dfea7474ed18adfecf856e4fbe054 ()
Comment 3 Joey Lee 2024-05-23 08:19:35 UTC
Hi Oliver,

Because this is a issue for crypto. Could you please help to handle it?

If this is not in your area, just reset bug assigner to kernel-bugs@suse.de. Kernel Security Sentinel will find other expert.

Thanks a lot!
Comment 4 Oliver Neukum 2024-06-05 13:09:39 UTC
(In reply to Joey Lee from comment #2)
> joeyli@linux-691t:/mnt/working/source_code-git/kernel-source>
> ./scripts/check-kernel-fix CVE-2024-35926
> 262534ddc88d ("crypto: iaa - Fix async_disable descriptor leak") merged
> v6.9-rc1~89^2~8
> No Fixes tag. Requires manual review for affected branches.
> Security fix for CVE-2024-35926 bsc#1224655 with CVSS 4.4
> Experts candidates: oneukum@suse.de duwe@suse.de 
> ..............................
> ACTION NEEDED!

> SLE15-SP6: MANUAL: might need backport of
> 262534ddc88dfea7474ed18adfecf856e4fbe054 ()

The driver was added in v6.8 and has been backported only to SLE15-SP6
No other kernel is affected
Comment 5 Oliver Neukum 2024-06-06 07:42:08 UTC
Fix submitted to SLE15-SP6