CVE-2025-40216
io_uring/rsrc: don't rely on user vaddr alignment
Reported by linux · Published December 4, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf6.12 | Amazon Linux | 1:6.12.37-61.105.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.37-61.105.amzn2023 |
| kernel6.12-libbpf | Amazon Linux | 1:6.12.37-61.105.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.37-61.105.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.37-61.105.amzn2023 |
| linux_kernel | linux | 6.16, 6.15.5, 6.12.36 |
| Linux | Linux | f16769241594be59387b56ab525e327f54377e60, 50998b0ae7d9d552e96d8b7239981cf05f65eff5, 3a3c6d61577dbb23c09df3e21f6f9eda1ecd634b |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a8edbb424b1391b077407c75d8f5d2ede77aa70d, a8edbb424b1391b077407c75d8f5d2ede77aa70d, a8edbb424b1391b077407c75d8f5d2ede77aa70d |
| Linux | Linux | 6.12, 0, 6.12.36 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12 | 0 |
| linux | linux_kernel | 6.12, 6.12, 6.12 |
| Linux | Linux | 6.12.36, *, * |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.37-61.105 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
Timeline
- Aug 8, 2025 CVE Published
- Dec 5, 2025 EPSS Score (30 in total, the first dated here)
- Apr 2, 2026 Security Advisory (131 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
- Oct 10, 2026 Distribution Patch (124 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40216
vulnetix vdb fixes CVE-2025-40216
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40216/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart