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.
References (9)
Scores
CVSS v3
5.5
EPSS
0.0007
EPSS Percentile
20.3%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-401
Status
published
Products (9)
debian/debian_linux
11.0
linux/Kernel
5.11.0 - 5.15.181linux
linux/Kernel
5.16.0 - 6.1.135linux
linux/Kernel
5.9.0 - 5.10.237linux
linux/Kernel
6.13.0 - 6.14.4linux
linux/Kernel
6.2.0 - 6.6.88linux
linux/Kernel
6.7.0 - 6.12.25linux
linux/linux_kernel
6.15 rc1 (2 CPE variants)
linux/linux_kernel
5.9 - 5.10.237
Published
May 01, 2025
Tracked Since
Feb 18, 2026