CVE-2025-37788
Description
In the Linux kernel, the following vulnerability has been resolved: cxgb4: fix memory leak in cxgb4_init_ethtool_filters() error path In the for loop used to allocate the loc_array and bmap for each port, a memory leak is possible when the allocation for loc_array succeeds, but the allocation for bmap fails. This is because when the control flow goes to the label free_eth_finfo, only the allocations starting from (i-1)th iteration are freed. Fix that by freeing the loc_array in the bmap allocation error path.
How to fix
- linux linux_kernel5.10.237, 5.15.181, 6.1.135, 6.6.88, 6.12.25, 6.14.4 or later
- git.kernel.org/stable/c/00ffb3724ce743578163f5ade2884374554ca021
- git.kernel.org/stable/c/08aa59c0be768596467552c129e9f82166779a67
- git.kernel.org/stable/c/118d05b530343cd9322607b9719405ba254a4183
- git.kernel.org/stable/c/76deedea08899885f076aba0bb80bd1276446822
- git.kernel.org/stable/c/dafb6e433ab2333b67be05433dc9c6ccbc7b1284
- git.kernel.org/stable/c/e9de08e15aee35b96064960f95997bb6c1209c4b
- git.kernel.org/stable/c/fa2d7708955e4f8212fd69bab1da604e60cb0b15
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 5.9 ≤ v < 5.10.237, 5.11 ≤ v < 5.15.181, 5.16 ≤ v < 6.1.135, 6.2 ≤ v < 6.6.88, 6.7 ≤ v < 6.12.25, 6.13 ≤ v < 6.14.4, 6.15 | 5.10.237, 5.15.181, 6.1.135, 6.6.88, 6.12.25, 6.14.4 |
| debian debian_linux | 11.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.