Use-After-Free Vulnerability in Linux Kernel's n_gsm Package
Summary
CVE-2024-50073: In the Linux kernel, the following vulnerability has been resolved: tty: n_gsm: Fix use-after-free in gsm_cleanup_mux BUG: KASAN: slab-use-after-free in gsm_cleanup_mux+0x77b/0x7b0 drivers/tty/n_gsm.c:3160 [n_gsm] Read o... 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 and software interaction. The n_gsm (GSM Multiplexer) is a subsystem within the Linux kernel that manages communication over GSM connections. This subsystem is crucial for handling data transmission efficiently. However, it is susceptible to vulnerabilities that can lead to serious security issues, such as memory corruption and unauthorized access.
Vulnerability Detail
The vulnerability identified as CVE-2024-50073 is a use-after-free issue in the gsm_cleanup_mux function within the n_gsm subsystem of the Linux kernel. This flaw arises when memory allocated for GSM messages is freed while still being referenced by multiple threads. The result is a potential read of freed memory, which can lead to crashes or arbitrary code execution. The vulnerability was discovered during a routine audit of the kernel's memory management and is particularly concerning due to its impact on system stability and security.
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 limit access to the n_gsm subsystem or disable it if it is not critical for their operations. This can be done by modifying the kernel configuration or using system controls to prevent the loading of the n_gsm module.
Conclusion
CVE-2024-50073 represents a significant vulnerability within the Linux kernel's n_gsm subsystem, with the potential for serious security implications. Users are strongly advised to update their systems to the latest kernel version to mitigate risks. Additionally, utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.
See every vulnerability recorded for linux →
FAQ
CVE-2024-50073 is a use-after-free vulnerability in the n_gsm subsystem of the Linux kernel, which can lead to memory corruption and potential system crashes.
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 by this vulnerability.
The risks include system instability, crashes, and potential unauthorized access to system memory, which could lead to arbitrary code execution.
Yes, a patch has been released for the Linux kernel. Users should update to the latest version to mitigate the vulnerability.
If an immediate update is not possible, consider disabling the n_gsm subsystem or limiting its access until a patch can be applied.
Related vulnerabilities
Recent vulnerabilities recorded for linux.