CVE-2026-72158
fpga: dfl: add bounds check in dfh_get_param_size()
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.
INFO
Published Date :
Aug. 15, 2026, 6:21 a.m.
Last Modified :
Aug. 17, 2026, 6:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to include the fix.
- Verify the bounds check is applied after size increment.
- Ensure parameter sizes do not exceed feature boundaries.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72158.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-72158 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-72158
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-72158 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72158 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4747ab89b4a652f835494fcf8342aaa0efb9b0fd', 'lessThan': 'b2f6220e929b2a43605331d0139e65dc1640c05c', 'versionType': 'git'}, {'status': 'affected', 'version': '4747ab89b4a652f835494fcf8342aaa0efb9b0fd', 'lessThan': '3b622aa447cf26104f96a8be39539367863bc6b6', 'versionType': 'git'}, {'status': 'affected', 'version': '4747ab89b4a652f835494fcf8342aaa0efb9b0fd', 'lessThan': '012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68', 'versionType': 'git'}, {'status': 'affected', 'version': '4747ab89b4a652f835494fcf8342aaa0efb9b0fd', 'lessThan': 'f3df5386e3bb54626c117bd85e0158d45fb4aea9', 'versionType': 'git'}, {'status': 'affected', 'version': '4747ab89b4a652f835494fcf8342aaa0efb9b0fd', 'lessThan': '9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a', 'versionType': 'git'}], 'programFiles': ['drivers/fpga/dfl.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.3'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.3', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/fpga/dfl.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4747ab89b4a652f835494fcf8342aaa0efb9b0fd', 'lessThan': 'b2f6220e929b2a43605331d0139e65dc1640c05c', 'versionType': 'git'}, {'status': 'affected', 'version': '4747ab89b4a652f835494fcf8342aaa0efb9b0fd', 'lessThan': '3b622aa447cf26104f96a8be39539367863bc6b6', 'versionType': 'git'}, {'status': 'affected', 'version': '4747ab89b4a652f835494fcf8342aaa0efb9b0fd', 'lessThan': '012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68', 'versionType': 'git'}, {'status': 'affected', 'version': '4747ab89b4a652f835494fcf8342aaa0efb9b0fd', 'lessThan': 'f3df5386e3bb54626c117bd85e0158d45fb4aea9', 'versionType': 'git'}, {'status': 'affected', 'version': '4747ab89b4a652f835494fcf8342aaa0efb9b0fd', 'lessThan': '9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a', 'versionType': 'git'}], 'programFiles': ['drivers/fpga/dfl.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.3'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.3', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/fpga/dfl.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4747ab89b4a652f835494fcf8342aaa0efb9b0fd', 'lessThan': 'b2f6220e929b2a43605331d0139e65dc1640c05c', 'versionType': 'git'}, {'status': 'affected', 'version': '4747ab89b4a652f835494fcf8342aaa0efb9b0fd', 'lessThan': '3b622aa447cf26104f96a8be39539367863bc6b6', 'versionType': 'git'}, {'status': 'affected', 'version': '4747ab89b4a652f835494fcf8342aaa0efb9b0fd', 'lessThan': '012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68', 'versionType': 'git'}, {'status': 'affected', 'version': '4747ab89b4a652f835494fcf8342aaa0efb9b0fd', 'lessThan': 'f3df5386e3bb54626c117bd85e0158d45fb4aea9', 'versionType': 'git'}, {'status': 'affected', 'version': '4747ab89b4a652f835494fcf8342aaa0efb9b0fd', 'lessThan': '9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a', 'versionType': 'git'}], 'programFiles': ['drivers/fpga/dfl.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.3'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.3', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/fpga/dfl.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68 Added Reference https://git.kernel.org/stable/c/3b622aa447cf26104f96a8be39539367863bc6b6 Added Reference https://git.kernel.org/stable/c/9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a Added Reference https://git.kernel.org/stable/c/b2f6220e929b2a43605331d0139e65dc1640c05c Added Reference https://git.kernel.org/stable/c/f3df5386e3bb54626c117bd85e0158d45fb4aea9