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.
Published: 2026-07-25
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s fpga:dfl-afu driver accepts a 64‑bit DMA mapping length from user space without an upper bound check. The length value is used to calculate the number of pages, which is then truncated to a 32‑bit integer when passed to pin_user_pages_fast(). This implicit truncation can cause the driver to attempt to pin an excessive number of pages, potentially leading to memory corruption, a kernel panic or a denial of service condition. The issue is a classic integer truncation flaw that allows a user to force the driver into an invalid state.

Affected Systems

All Linux kernel builds that contain the dfl-afu driver are affected. The vulnerability is present in the driver code for the device, so any kernel running on a host that can load the driver and expose the DFL_FPGA_PORT_DMA_MAP ioctl is potentially impacted. Version details are not specified in the data, so users should verify if their kernel includes the vendor-patched dfl-afu code.

Risk and Exploitability

This flaw can be leveraged only by processes that invoke the specific ioctl, implying a local privilege requirement. The EPSS score is less than 1%, and the vulnerability is not listed in the CISA KEV catalog, indicating a low probability of widespread exploitation. The CVSS score of 8.8 indicates high severity, underscoring the seriousness of the issue. Nonetheless, because a large mapping length can trigger a kernel crash, the risk of a denial of service for an affected host is significant. The exploit path involves sending a malicious length value via DFL_FPGA_PORT_DMA_MAP, which, in the absence of bounds checking, leads the driver to allocate more pages than intended.

Generated by OpenCVE AI on August 13, 2026 at 18:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a release that includes the patch implementing bounds checking for the DFL_FPGA_PORT_DMA_MAP ioctl.
  • Remove or replace any custom kernel modules that include the vulnerable dfl-afu implementation.
  • Configure device permissions or use SELinux/AppArmor profiles to restrict untrusted processes from invoking the DFL_FPGA_PORT_DMA_MAP ioctl until the kernel upgrade is applied.

Generated by OpenCVE AI on August 13, 2026 at 18:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6415-1 linux security update
History

Thu, 13 Aug 2026 16:00:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo

Mon, 03 Aug 2026 10:15:00 +0000


Sat, 01 Aug 2026 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Wed, 29 Jul 2026 12:15:00 +0000


Mon, 27 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Sun, 26 Jul 2026 03:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
CWE-665

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
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.
Title fpga: dfl-afu: validate DMA mapping length in afu_dma_map_region()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:40:31.095Z

Reserved: 2026-07-19T15:36:31.777Z

Link: CVE-2026-64280

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-25T10:17:08.553

Modified: 2026-08-13T15:40:13.930

Link: CVE-2026-64280

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64280 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T18:00:04Z

Weaknesses