# CVE-2026-64280: fpga: dfl-afu: validate DMA mapping length in afu_dma_map_region()

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-07-25T08:49:23.753Z
- Modified: 2026-08-23T13:16:31.533Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from fa8dda1edef9ebc3af467c644c5533ac97171e12 before 5352d488ce4ae5e8c68c080ad4c3a5f084ad5fbc; from fa8dda1edef9ebc3af467c644c5533ac97171e12 before d7e787eee2ea619b6dbb98890472ee73daf2e7fd; from fa8dda1edef9ebc3af467c644c5533ac97171e12 before a6a3884ff500f04f3088d6d09eec803cd35331a2; from fa8dda1edef9ebc3af467c644c5533ac97171e12 before 16381bda90b261a656ded0568630c1b857b2ebc8; from fa8dda1edef9ebc3af467c644c5533ac97171e12 before b50e6cd2395cde615f59b624819998d28c0668d6; from fa8dda1edef9ebc3af467c644c5533ac97171e12 before 59070040fd12e0b78d7b4d341d9f9a183237c5ff; from fa8dda1edef9ebc3af467c644c5533ac97171e12 before fb2c0eab51ae5b02d2bae7d67c2cfbec39b57231; from fa8dda1edef9ebc3af467c644c5533ac97171e12 before fc3b071a7c8dc0f5d56defddf6e6fd5aaa3e1e27; 4.19 (not affected: before 4.19; from 5.10.266 up to 5.10.*; from 5.15.217 up to 5.15.*; from 6.1.184 up to 6.1.*; from 6.6.148 up to 6.6.*; from 6.12.101 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 4.19 before 6.6.148; from 6.7 before 6.12.101; from 6.13 before 6.18.39; from 6.19 before 7.1.4

## References

- <https://git.kernel.org/stable/c/5352d488ce4ae5e8c68c080ad4c3a5f084ad5fbc>
- <https://git.kernel.org/stable/c/d7e787eee2ea619b6dbb98890472ee73daf2e7fd>
- <https://git.kernel.org/stable/c/a6a3884ff500f04f3088d6d09eec803cd35331a2>
- <https://git.kernel.org/stable/c/16381bda90b261a656ded0568630c1b857b2ebc8> (patch)
- <https://git.kernel.org/stable/c/b50e6cd2395cde615f59b624819998d28c0668d6> (patch)
- <https://git.kernel.org/stable/c/59070040fd12e0b78d7b4d341d9f9a183237c5ff> (patch)
- <https://git.kernel.org/stable/c/fb2c0eab51ae5b02d2bae7d67c2cfbec39b57231> (patch)
- <https://git.kernel.org/stable/c/fc3b071a7c8dc0f5d56defddf6e6fd5aaa3e1e27> (patch)

## Sources

- CVE List: [CVE-2026-64280](https://www.cve.org/CVERecord?id=CVE-2026-64280), CVE Terms of Use, modified 2026-08-23
- NVD: [CVE-2026-64280](https://nvd.nist.gov/vuln/detail/CVE-2026-64280), Public domain, modified 2026-08-23

---

Page: https://cve.day/CVE-2026-64280 · Whole record: https://cve.day/CVE-2026-64280.json · Rebuilt by cve.day 2026-11-25T22:59:30.050Z
