CVE-2025-37788

MEDIUM

Linux kernel - Memory Corruption

Title source: llm

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.

Scores

CVSS v3 5.5
EPSS 0.0007
EPSS Percentile 20.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE
CWE-401
Status published

Affected Products (10)

linux/linux_kernel < 5.10.237
linux/linux_kernel
linux/linux_kernel
debian/debian_linux
linux/Kernel < 5.10.237linux
linux/Kernel < 5.15.181linux
linux/Kernel < 6.1.135linux
linux/Kernel < 6.6.88linux
linux/Kernel < 6.12.25linux
linux/Kernel < 6.14.4linux

Timeline

Published May 01, 2025
Tracked Since Feb 18, 2026