Memory Leak Vulnerability in Linux Kernel - CVE-2022-49653
Summary
CVE-2022-49653: In the Linux kernel, the following vulnerability has been resolved: i2c: piix4: Fix a memory leak in the EFCH MMIO support The recently added support for EFCH MMIO regions introduced a memory leak in that code path. Affects linux versions < 5.18.14-1. Fixed in 5.18.14-1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of many operating systems, responsible for managing hardware resources and providing essential services to software applications. It supports a wide range of functionalities, including process management, memory management, and device control. The kernel is critical for system stability and performance, making its security paramount. This specific vulnerability arises from the recent addition of EFCH MMIO region support, which inadvertently introduced a memory leak.
Vulnerability Detail
CVE-2022-49653 is a memory leak vulnerability found in the Linux kernel's i2c subsystem, specifically in the piix4 driver. The issue originates from the improper handling of memory resources when releasing them. The function release_resource() is used to remove resources from the management tree but does not free the associated memory, leading to a memory leak. If exploited, this vulnerability could result in increased memory consumption, potentially leading to system instability or crashes over time. The lack of symmetry between legacy and MMIO paths further complicates the resource management.
How To Fix
Minimum fixed version
5.18.14-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch by updating the kernel to the fixed version.
Conclusion
CVE-2022-49653 is a critical memory leak vulnerability in the Linux kernel that requires immediate attention. Users are advised to update their systems to the patched version to prevent potential system instability. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security.
See every vulnerability recorded for linux →
FAQ
CVE-2022-49653 is a memory leak vulnerability in the Linux kernel's i2c subsystem, specifically affecting the piix4 driver.
The vulnerability can lead to increased memory consumption, which may cause system instability or crashes over time.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Update your Linux kernel package to version 5.18.14-1 or later using your package manager.
There are no specific workarounds available; the recommended action is to apply the patch by updating the kernel.
Related vulnerabilities
Recent vulnerabilities recorded for linux.