CVE-2025-37788

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37788
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37788.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37788
Downstream
Related
Published
2025-05-01T14:15:43Z
Modified
2025-08-09T20:01:26Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

cxgb4: fix memory leak in cxgb4initethtool_filters() error path

In the for loop used to allocate the locarray and bmap for each port, a memory leak is possible when the allocation for locarray succeeds, but the allocation for bmap fails. This is because when the control flow goes to the label freeethfinfo, only the allocations starting from (i-1)th iteration are freed.

Fix that by freeing the loc_array in the bmap allocation error path.

References

Affected packages