Use-After-Free Vulnerability in Linux Kernel (Debian 12 & 13)
Summary
CVE-2022-49426: In the Linux kernel, the following vulnerability has been resolved: iommu/arm-smmu-v3-sva: Fix mm use-after-free We currently call arm64_mm_context_put() without holding a reference to the mm, which can result in use-aft... Affects linux versions < 5.18.5-1. Fixed in 5.18.5-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 the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It is widely used across various distributions, including Debian. The kernel's stability and security are paramount, as vulnerabilities can lead to system crashes, data loss, or unauthorized access. The specific vulnerability identified as CVE-2022-49426 affects the arm-smmu-v3-sva component, which is responsible for managing memory access in ARM architectures.
Vulnerability Detail
CVE-2022-49426 is a use-after-free vulnerability in the Linux kernel's IOMMU subsystem. This issue arises when the function arm64_mm_context_put() is called without holding a reference to the memory management structure (mm). As a result, the mm can be freed while still in use, leading to potential exploitation by an attacker. The ramifications of this vulnerability include system instability, crashes, and the possibility of arbitrary code execution if exploited. The vulnerability was introduced in earlier versions of the kernel and has been fixed in version 5.18.5-1.
How To Fix
Minimum fixed version
5.18.5-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 to the fixed version of the Linux kernel.
Conclusion
CVE-2022-49426 is a critical vulnerability in the Linux kernel that requires immediate attention. Users are advised to update their systems to the patched version to mitigate potential risks. Regular monitoring and updates are essential for maintaining system security.
See every vulnerability recorded for linux →
FAQ
CVE-2022-49426 is a use-after-free vulnerability in the Linux kernel's IOMMU subsystem that can lead to system instability and potential exploitation.
You can use Vulert, which monitors open-source vulnerabilities in your software. By using the manifest file like package-lock.json, Vulert can alert you in real-time. You can also check your application against this vulnerability using the Vulert playground.
The consequences include system crashes, data loss, and potential unauthorized access or arbitrary code execution if exploited.
You can update your Linux kernel by running the commands: 'sudo apt-get update' followed by 'sudo apt-get install linux=5.18.5-1' in your terminal.
Currently, there are no specific workarounds available. The recommended action is to update to the patched version.
Related vulnerabilities
Recent vulnerabilities recorded for linux.