Kernel Panic Vulnerability in Linux Package: CVE-2022-50230
Summary
CVE-2022-50230: In the Linux kernel, the following vulnerability has been resolved: arm64: set UXN on swapper page tables [ This issue was fixed upstream by accident in c3cee924bd85 ("arm64: head: cover entire kernel image in initial ID... Affects linux versions < 5.19.6-1. Fixed in 5.19.6-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 hardware resources and providing essential services for software applications. It is widely used across various platforms, including servers, desktops, and embedded systems. The kernel's stability and security are paramount, as vulnerabilities can lead to system crashes, data loss, or unauthorized access. This specific vulnerability affects the arm64 architecture, where improper handling of page table entries can lead to kernel panics.
Vulnerability Detail
CVE-2022-50230 is a vulnerability in the Linux kernel that arises from the failure to set User eXecute Never (UXN) on swapper page table entries (PTEs) in systems implementing FEAT_EPAN. This oversight can lead to unauthorized read/write access to the idmap, causing the kernel to panic when accessing __idmap_kpti_flag. The issue was inadvertently fixed in a previous commit but requires a dedicated patch for stable backporting to ensure system integrity and prevent crashes.
How To Fix
Minimum fixed version
5.19.6-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-50230 is a critical vulnerability in the Linux kernel that can lead to kernel panics due to improper UXN settings on swapper page tables. Users are advised to update their systems to the patched version to ensure stability and security. Regular monitoring of vulnerabilities using tools like Vulert can help maintain system integrity.
See every vulnerability recorded for linux →
FAQ
CVE-2022-50230 is a vulnerability in the Linux kernel that can cause kernel panics due to improper handling of page table entries.
This vulnerability specifically affects systems using the arm64 architecture that implement FEAT_EPAN.
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 left unaddressed, this vulnerability can lead to kernel panics, resulting in system crashes and potential data loss.
Yes, a patch is available in version 5.19.6-1 of the Linux package. Users should update to this version to mitigate the risk.
Related vulnerabilities
Recent vulnerabilities recorded for linux.