Use-After-Free Vulnerability in Linux Kernel's n_gsm Package

linux Updated 02 Oct 2025

Summary

29/10/2024
N/A
No i
High
7.8

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Share this vulnerability

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.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback