CVE-2026-72158
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/08/2026
Last modified:
17/08/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
fpga: dfl: add bounds check in dfh_get_param_size()<br />
<br />
dfh_get_param_size() can return a parameter size larger than the feature<br />
region because the loop bounds check is evaluated before incrementing<br />
size. If the EOP (End of Parameters) bit is set in the same iteration,<br />
the inflated size is returned without re-validation against max.<br />
<br />
This can cause create_feature_instance() to call memcpy_fromio() with a<br />
size exceeding the ioremap&#39;d region when a malicious FPGA device provides<br />
crafted DFHv1 parameter headers.<br />
<br />
Add a bounds check after the size increment to ensure the accumulated<br />
size never exceeds the feature boundary.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68
- https://git.kernel.org/stable/c/3b622aa447cf26104f96a8be39539367863bc6b6
- https://git.kernel.org/stable/c/9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a
- https://git.kernel.org/stable/c/b2f6220e929b2a43605331d0139e65dc1640c05c
- https://git.kernel.org/stable/c/f3df5386e3bb54626c117bd85e0158d45fb4aea9


