CVE-2026-72158

fpga: dfl: add bounds check in dfh_get_param_size()

N/A
Published: August 15, 2026 at 05:53 AM UTC
Updated: August 17, 2026 at 06:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.3 ≤ v < 6.12.976.3 ≤ v < 6.18.406.3 ≤ v < 6.6.1456.3 ≤ v < 7.1.56.3 ≤ v < 7.24747ab89b4a652f835494fcf8342aaa0efb9b0fd6.3
Vendor states this is fixed in 012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68 (fixed)
Vendor states this is fixed in 3b622aa447cf26104f96a8be39539367863bc6b6 (fixed)
Vendor states this is fixed in 9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a (fixed)
Vendor states this is fixed in b2f6220e929b2a43605331d0139e65dc1640c05c (fixed)
Vendor states this is fixed in f3df5386e3bb54626c117bd85e0158d45fb4aea9 (fixed)
Vendor states this is fixed in 6.12.97 (unaffected)
Vendor states this is fixed in 6.18.40 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.5 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card