Critical Highmem Vulnerability in Linux Kernel - CVE-2022-49081
Summary
CVE-2022-49081: In the Linux kernel, the following vulnerability has been resolved: highmem: fix checks in kmap_local_sched_{in,out} When CONFIG_DEBUG_KMAP_LOCAL is enabled kmap_local_sched_{in,out} check that even slots in the tsk->kma... Affects linux versions < 5.17.3-1. Fixed in 5.17.3-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 is known for its stability, performance, and security features. However, vulnerabilities can arise, such as CVE-2022-49081, which affects the high memory management functionality, potentially leading to system instability and security risks.
Vulnerability Detail
CVE-2022-49081 is a vulnerability in the Linux kernel that occurs when CONFIG_DEBUG_KMAP_LOCAL is enabled. The issue arises in the _kmap_local_sched{in,out} functions, where checks fail to verify that memory slots are unmapped correctly. This can lead to runtime warnings and potential system crashes, particularly on architectures like Xtensa, where the check for pte_none does not behave as expected. The vulnerability can result in undefined behavior and may compromise system integrity.
How To Fix
Minimum fixed version
5.17.3-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. It is recommended to apply the patch as soon as it is available.
Conclusion
CVE-2022-49081 is a significant vulnerability in the Linux kernel that affects high memory management. It is essential to update to the patched version to ensure system stability and security. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the integrity of your software.
See every vulnerability recorded for linux →
FAQ
CVE-2022-49081 is a vulnerability in the Linux kernel related to high memory management that can lead to runtime warnings and potential system instability.
If your system is running a vulnerable version of the Linux kernel, it may experience crashes or undefined behavior, especially under certain configurations.
You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner without needing to sign up.
While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risks associated with this vulnerability.
Detailed information about CVE-2022-49081 can be found in the official CVE database and security advisories related to the Linux kernel.
Related vulnerabilities
Recent vulnerabilities recorded for linux.