CVE-2026-64280
fpga: dfl-afu: validate DMA mapping length in afu_dma_map_region()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.19
References 8
git.kernel.org
- stable/c/5352d488ce4ae5e8c68c080ad4c3a5f084ad5fbc
- stable/c/d7e787eee2ea619b6dbb98890472ee73daf2e7fd
- stable/c/a6a3884ff500f04f3088d6d09eec803cd35331a2
- stable/c/16381bda90b261a656ded0568630c1b857b2ebc8
- stable/c/b50e6cd2395cde615f59b624819998d28c0668d6
- stable/c/59070040fd12e0b78d7b4d341d9f9a183237c5ff
- stable/c/fb2c0eab51ae5b02d2bae7d67c2cfbec39b57231
- stable/c/fc3b071a7c8dc0f5d56defddf6e6fd5aaa3e1e27