# CVE-2026-72158: fpga: dfl: add bounds check in dfh\_get\_param\_size()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-08-15T05:53:27.454Z
- **Modified:** 2026-08-17T06:18:16.040Z

## Who should check

- Anyone running Linux \>= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, \< b2f6220e929b2a43605331d0139e65dc1640c05c; \>= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, \< 3b622aa447cf26104f96a8be39539367863bc6b6; \>= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, \< 012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68; \>= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, \< f3df5386e3bb54626c117bd85e0158d45fb4aea9; \>= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, \< 9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a
- Anyone running Linux 6.3

## 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 and fixed versions

- Linux: \>= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, \< b2f6220e929b2a43605331d0139e65dc1640c05c; \>= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, \< 3b622aa447cf26104f96a8be39539367863bc6b6; \>= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, \< 012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68; \>= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, \< f3df5386e3bb54626c117bd85e0158d45fb4aea9; \>= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, \< 9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- Upgrade Linux to 9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72158. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72158.md
Affected: Linux >= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, < b2f6220e929b2a43605331d0139e65dc1640c05c; >= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, < 3b622aa447cf26104f96a8be39539367863bc6b6; >= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, < 012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68; >= 4747ab89b4a652f835494fc…
Fixed in: Linux 3b622aa447cf26104f96a8be39539367863bc6b6, Linux 012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68, Linux 9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72158 being exploited?

There is no confirmed exploitation: CVE-2026-72158 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-72158?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-72158?

Linux \>= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, \< b2f6220e929b2a43605331d0139e65dc1640c05c; \>= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, \< 3b622aa447cf26104f96a8be39539367863bc6b6; \>= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, \< 012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68; \>= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, \< f3df5386e3bb54626c117bd85e0158d45fb4aea9; \>= 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, \< 9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a; Linux 6.3.

### Is there a fix for CVE-2026-72158?

Yes. Fixed in Linux 3b622aa447cf26104f96a8be39539367863bc6b6, Linux 012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68, Linux 9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a. Upgrade Linux to 9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a or later.

### How do I check if I'm affected by CVE-2026-72158?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/b2f6220e929b2a43605331d0139e65dc1640c05c>
- other: <https://git.kernel.org/stable/c/3b622aa447cf26104f96a8be39539367863bc6b6>
- other: <https://git.kernel.org/stable/c/012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68>
- other: <https://git.kernel.org/stable/c/f3df5386e3bb54626c117bd85e0158d45fb4aea9>
- other: <https://git.kernel.org/stable/c/9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72158>

HTML: <https://flawdb.com/CVE-2026-72158> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72158>
