CVEvulnerability
CVE-2025-21836
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-03-07
- Last modified
- 2026-10-15
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Description
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.
Affected configurations
• linux linux kernel (>= 5.19 < 6.6.79)
• linux linux kernel (>= 6.7 < 6.12.16)
• linux linux kernel (>= 6.13 < 6.13.4)
• linux linux kernel 6.14
References
- https://git.kernel.org/stable/c/146a185f6c05ee263db715f860620606303c4633 Patch
- https://git.kernel.org/stable/c/2a5febbef40ce968e295a7aeaa5d5cbd9e3e5ad4 Patch
- https://git.kernel.org/stable/c/7d0dc28dae836caf7645fef62a10befc624dd17b Patch
- https://git.kernel.org/stable/c/8802766324e1f5d414a81ac43365c20142e85603 Patch
- https://u1f383.github.io/slides/talks/2025_Hexacon-Deja_Vu_in_Linux_io_uring_Breaking_Memory_Sharing_Again_After_Generations_of_Fixes.pdf u1f383.github.io