Skip to main content

CVE-2024-35972: Vulnerability in Linux Linux

Medium
VulnerabilityCVE-2024-35972cvecve-2024-35972
Published: Mon May 20 2024 (05/20/2024, 09:41:59 UTC)
Source: CVE
Vendor/Project: Linux
Product: Linux

Description

In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Fix possible memory leak in bnxt_rdma_aux_device_init() If ulp = kzalloc() fails, the allocated edev will leak because it is not properly assigned and the cleanup path will not be able to free it. Fix it by assigning it properly immediately after allocation.

AI-Powered Analysis

AILast updated: 06/29/2025, 08:41:47 UTC

Technical Analysis

CVE-2024-35972 is a vulnerability identified in the Linux kernel specifically within the bnxt_en driver component, which is related to Broadcom NetXtreme network devices. The issue arises in the function bnxt_rdma_aux_device_init(), where a memory leak can occur if the call to kzalloc() for the ulp (upper layer protocol) allocation fails. In this failure scenario, the previously allocated edev (auxiliary device structure) is not properly assigned, which prevents the cleanup path from freeing this memory, leading to a leak. This vulnerability is a resource management flaw rather than a direct code execution or privilege escalation vulnerability. The root cause is improper handling of allocation failure, which can cause the kernel to consume increasing amounts of memory over time if the failure condition is repeatedly triggered. The fix involves correctly assigning the allocated edev immediately after allocation so that the cleanup routines can properly release it in case of subsequent failures. There are no known exploits in the wild at this time, and no CVSS score has been assigned yet. The vulnerability affects Linux kernel versions that include the vulnerable bnxt_en driver code prior to the patch. Since this is a kernel-level issue, it affects all Linux distributions using the affected kernel versions and the Broadcom NetXtreme hardware or virtualized environments emulating this driver. The vulnerability does not require user interaction or authentication to manifest but depends on specific conditions causing kzalloc() to fail, which may be rare under normal operation.

Potential Impact

For European organizations, the impact of CVE-2024-35972 is primarily related to system stability and resource availability rather than direct compromise of confidentiality or integrity. A memory leak in the kernel can lead to gradual exhaustion of system memory, potentially causing degraded performance, system instability, or crashes (denial of service). Organizations relying on Linux servers with Broadcom NetXtreme network adapters, especially in data centers, cloud infrastructure, or critical network appliances, could experience service interruptions if the vulnerability is triggered. This could affect availability of services, impacting business continuity. However, since exploitation requires specific failure conditions and no remote code execution or privilege escalation is involved, the risk of direct compromise is low. Still, in high-availability environments or critical infrastructure sectors such as finance, telecommunications, or government services within Europe, even a denial of service can have significant operational and reputational consequences. The vulnerability also poses a risk in virtualized or containerized environments where the affected driver is used, potentially impacting cloud service providers and their customers in Europe.

Mitigation Recommendations

To mitigate CVE-2024-35972, European organizations should: 1) Apply the official Linux kernel patches that address this memory leak as soon as they become available from trusted sources or distribution vendors. 2) Monitor kernel updates from their Linux distribution maintainers and prioritize updates for systems using Broadcom NetXtreme network adapters. 3) Implement proactive system monitoring to detect unusual memory consumption patterns or kernel warnings related to bnxt_en driver failures. 4) In environments where immediate patching is not feasible, consider temporarily disabling or replacing the affected network driver if possible, or isolating affected systems to reduce impact. 5) Conduct thorough testing of kernel updates in staging environments to ensure stability before production deployment. 6) Maintain robust backup and recovery procedures to minimize downtime in case of system crashes. 7) Engage with hardware vendors to confirm compatibility and support for patched drivers. These steps go beyond generic advice by focusing on driver-specific patching, monitoring for memory leaks, and operational readiness to handle potential service degradation.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
Linux
Date Reserved
2024-05-17T13:50:33.142Z
Cisa Enriched
true
Cvss Version
null
State
PUBLISHED

Threat ID: 682d9828c4522896dcbe2328

Added to database: 5/21/2025, 9:08:56 AM

Last enriched: 6/29/2025, 8:41:47 AM

Last updated: 8/1/2025, 5:51:21 AM

Views: 15

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats