CVE-2023-52872
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-362CVE-2023-52872 is a Race Condition vulnerability
What is Race Condition?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. Learn more on MITRE CWE
References
The following references provide additional information about CVE-2023-52872 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/19d34b73234af542cc8a218cf398dee73cdb1890
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3a75b205de43365f80a33b98ec9289785da56243
-
PatchKernel patch commithttps://git.kernel.org/stable/c/81a4dd5e6c78f5d8952fa8c9d36565db1fe01444
Frequently asked questions
-
What is CVE-2023-52872?
CVE-2023-52872 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a Race Condition flaw (CWE-362) . CVE-2023-52872 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2023-52872?
CVE-2023-52872 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2023-52872?
No patch is currently available for CVE-2023-52872. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2023-52872 actively exploited?
No — CVE-2023-52872 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Race Condition (CWE-362)?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. View CWE-362 on MITRE CWE →