CVE-2023-52872
Last modified
CVE-2023-52872 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.15.61, < 5.15.138 |
| Linux | Linux Kernel | >= 5.18.18, < 5.19 |
| Linux | Linux Kernel | >= 5.19.2, < 6.1.62 |
| Linux | Linux Kernel | >= 6.2, < 6.5.11 |
| Linux | Linux Kernel | >= 6.6, < 6.6.1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-52872?
How severe is CVE-2023-52872?
How do I fix CVE-2023-52872?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-52867In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-52868In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-52869In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-5287** UNSUPPORTED WHEN ASSIGNED ** A vulnerability, which was c…4.8
- CVE-2023-52870In the Linux kernel, the following vulnerability has been re…4.1
- CVE-2023-52871In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52873In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52874In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52875In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52876In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52877In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52878In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2023-52872?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
