CVE
CVE-2026-64280
CNA description
In the Linux kernel, the following vulnerability has been resolved: fpga: dfl-afu: validate DMA mapping length in afu_dma_map_region() afu_ioctl_dma_map() accepts a 64-bit length from userspace via DFL_FPGA_PORT_DMA_MAP ioctl without an upper bound check. The value is passed to afu_dma_pin_pages() where npages is derived as length >> PAGE_SHIFT and passed to pin_user_pages_fast() which takes int nr_pages, causing implicit truncation if length is very large. Validate map.length at the ioctl entry point before calling afu_dma_map_region(), rejecting values whose page count exceeds INT_MAX.
Affected versions
All Linux kernel vulnerabilities →
- ≥ 6.19, < 7.1.4Fixed in 7.1.4
- ≥ 6.13, < 6.18.39Fixed in 6.18.39
- ≥ 6.7, < 6.12.101Fixed in 6.12.101
- ≥ 4.19, < 6.6.148Fixed in 6.6.148
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/16381bda90b261a656ded0568630c1b857b2ebc8 · Patch
- git.kernel.org/stable/c/59070040fd12e0b78d7b4d341d9f9a183237c5ff · Patch
- git.kernel.org/stable/c/b50e6cd2395cde615f59b624819998d28c0668d6 · Patch
- git.kernel.org/stable/c/fb2c0eab51ae5b02d2bae7d67c2cfbec39b57231 · Patch
- git.kernel.org/stable/c/fc3b071a7c8dc0f5d56defddf6e6fd5aaa3e1e27 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.