CVE-2023-52456

CVSS v3.1 5.5 (Medium)
55% Progress
EPSS 0.04 % (5th)
0.04% Progress
Affected Products 1
Advisories 19
NVD Status Modified

In the Linux kernel, the following vulnerability has been resolved:

serial: imx: fix tx statemachine deadlock

When using the serial port as RS485 port, the tx statemachine is used to
control the RTS pin to drive the RS485 transceiver TX_EN pin. When the
TTY port is closed in the middle of a transmission (for instance during
userland application crash), imx_uart_shutdown disables the interface
and disables the Transmission Complete interrupt. afer that,
imx_uart_stop_tx bails on an incomplete transmission, to be retriggered
by the TC interrupt. This interrupt is disabled and therefore the tx
statemachine never transitions out of SEND. The statemachine is in
deadlock now, and the TX_EN remains low, making the interface useless.

imx_uart_stop_tx now checks for incomplete transmission AND whether TC
interrupts are enabled before bailing to be retriggered. This makes sure
the state machine handling is reached, and is properly set to
WAIT_AFTER_SEND.

Weaknesses
CWE-667
Improper Locking
CVE Status
PUBLISHED
NVD Status
Modified
CNA
kernel.org
Published Date
2024-02-23 15:15:08
(6 months ago)
Updated Date
2024-06-25 21:15:52
(2 months ago)

Affected Products

Loading...
Loading...
Loading...

Configuration #1

    CPE23 From Up To
  Linux Kernel from 5.9.0 version and prior 5.10.209 version cpe:2.3:o:linux:linux_kernel >= 5.9.0 < 5.10.209
  Linux Kernel from 5.11.0 version and prior 5.15.148 version cpe:2.3:o:linux:linux_kernel >= 5.11.0 < 5.15.148
  Linux Kernel from 5.16.0 version and prior 6.1.75 version cpe:2.3:o:linux:linux_kernel >= 5.16.0 < 6.1.75
  Linux Kernel from 6.2.0 version and prior 6.6.14 version cpe:2.3:o:linux:linux_kernel >= 6.2.0 < 6.6.14
  Linux Kernel from 6.7.0 version and prior 6.7.2 version cpe:2.3:o:linux:linux_kernel >= 6.7.0 < 6.7.2
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...