CVE-2025-21836

io_uring/kbuf: reallocate buf lists on upgrade

State
Published
Severity
7.8 High
Published
Mar 7, 2025
Updated
Oct 15, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 2fcabce2d7d34f69a888146dab15b36a917f09d4 to before 146a185f6c05ee263db715f860620606303c4633Affected
  • 2fcabce2d7d34f69a888146dab15b36a917f09d4 to before 7d0dc28dae836caf7645fef62a10befc624dd17bAffected
  • 2fcabce2d7d34f69a888146dab15b36a917f09d4 to before 2a5febbef40ce968e295a7aeaa5d5cbd9e3e5ad4Affected
  • 2fcabce2d7d34f69a888146dab15b36a917f09d4 to before 8802766324e1f5d414a81ac43365c20142e85603Affected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.6.79 through 6.6.*Not affected
  • 6.12.16 through 6.12.*Not affected
  • 6.13.4 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.