CVE-2026-72158
fpga: dfl: add bounds check in dfh_get_param_size()
Reported by linux · Published August 15, 2026
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.
EPSS 0.21% · 11.0th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | f3df5386e3bb54626c117bd85e0158d45fb4aea9, b2f6220e929b2a43605331d0139e65dc1640c05c, 9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a, 6.3, 3b622aa447cf26104f96a8be39539367863bc6b6, 012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, 4747ab89b4a652f835494fcf8342aaa0efb9b0fd |
| Linux | Linux | 6.3, 0, 6.6.145 |
| Linux | Linux | 7.2, 0, 6.6.145 |
| linux | linux_kernel | 6.3, 6.3, 6.3 |
Timeline
- Aug 15, 2026 Coalition ESS Score
- Aug 15, 2026 CVE Published
- Aug 17, 2026 CVE Updated
- Aug 19, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (13 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-72158
vulnetix vdb fixes CVE-2026-72158
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-72158/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart