Skip to main content

CVE-2022-49757: Vulnerability in Linux Linux

Medium
VulnerabilityCVE-2022-49757cvecve-2022-49757
Published: Thu Mar 27 2025 (03/27/2025, 16:43:04 UTC)
Source: CVE
Vendor/Project: Linux
Product: Linux

Description

In the Linux kernel, the following vulnerability has been resolved: EDAC/highbank: Fix memory leak in highbank_mc_probe() When devres_open_group() fails, it returns -ENOMEM without freeing memory allocated by edac_mc_alloc(). Call edac_mc_free() on the error handling path to avoid a memory leak. [ bp: Massage commit message. ]

AI-Powered Analysis

AILast updated: 06/30/2025, 01:10:28 UTC

Technical Analysis

CVE-2022-49757 is a vulnerability identified in the Linux kernel's EDAC (Error Detection and Correction) subsystem, specifically within the highbank_mc_probe() function. The issue arises when the function devres_open_group() fails and returns an -ENOMEM error code, indicating a memory allocation failure. In this failure scenario, the memory previously allocated by edac_mc_alloc() is not freed, resulting in a memory leak. The vulnerability is due to the absence of a call to edac_mc_free() in the error handling path, which would otherwise release the allocated memory. This flaw can lead to gradual memory exhaustion on affected systems, potentially degrading system performance or causing instability over time. The vulnerability has been addressed by ensuring that edac_mc_free() is invoked appropriately when devres_open_group() fails, thus preventing the memory leak. The affected versions are identified by a specific commit hash, indicating that the vulnerability exists in certain Linux kernel builds prior to the fix. There are no known exploits in the wild targeting this vulnerability, and no CVSS score has been assigned yet. The vulnerability is primarily a resource management bug rather than a direct code execution or privilege escalation flaw.

Potential Impact

For European organizations relying on Linux-based systems, especially those using kernels with the affected EDAC highbank driver, this vulnerability could lead to memory leaks that degrade system reliability and availability. Over time, the leak could cause increased memory consumption, potentially leading to system slowdowns, crashes, or forced reboots, impacting critical infrastructure or services. Organizations operating servers, embedded systems, or network devices running vulnerable Linux kernels may experience reduced uptime or performance issues. While the vulnerability does not directly compromise confidentiality or integrity, the availability impact could disrupt business operations, particularly in sectors such as telecommunications, manufacturing, or data centers where Linux is prevalent. The absence of known exploits reduces immediate risk, but unpatched systems remain vulnerable to potential future exploitation or accidental system failures due to resource exhaustion.

Mitigation Recommendations

European organizations should promptly identify Linux systems running kernels containing the vulnerable EDAC highbank driver code. Applying the official Linux kernel patches that fix CVE-2022-49757 is the most effective mitigation. If immediate patching is not feasible, organizations should monitor system memory usage closely on affected hosts to detect abnormal memory growth indicative of leaks. Implementing automated alerts for memory exhaustion thresholds can help preempt system instability. Additionally, organizations should review and update their kernel versions during regular maintenance cycles to incorporate security fixes. For embedded or specialized devices, coordinate with vendors to obtain updated firmware or kernel versions. Avoid running untrusted or unnecessary kernel modules to reduce attack surface. Finally, maintain robust backup and recovery procedures to minimize downtime in case of system failures caused by this or related issues.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
Linux
Date Reserved
2025-03-27T16:39:17.989Z
Cisa Enriched
false
Cvss Version
null
State
PUBLISHED

Threat ID: 682d982cc4522896dcbe4a7a

Added to database: 5/21/2025, 9:09:00 AM

Last enriched: 6/30/2025, 1:10:28 AM

Last updated: 7/28/2025, 11:43:40 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