CVE-2025-37788
MEDIUMLinux Kernel - Use-After-Free in cxgb4_init_ethtool_filters()
Title source: llmDescription
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)
Core 9
Core References
Mailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
Mailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Scores
CVSS v3
5.5
EPSS
0.0016
EPSS Percentile
5.5%
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 (25)
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
< 5.9
Linux/Linux
5.10.237 - 5.10.*
Linux/Linux
5.15.181 - 5.15.*
... and 15 more
Published
May 01, 2025
Tracked Since
Feb 18, 2026