-

CVE-2026-72158

fpga: dfl: add bounds check in dfh_get_param_size()

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 4747ab89b4a652f835494fcf8342aaa0efb9b0fd
Version < b2f6220e929b2a43605331d0139e65dc1640c05c
Status affected
Version 4747ab89b4a652f835494fcf8342aaa0efb9b0fd
Version < 3b622aa447cf26104f96a8be39539367863bc6b6
Status affected
Version 4747ab89b4a652f835494fcf8342aaa0efb9b0fd
Version < 012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68
Status affected
Version 4747ab89b4a652f835494fcf8342aaa0efb9b0fd
Version < f3df5386e3bb54626c117bd85e0158d45fb4aea9
Status affected
Version 4747ab89b4a652f835494fcf8342aaa0efb9b0fd
Version < 9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.3
Status affected
Version 0
Version < 6.3
Status unaffected
Version <= 6.6.*
Version 6.6.145
Status unaffected
Version <= 6.12.*
Version 6.12.97
Status unaffected
Version <= 6.18.*
Version 6.18.40
Status unaffected
Version <= 7.1.*
Version 7.1.5
Status unaffected
Version <= *
Version 7.2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.2% 0.102
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/b2f6220e929b2a43605331d0139e65dc1640c05c
https://git.kernel.org/stable/c/3b622aa447cf26104f96a8be39539367863bc6b6
https://git.kernel.org/stable/c/012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68
https://git.kernel.org/stable/c/f3df5386e3bb54626c117bd85e0158d45fb4aea9
https://git.kernel.org/stable/c/9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a