# CVE-2025-40216: io_uring/rsrc: don't rely on user vaddr alignment

- 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.23%, higher than 8% of CVEs (2026-11-30)
- Published: 2025-12-04T14:14:14.690Z
- Modified: 2026-10-19T21:10:00.160Z
- 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/rsrc: don't rely on user vaddr alignment

There is no guaranteed alignment for user pointers, however the
calculation of an offset of the first page into a folio after coalescing
uses some weird bit mask logic, get rid of it.

(As written by CVE List.)

## Affected

- Linux Linux: from a8edbb424b1391b077407c75d8f5d2ede77aa70d before 50998b0ae7d9d552e96d8b7239981cf05f65eff5; from a8edbb424b1391b077407c75d8f5d2ede77aa70d before f16769241594be59387b56ab525e327f54377e60; from a8edbb424b1391b077407c75d8f5d2ede77aa70d before 3a3c6d61577dbb23c09df3e21f6f9eda1ecd634b; 6.12 (not affected: before 6.12; from 6.12.36 up to 6.12.*; from 6.15.5 up to 6.15.*; from 6.16 up to *)

## References

- <https://git.kernel.org/stable/c/50998b0ae7d9d552e96d8b7239981cf05f65eff5>
- <https://git.kernel.org/stable/c/f16769241594be59387b56ab525e327f54377e60>
- <https://git.kernel.org/stable/c/3a3c6d61577dbb23c09df3e21f6f9eda1ecd634b>

## Sources

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

---

Page: https://cve.day/CVE-2025-40216 · Whole record: https://cve.day/CVE-2025-40216.json · Rebuilt by cve.day 2026-11-25T22:59:08.256Z
