Bug 2370723 (CVE-2025-38002) - CVE-2025-38002 kernel: io_uring/fdinfo: grab ctx->uring_lock around io_uring_show_fdinfo()
Summary: CVE-2025-38002 kernel: io_uring/fdinfo: grab ctx->uring_lock around io_uring_...
Keywords:
Status: NEW
Alias: CVE-2025-38002
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:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-06 14:01 UTC by OSIDB Bzimport
Modified: 2026-08-19 10:41 UTC (History)
6 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-06 14:01:42 UTC
In the Linux kernel, the following vulnerability has been resolved:

io_uring/fdinfo: grab ctx->uring_lock around io_uring_show_fdinfo()

Not everything requires locking in there, which is why the 'has_lock'
variable exists. But enough does that it's a bit unwieldy to manage.
Wrap the whole thing in a ->uring_lock trylock, and just return
with no output if we fail to grab it. The existing trylock() will
already have greatly diminished utility/output for the failure case.

This fixes an issue with reading the SQE fields, if the ring is being
actively resized at the same time.

Comment 1 Jon Moroney 2025-06-06 16:10:34 UTC Comment hidden (spam)

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