CVE-2023-52872

MEDIUM

Linux Kernel 5.15.61-5.15.138 - Race Condition in GSM Mux Status Line Update

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: tty: n_gsm: fix race condition in status line change on dead connections gsm_cleanup_mux() cleans up the gsm by closing all DLCIs, stopping all timers, removing the virtual tty devices and clearing the data queues. This procedure, however, may cause subsequent changes of the virtual modem status lines of a DLCI. More data is being added the outgoing data queue and the deleted kick timer is restarted to handle this. At this point many resources have already been removed by the cleanup procedure. Thus, a kernel panic occurs. Fix this by proving in gsm_modem_update() that the cleanup procedure has not been started and the mux is still alive. Note that writing to a virtual tty is already protected by checks against the DLCI specific connection state.

Scores

CVSS v3 5.5
EPSS 0.0017
EPSS Percentile 6.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-362
Status published
Products (18)
Linux/Linux < 6.0
Linux/Linux 5.15.138 - 5.15.*
Linux/Linux 5.15.61 - 5.15.138
Linux/Linux 5.18.18 - 5.19
Linux/Linux 5.19.2 - 5.20
Linux/Linux 6.0
Linux/Linux 6.1.62 - 6.1.*
Linux/Linux 6.5.11 - 6.5.*
Linux/Linux 6.6.1 - 6.6.*
Linux/Linux 6.7
... and 8 more
Published May 21, 2024
Tracked Since Feb 18, 2026