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
Affected versions
Linux kernel versions
5.15.61,
5.18.18,
5.19.2,
6.0
and later are affected. Fixed in
5.15.138,
6.1.62,
6.5.11,
6.6.1,
6.7
and their respective stable series.
References
5 total-
Patch
-
Patch
-
Patch
-
Patch
-
Patch
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) . It affects Linux kernel versions from 5.15.61 onward and has been patched in 5.15.138, 6.1.62, 6.5.11 and others. 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?
Yes. CVE-2023-52872 has been patched. Fixed versions include 5.15.138, 6.1.62, 6.5.11 and others. If you are running Linux kernel 5.15.61 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
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.