Critical Vulnerability in Linux Kernel: CVE-2022-50390 - Undefined Behavior in TTM_TT_FLAG_PRIV_POPULATED
Summary
CVE-2022-50390: In the Linux kernel, the following vulnerability has been resolved: drm/ttm: fix undefined behavior in bit shift for TTM_TT_FLAG_PRIV_POPULATED Shifting signed 32-bit value by 31 bits is undefined, so changing significan... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. 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 management and system resources. It is widely used in various distributions, including Debian. The kernel is responsible for managing system calls, memory, and device drivers, making it a critical component for system stability and security. This vulnerability affects the Linux kernel versions in Debian 11, 12, 13, and 14, specifically related to the TTM (Translation Table Maps) subsystem, which is used for managing graphics memory.
Vulnerability Detail
CVE-2022-50390 is a vulnerability in the Linux kernel that arises from undefined behavior during bit shifting operations in the TTM subsystem. Specifically, shifting a signed 32-bit value by 31 bits can lead to unpredictable behavior, potentially allowing for memory corruption or system crashes. The vulnerability was identified in the file ttm_tt.h, where the significant bit was incorrectly treated as signed, leading to a shift-out-of-bounds condition. This could be exploited by attackers to cause instability in systems utilizing the affected kernel versions.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, users can avoid using the affected TTM features until the kernel is updated. However, this is not a permanent solution and updating the kernel is strongly advised.
Conclusion
CVE-2022-50390 is a critical vulnerability in the Linux kernel that affects multiple Debian versions. It is essential for users to update their kernel to the patched version 6.1.4-1 to ensure system security and stability. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for linux →
FAQ
CVE-2022-50390 is a vulnerability in the Linux kernel related to undefined behavior in the TTM subsystem, which can lead to system instability.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
The vulnerability can lead to memory corruption, system crashes, and potential exploitation by attackers to compromise system integrity.
Yes, the patched version of the Linux kernel is 6.1.4-1. Users should update their kernel to this version to mitigate the vulnerability.
If immediate updates are not possible, avoid using the affected TTM features as a temporary workaround until you can apply the patch.
Related vulnerabilities
Recent vulnerabilities recorded for linux.