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

Summary

CVECVE-2026-64280
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-25 10:17:08 UTC
Updated2026-08-23 13:16:31 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 8.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

EPSS: 0.001630000 probability, percentile 0.059780000 (date 2026-08-04)

Problem Types: NVD-CWE-noinfo


VersionSourceTypeScoreSeverityVector
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary8.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
3.1CNADECLARED8.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected fa8dda1edef9ebc3af467c644c5533ac97171e12 5352d488ce4ae5e8c68c080ad4c3a5f084ad5fbc git Not specified
CNA Linux Linux affected fa8dda1edef9ebc3af467c644c5533ac97171e12 d7e787eee2ea619b6dbb98890472ee73daf2e7fd git Not specified
CNA Linux Linux affected fa8dda1edef9ebc3af467c644c5533ac97171e12 a6a3884ff500f04f3088d6d09eec803cd35331a2 git Not specified
CNA Linux Linux affected fa8dda1edef9ebc3af467c644c5533ac97171e12 16381bda90b261a656ded0568630c1b857b2ebc8 git Not specified
CNA Linux Linux affected fa8dda1edef9ebc3af467c644c5533ac97171e12 b50e6cd2395cde615f59b624819998d28c0668d6 git Not specified
CNA Linux Linux affected fa8dda1edef9ebc3af467c644c5533ac97171e12 59070040fd12e0b78d7b4d341d9f9a183237c5ff git Not specified
CNA Linux Linux affected fa8dda1edef9ebc3af467c644c5533ac97171e12 fb2c0eab51ae5b02d2bae7d67c2cfbec39b57231 git Not specified
CNA Linux Linux affected fa8dda1edef9ebc3af467c644c5533ac97171e12 fc3b071a7c8dc0f5d56defddf6e6fd5aaa3e1e27 git Not specified
CNA Linux Linux affected 4.19 Not specified
CNA Linux Linux unaffected 4.19 semver Not specified
CNA Linux Linux unaffected 5.10.266 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.217 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.184 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.148 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.101 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.39 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.4 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/5352d488ce4ae5e8c68c080ad4c3a5f084ad5fbc 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/16381bda90b261a656ded0568630c1b857b2ebc8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/a6a3884ff500f04f3088d6d09eec803cd35331a2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fb2c0eab51ae5b02d2bae7d67c2cfbec39b57231 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/d7e787eee2ea619b6dbb98890472ee73daf2e7fd 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fc3b071a7c8dc0f5d56defddf6e6fd5aaa3e1e27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/59070040fd12e0b78d7b4d341d9f9a183237c5ff 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/b50e6cd2395cde615f59b624819998d28c0668d6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report