CVEvulnerability

CVE-2026-64280

8.8 HIGH Published 2026-07-25 Modified 2026-08-23 Official page ↗
Status
Modified
Published
2026-07-25
Last modified
2026-08-23
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
8.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

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 configurations

• linux linux kernel (>= 4.19 < 6.6.148) • linux linux kernel (>= 6.7 < 6.12.101) • linux linux kernel (>= 6.13 < 6.18.39) • linux linux kernel (>= 6.19 < 7.1.4)

References