Memory Leak Vulnerability in Linux Kernel - CVE-2022-49807
Summary
CVE-2022-49807: In the Linux kernel, the following vulnerability has been resolved: nvmet: fix a memory leak in nvmet_auth_set_key When changing dhchap secrets we need to release the old secrets as well. Affects linux versions < 6.0.10-1. Fixed in 6.0.10-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, providing essential services for hardware and software interaction. It is known for its stability, performance, and security features. However, vulnerabilities can arise, such as CVE-2022-49807, which specifically affects the nvmet subsystem responsible for NVMe over Fabrics. This vulnerability can lead to memory leaks when changing dhchap secrets, potentially impacting system performance and stability.
Vulnerability Detail
CVE-2022-49807 is a memory leak vulnerability in the Linux kernel's nvmet subsystem. The issue arises when old dhchap secrets are not properly released during updates, leading to unreferenced memory objects. This can result in increased memory usage over time, potentially causing system slowdowns or crashes. The vulnerability was identified through kmemleak complaints, indicating that memory allocated for old secrets remains unfreed, which can be exploited if not addressed.
How To Fix
Minimum fixed version
6.0.10-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 as soon as it is available.
Conclusion
CVE-2022-49807 is a significant memory leak vulnerability in the Linux kernel that requires immediate attention. Users are advised to update their systems to the latest patched version to prevent potential performance issues. Utilizing tools like Vulert can help in monitoring vulnerabilities effectively.
See every vulnerability recorded for linux →
FAQ
CVE-2022-49807 is a memory leak vulnerability in the Linux kernel's nvmet subsystem that can lead to increased memory usage and potential system instability.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If exploited, this vulnerability can lead to memory leaks, causing system slowdowns or crashes due to excessive memory consumption.
Yes, a patch is available in version 6.0.10-1 of the Linux package. It is recommended to update to this version or later.
While there are no specific workarounds, it is crucial to monitor your system's memory usage and plan for an update as soon as possible to mitigate risks.
Related vulnerabilities
Recent vulnerabilities recorded for linux.