Bug 1224691 (CVE-2024-35820)

Summary: VUL-0: REJECTED: CVE-2024-35820: kernel: io_uring: fix io_queue_proc modifying req->flags
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Gabriel Krisman Bertazi <gabriel.bertazi>
Status: RESOLVED INVALID QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: andrea.mattiazzo, gabriel.bertazi, gabriele.sonnu, jlee
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/406387/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-35820:5.5:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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

io_uring: fix io_queue_proc modifying req->flags

With multiple poll entries __io_queue_proc() might be running in
parallel with poll handlers and possibly task_work, we should not be
carelessly modifying req->flags there. io_poll_double_prepare() handles
a similar case with locking but it's much easier to move it into
__io_arm_poll_handler().

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-35820
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-35820.mbox
https://git.kernel.org/stable/c/51a490a7f63cae0754120e7c04f4f47920bd48db
https://git.kernel.org/stable/c/0ecb8919469e6d5c74eea24086b34ce1bda5aef7
https://git.kernel.org/stable/c/1a8ec63b2b6c91caec87d4e132b1f71b5df342be
https://www.cve.org/CVERecord?id=CVE-2024-35820
https://bugzilla.redhat.com/show_bug.cgi?id=2281196
Comment 1 Joey Lee 2024-05-21 07:11:41 UTC
https://www.suse.com/security/cve/CVE-2024-35820.html
cvss 5.5
Comment 2 Gabriel Krisman Bertazi 2024-05-22 23:50:58 UTC
No fixes tag. Consider SP3 and higher affected. I'll work on the backport.
Comment 3 Andrea Mattiazzo 2024-05-27 07:49:37 UTC
CVE is now rejected: https://lore.kernel.org/linux-cve-announce/2024052547-REJECTED-d3f2@gregkh/