APPLIED: [SRU][J][PATCH 0/1] CVE-2024-50060
Mehmet Basaran
mehmet.basaran at canonical.com
Tue Apr 7 10:10:39 UTC 2026
Applied to jammy:linux master-next branch. Thanks.
-------------- next part --------------
Tim Whisonant <tim.whisonant at canonical.com> writes:
> SRU Justification:
>
> [Impact]
>
> 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.
>
> [Fix]
>
> Questing: not affected
> Noble: fixed separately
> Jammy: backported from upstream
> Focal: not affected
> Bionic: not affected
> Xenial: not affected
> Trusty: not affected
>
> [Test Plan]
>
> Compile and boot tested.
>
> [Where problems could occur]
>
> The change affects io_uring in the overflow list processing
> code. Issues might affect slow consumer processes that cause
> the overflow path to be taken.
>
> Jens Axboe (1):
> io_uring: check if we need to reschedule during overflow flush
>
> io_uring/io_uring.c | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
> --
> 2.43.0
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 873 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20260407/bd3a0f69/attachment.sig>
More information about the kernel-team
mailing list