Wiz Agents & Workflows are here

CVE-2024-50073
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability was discovered in the Linux kernel's TTY GSM line discipline (n_gsm) driver, specifically in the gsm_cleanup_mux function (CVE-2024-50073). The vulnerability was discovered in October 2024 and affects Linux kernel versions up to 6.1.114, from 6.2 up to 6.6.58, and from 6.7 up to 6.11.5 (NVD).

Technical details

The vulnerability occurs in the gsm_cleanup_mux function within drivers/tty/n_gsm.c. When a discard request needs to be retried, and that retry fails before a new special payload is added, a double free can result. The issue specifically involves gsm_msg objects on the tx_ctrl_list or tx_data_list of gsm_mux that can be freed by multiple threads through ioctl operations. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High) with vector: AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could allow an attacker with local access to cause a use-after-free condition, potentially leading to privilege escalation, denial of service, or arbitrary code execution in the context of the kernel (NVD).

Mitigation and workarounds

The vulnerability has been fixed by adding proper locking mechanisms using gsm tx lock to protect the gsm_msg objects during cleanup operations. The fix has been implemented in the kernel source code and is available through various distribution updates. Users should update their Linux kernel to the latest patched version (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23417N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-core
NoNoApr 02, 2026
CVE-2026-23415N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoNoApr 02, 2026
CVE-2026-23414N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra-matched
NoYesApr 02, 2026
CVE-2026-23413N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoYesApr 02, 2026
CVE-2026-23412N/AN/A
  • Linux KernelLinux Kernel
  • rv
NoYesApr 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management