Bug 2320616 (CVE-2024-50060) - CVE-2024-50060 kernel: io_uring: check if we need to reschedule during overflow flush
Summary: CVE-2024-50060 kernel: io_uring: check if we need to reschedule during overfl...
Keywords:
Status: NEW
Alias: CVE-2024-50060
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2320903
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 20:03 UTC by OSIDB Bzimport
Modified: 2024-11-21 18:34 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 20:03:47 UTC
In the Linux kernel, the following vulnerability has been resolved:

io_uring: check if we need to reschedule during overflow flush

In terms of normal application usage, this list will always be empty.
And if an application does overflow a bit, it'll have a few entries.
However, nothing obviously prevents syzbot from running a test case
that generates a ton of overflow entries, and then flushing them can
take quite a while.

Check for needing to reschedule while flushing, and drop our locks and
do so if necessary. There's no state to maintain here as overflows
always prune from head-of-list, hence it's fine to drop and reacquire
the locks at the end of the loop.

Comment 1 Avinash Hanwate 2024-10-22 10:22:47 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024102135-CVE-2024-50060-6994@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.