# CVE-2025-21836: io_uring/kbuf: reallocate buf lists on upgrade

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-03-07T09:09:56.127Z
- Modified: 2026-10-15T22:18:09.957Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2fcabce2d7d34f69a888146dab15b36a917f09d4 before 146a185f6c05ee263db715f860620606303c4633; from 2fcabce2d7d34f69a888146dab15b36a917f09d4 before 7d0dc28dae836caf7645fef62a10befc624dd17b; from 2fcabce2d7d34f69a888146dab15b36a917f09d4 before 2a5febbef40ce968e295a7aeaa5d5cbd9e3e5ad4; from 2fcabce2d7d34f69a888146dab15b36a917f09d4 before 8802766324e1f5d414a81ac43365c20142e85603; 5.19 (not affected: before 5.19; from 6.6.79 up to 6.6.*; from 6.12.16 up to 6.12.*; from 6.13.4 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 5.19 before 6.6.79; from 6.7 before 6.12.16; from 6.13 before 6.13.4; 6.14

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/146a185f6c05ee263db715f860620606303c4633> (patch)
- <https://git.kernel.org/stable/c/7d0dc28dae836caf7645fef62a10befc624dd17b> (patch)
- <https://git.kernel.org/stable/c/2a5febbef40ce968e295a7aeaa5d5cbd9e3e5ad4> (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>

## Sources

- CVE List: [CVE-2025-21836](https://www.cve.org/CVERecord?id=CVE-2025-21836), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-21836](https://nvd.nist.gov/vuln/detail/CVE-2025-21836), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-21836 · Whole record: https://cve.day/CVE-2025-21836.json · Rebuilt by cve.day 2026-11-25T22:58:55.046Z
