CVE-2025-40216

Source
https://cve.org/CVERecord?id=CVE-2025-40216
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40216.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-40216
Downstream
Published
2025-12-04T14:14:14.690Z
Modified
2026-04-02T12:48:19.665713Z
Summary
io_uring/rsrc: don't rely on user vaddr alignment
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40216.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a8edbb424b1391b077407c75d8f5d2ede77aa70d
Fixed
50998b0ae7d9d552e96d8b7239981cf05f65eff5
Fixed
f16769241594be59387b56ab525e327f54377e60
Fixed
3a3c6d61577dbb23c09df3e21f6f9eda1ecd634b

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40216.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.12.36
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.15.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40216.json"