Bug 2350584 (CVE-2025-21836) - CVE-2025-21836 kernel: io_uring/kbuf: re-using old struct io_buffer_list may lead to a use-after-free situation
Summary: CVE-2025-21836 kernel: io_uring/kbuf: re-using old struct io_buffer_list may ...
Keywords:
Status: NEW
Alias: CVE-2025-21836
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-03-07 10:01 UTC by OSIDB Bzimport
Modified: 2025-03-31 11:39 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-03-07 10:01:06 UTC
In the Linux kernel, the following vulnerability has been resolved:

io_uring/kbuf: reallocate buf lists on upgrade

IORING_REGISTER_PBUF_RING can reuse an old struct io_buffer_list if it
was created for legacy selected buffer and has been emptied. It violates
the requirement that most of the field should stay stable after publish.
Always reallocate it instead.


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