CVE-2026-72158
fpga: dfl: add bounds check in dfh_get_param_size()
Check your servers for CVE-2026-72158
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-72158 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, before b2f6220e929b2a43605331d0139e65dc1640c05c affected from 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, before 3b622aa447cf26104f96a8be39539367863bc6b6 affected from 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, before 012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68 affected from 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, before f3df5386e3bb54626c117bd85e0158d45fb4aea9 affected from 4747ab89b4a652f835494fcf8342aaa0efb9b0fd, before 9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a
Other versions: unaffected
|
| Linux |
affected 6.3 unaffected before 6.3 unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.97 up to and including 6.12.* unaffected from 6.18.40 up to and including 6.18.* unaffected from 7.1.5 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-72158 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-72158
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-72158
trivy image --scanners vuln IMAGE | grep CVE-2026-72158
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b2f6220e929b2a43605331d0139e65dc1640c05c git.kernel.org
- https://git.kernel.org/stable/c/3b622aa447cf26104f96a8be39539367863bc6b6 git.kernel.org
- https://git.kernel.org/stable/c/012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68 git.kernel.org
- https://git.kernel.org/stable/c/f3df5386e3bb54626c117bd85e0158d45fb4aea9 git.kernel.org
- https://git.kernel.org/stable/c/9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a git.kernel.org
Source: the record CVE-2026-72158 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse