{"id":"CVE-2025-21836","aliases":["CVE-2025-21836"],"related":[],"kind":"vulnerability","state":"published","title":"io_uring/kbuf: reallocate buf lists on upgrade","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/kbuf: reallocate buf lists on upgrade\n\nIORING_REGISTER_PBUF_RING can reuse an old struct io_buffer_list if it\nwas created for legacy selected buffer and has been emptied. It violates\nthe requirement that most of the field should stay stable after publish.\nAlways reallocate it instead.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/kbuf: reallocate buf lists on upgrade\n\nIORING_REGISTER_PBUF_RING can reuse an old struct io_buffer_list if it\nwas created for legacy selected buffer and has been emptied. It violates\nthe requirement that most of the field should stay stable after publish.\nAlways reallocate it instead.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: io_uring/kbuf: reasignar listas de búferes en la actualización IORING_REGISTER_PBUF_RING puede reutilizar una estructura io_buffer_list antigua si se creó para un búfer seleccionado heredado y se vació. Viola el requisito de que la mayor parte del campo debe permanecer estable después de la publicación. Siempre reasignarlo en su lugar.","source":"nvd"}],"published":"2025-03-07T09:09:56.127Z","modified":"2026-10-15T22:18:09.957Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2fcabce2d7d34f69a888146dab15b36a917f09d4","fixed":"146a185f6c05ee263db715f860620606303c4633","status":"affected"},{"type":"git","introduced":"2fcabce2d7d34f69a888146dab15b36a917f09d4","fixed":"7d0dc28dae836caf7645fef62a10befc624dd17b","status":"affected"},{"type":"git","introduced":"2fcabce2d7d34f69a888146dab15b36a917f09d4","fixed":"2a5febbef40ce968e295a7aeaa5d5cbd9e3e5ad4","status":"affected"},{"type":"git","introduced":"2fcabce2d7d34f69a888146dab15b36a917f09d4","fixed":"8802766324e1f5d414a81ac43365c20142e85603","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.19","status":"unaffected"},{"type":"semver","introduced":"6.6.79","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.16","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.4","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.19","fixed":"6.6.79"},{"status":"affected","introduced":"6.7","fixed":"6.12.16"},{"status":"affected","introduced":"6.13","fixed":"6.13.4"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/146a185f6c05ee263db715f860620606303c4633","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d0dc28dae836caf7645fef62a10befc624dd17b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a5febbef40ce968e295a7aeaa5d5cbd9e3e5ad4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8802766324e1f5d414a81ac43365c20142e85603","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://u1f383.github.io/slides/talks/2025_Hexacon-Deja_Vu_in_Linux_io_uring_Breaking_Memory_Sharing_Again_After_Generations_of_Fixes.pdf","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:43:15.462Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21836","url":"https://www.cve.org/CVERecord?id=CVE-2025-21836","licence":"CVE Terms of Use","modified":"2026-10-15T21:51:53.980Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21836","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21836","licence":"Public domain","modified":"2026-10-15T22:18:09.957Z"}],"updatedAt":"2026-11-25T22:58:55.046Z","epss":{"score":0.00252,"percentile":0.17782,"date":"2026-12-01T12:00:22.000Z"}}