CVE-2026-72158

published 15 Aug 2026 · updated 20 Nov 2026

fpga: dfl: add bounds check in dfh_get_param_size()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f3df5386e3bb54626c117bd85e0158d45fb4aea9, Kernel 012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68, Kernel 3b622aa447cf26104f96a8be39539367863bc6b6 and 6 more.

In 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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=4747ab89b4a652f835494fcf8342aaa0efb9b0fd <f3df5386e3bb54626c117bd85e0158d45fb4aea9, >=4747ab89b4a652f835494fcf8342aaa0efb9b0fd <012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68, >=4747ab89b4a652f835494fcf8342aaa0efb9b0fd <3b622aa447cf26104f96a8be39539367863bc6b6, >=4747ab89b4a652f835494fcf8342aaa0efb9b0fd <9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a, >=4747ab89b4a652f835494fcf8342aaa0efb9b0fd <b2f6220e929b2a43605331d0139e65dc1640c05c, =6.3f3df5386e3bb54626c117bd85e0158d45fb4aea9, 012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68, 3b622aa447cf26104f96a8be39539367863bc6b6, 9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a, b2f6220e929b2a43605331d0139e65dc1640c05c
linux-kernel: Kernel>=6.19.0 <7.1.5, >=6.3.0 <6.6.145, >=6.7.0 <6.12.97, >=6.13.0 <6.18.407.1.5, 6.6.145, 6.12.97, 6.18.40

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-72158 severity on Zeptric[![CVE-2026-72158](https://zeptric.io/badge/cve/CVE-2026-72158.svg)](https://zeptric.io/cve/CVE-2026-72158)