CVE-2023-52872 - CVE House
Back to Database
Status published Unknown CVE-2023-52872

tty: n_gsm: fix race condition in status line change on dead connections

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2023-52872

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
dd37f657387853623f20c1b2482afbb9cd8ece33, c568f7086c6e771c77aad13d727c70ef70e07243, d834aba5f30d9a6f98f4ca1eb07e501f1989331c, 692e847a8e6607909c4a3f98ab16ccee7849bd11, 5.15.61, 5.18.18, 5.19.2, 6.0, 0, 5.15.138, 6.1.62, 6.5.11, 6.6.1, 6.7

Timeline

Official Publish: May 21st, 2024
Last Modified: May 23rd, 2026
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.