CVE-2026-64280
High · 8.8CVSS
8.8
EPSS
0.2%
Published
Jul 25, 2026
CISA due date
—
Cloudanix analysis
A local user with access to certain Linux FPGA devices may be able to crash the system or gain higher privileges unless the kernel is updated.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- OS kernel
- Class
- Improper Input Validation
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
This is a local Linux kernel input-validation flaw in the FPGA DFL AFU driver. The DFL_FPGA_PORT_DMA_MAP ioctl accepts a user-controlled 64-bit DMA mapping length without first enforcing an upper bound. That length is converted into a page count and eventually passed to pin_user_pages_fast(), whose page-count parameter is an int. Extremely large lengths can therefore be truncated, creating a mismatch between the requested DMA mapping size and the number of pages actually pinned. On systems exposing the affected FPGA DFL AFU device interface to local users, this can lead to kernel memory corruption, unintended DMA behavior, denial of service, information disclosure, or privilege escalation.
Why it matters to the business
The practical risk is highest on Linux systems that use FPGA DFL AFU functionality and allow non-root or application users to access the FPGA port device. A local attacker with access to the device may be able to crash the host or potentially gain elevated privileges, which could affect sensitive workloads running on shared compute, accelerator, research, telecom, edge, or high-performance computing platforms. The EPSS score is currently low and there is no known CISA KEV listing or public exploit maturity reported, but the CVSS severity is high because successful exploitation could compromise confidentiality, integrity, and availability of the host.
How an attack unfolds
An attacker first needs local code execution on a Linux system where the FPGA DFL AFU driver is present and an FPGA port character device is accessible. The attacker opens the DFL AFU device, prepares a DFL_FPGA_PORT_DMA_MAP ioctl request, and supplies a deliberately oversized 64-bit length value. Because the vulnerable kernel path does not reject lengths whose page count exceeds INT_MAX, the page count can be truncated when passed into pin_user_pages_fast(). The kernel may then pin fewer pages than the DMA mapping logic expects, producing inconsistent internal state around pinned user pages and DMA mappings. Depending on system configuration, hardware behavior, and adjacent kernel state, the attacker may use this inconsistency to trigger a kernel crash or attempt more advanced memory corruption leading to privilege escalation or data exposure.
How to fix it
Upgrade to a Linux kernel build that includes the upstream fix validating map.length before afu_dma_map_region() and rejecting DMA map requests whose page count exceeds INT_MAX. Because fixed package versions were not provided, use the relevant Linux distribution, appliance, or kernel vendor advisory for exact kernel package names and versions. If immediate patching is not possible, reduce exposure by restricting permissions on FPGA DFL AFU device nodes to only trusted administrative users, removing untrusted users from FPGA-access groups, preventing access from containers or shared workloads, disabling or unloading the dfl-afu driver if FPGA AFU functionality is not required, and blacklisting the driver on systems that do not need it. Treat these mitigations as temporary because they do not correct the vulnerable kernel code path.
How to confirm the fix worked
Confirm the running kernel is a vendor-supported build containing the fix for the dfl-afu afu_ioctl_dma_map()/afu_dma_map_region() length validation issue. Validate with your package manager and kernel changelog, then reboot into the fixed kernel and verify uname -r matches the patched package. Confirm the vulnerable driver is not loaded where unnecessary by checking loaded modules and kernel configuration for FPGA DFL AFU support. Where the driver is required, verify that FPGA DFL AFU device nodes are accessible only to trusted users or groups. For source-based kernels, confirm the ioctl path rejects DMA map lengths whose page count exceeds INT_MAX before pin_user_pages_fast() can be reached.
Typical attack path
- Gain local authenticated access or code execution on a Linux host using the FPGA DFL AFU driver.
- Confirm that an FPGA DFL AFU port device is present and accessible, commonly via DFL FPGA device nodes.
- Open the affected FPGA port character device from user space.
- Issue a DFL_FPGA_PORT_DMA_MAP ioctl with an extremely large 64-bit length value.
- Trigger integer truncation in the page-count path when the kernel pins user pages for DMA.
- Abuse the resulting mismatch between requested DMA length and pinned pages to cause instability, denial of service, or potentially escalate privileges.
How to detect it
There are no public, reliable exploitation-specific indicators for this issue. Detection should focus on exposure review and post-exploitation or crash artifacts. Collect kernel logs from journald, syslog, dmesg, auditd, and EDR telemetry for events involving the dfl-afu driver, FPGA DFL device nodes, ioctl activity against FPGA port devices, kernel Oops/panic messages, DMA mapping errors, IOMMU faults, page-pinning warnings, or unexpected reboots. If auditd is available, add temporary rules to monitor open/ioctl access to FPGA DFL port device nodes and correlate activity with local user sessions, container launches, batch jobs, or untrusted processes. For forensic review, examine whether non-administrative users or containerized workloads accessed FPGA DFL devices shortly before kernel instability, privilege anomalies, or unexplained crashes. Also review account activity after any suspected kernel crash because successful local kernel exploitation may leave few direct artifacts.
What your security team should do
- Prioritize patching Linux systems that expose FPGA DFL AFU devices to local users, shared workloads, containers, or multi-tenant compute environments.
- Inventory hosts with FPGA DFL AFU support enabled and identify any /dev/dfl-port* or equivalent FPGA DFL device nodes accessible by non-administrative users.
- Restrict device-node permissions immediately while patching is scheduled, especially on shared compute and accelerator hosts.
- Disable, unload, or blacklist the dfl-afu driver on systems that do not require FPGA AFU functionality.
- Review container, job scheduler, and workload policies to ensure FPGA DFL device nodes are not passed through to untrusted workloads.
- Monitor kernel logs for crashes, WARN/Oops events, DMA faults, or unusual activity involving the dfl-afu driver or FPGA DFL devices.
- Because this is not currently in CISA KEV and EPSS is low, treat it as high severity but exposure-dependent rather than broadly internet-exploitable.
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|