VDB

CVE-2025-40216

CVE-2025-40216 PUBLISHED CVSS 7.8 HIGH

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.

PackageEcosystemFixed in
perf6.12Amazon Linux1:6.12.37-61.105.amzn2023
bpftool6.12Amazon Linux1:6.12.37-61.105.amzn2023
kernel6.12-libbpfAmazon Linux1:6.12.37-61.105.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.37-61.105.amzn2023
kernel6.12Amazon Linux1:6.12.37-61.105.amzn2023
linux_kernellinux6.16, 6.15.5, 6.12.36
LinuxLinuxf16769241594be59387b56ab525e327f54377e60, 50998b0ae7d9d552e96d8b7239981cf05f65eff5, 3a3c6d61577dbb23c09df3e21f6f9eda1ecd634b

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxa8edbb424b1391b077407c75d8f5d2ede77aa70d, a8edbb424b1391b077407c75d8f5d2ede77aa70d, a8edbb424b1391b077407c75d8f5d2ede77aa70d
LinuxLinux6.12, 0, 6.12.36
amazon:2023perf6.120
amazon:2023bpftool6.120
amazon:2023kernel6.12-libbpf0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.120
linuxlinux_kernel6.12, 6.12, 6.12
LinuxLinux6.12.36, *, *
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-livepatch-6.12.37-61.1050
amazon:2023python3-perf6.120
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel6.12-tools0

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›