CVE-2026-64280

fpga: dfl-afu: validate DMA mapping length in afu_dma_map_region()

HIGH
8.8
CVSS Score
Published: July 25, 2026 at 08:49 AM UTC
Updated: August 23, 2026 at 01:26 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.19 ≤ v < 5.10.2664.19 ≤ v < 5.15.2174.19 ≤ v < 6.1.1844.19 ≤ v < 6.12.1014.19 ≤ v < 6.18.394.19 ≤ v < 6.6.1484.19 ≤ v < 7.1.44.19 ≤ v < 7.26.13 ≤ v < 6.18.396.19 ≤ v < 7.1.46.7 ≤ v < 6.12.1014.19fa8dda1edef9ebc3af467c644c5533ac97171e12
Vendor states this is fixed in 16381bda90b261a656ded0568630c1b857b2ebc8 (fixed)
Vendor states this is fixed in 5352d488ce4ae5e8c68c080ad4c3a5f084ad5fbc (fixed)
Vendor states this is fixed in 59070040fd12e0b78d7b4d341d9f9a183237c5ff (fixed)
Vendor states this is fixed in a6a3884ff500f04f3088d6d09eec803cd35331a2 (fixed)
Vendor states this is fixed in b50e6cd2395cde615f59b624819998d28c0668d6 (fixed)
Vendor states this is fixed in d7e787eee2ea619b6dbb98890472ee73daf2e7fd (fixed)
Vendor states this is fixed in fb2c0eab51ae5b02d2bae7d67c2cfbec39b57231 (fixed)
Vendor states this is fixed in fc3b071a7c8dc0f5d56defddf6e6fd5aaa3e1e27 (fixed)
Vendor states this is fixed in 4.19 (unaffected)
Vendor states this is fixed in 5.10.266 (unaffected)
Vendor states this is fixed in 5.15.217 (unaffected)
Vendor states this is fixed in 6.1.184 (unaffected)
Vendor states this is fixed in 6.12.101 (unaffected)
Vendor states this is fixed in 6.18.39 (unaffected)
Vendor states this is fixed in 6.6.148 (unaffected)
Vendor states this is fixed in 7.1.4 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

CVSS

8.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card