fpga: dfl: add bounds check in dfh_get_param_size()

Summary

CVECVE-2026-72158
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-15 06:21:33 UTC
Updated2026-08-17 06:18:16 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: fpga: dfl: add bounds check in dfh_get_param_size() dfh_get_param_size() can return a parameter size larger than the feature region because the loop bounds check is evaluated before incrementing size. If the EOP (End of Parameters) bit is set in the same iteration, the inflated size is returned without re-validation against max. This can cause create_feature_instance() to call memcpy_fromio() with a size exceeding the ioremap'd region when a malicious FPGA device provides crafted DFHv1 parameter headers. Add a bounds check after the size increment to ensure the accumulated size never exceeds the feature boundary.

Risk And Classification

EPSS: 0.002000000 probability, percentile 0.101660000 (date 2026-08-17)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 4747ab89b4a652f835494fcf8342aaa0efb9b0fd b2f6220e929b2a43605331d0139e65dc1640c05c git Not specified
CNA Linux Linux affected 4747ab89b4a652f835494fcf8342aaa0efb9b0fd 3b622aa447cf26104f96a8be39539367863bc6b6 git Not specified
CNA Linux Linux affected 4747ab89b4a652f835494fcf8342aaa0efb9b0fd 012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68 git Not specified
CNA Linux Linux affected 4747ab89b4a652f835494fcf8342aaa0efb9b0fd f3df5386e3bb54626c117bd85e0158d45fb4aea9 git Not specified
CNA Linux Linux affected 4747ab89b4a652f835494fcf8342aaa0efb9b0fd 9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a git Not specified
CNA Linux Linux affected 6.3 Not specified
CNA Linux Linux unaffected 6.3 semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.40 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/b2f6220e929b2a43605331d0139e65dc1640c05c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f3df5386e3bb54626c117bd85e0158d45fb4aea9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3b622aa447cf26104f96a8be39539367863bc6b6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
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