CVE-2023-52872

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedMay 21, 2024
First seenMay 21, 2024

How to fix

Update
  • linux linux_kernel5.15.138, 5.19, 6.1.62, 6.5.11, 6.6.1 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.15.61 ≤ v < 5.15.138, 5.18.18 ≤ v < 5.19, 5.19.2 ≤ v < 6.1.62, 6.2 ≤ v < 6.5.11, 6.6 ≤ v < 6.6.15.15.138, 5.19, 6.1.62, 6.5.11, 6.6.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.