CVE-2023-52456

Medium

Description

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.

SeverityMedium
CVSS5.5
Exploit probability7. percentile0.2%
ProductLinux Kernel
PublishedFeb 23, 2024
First seenFeb 23, 2024

How to fix

Update
  • linux linux_kernel5.10.209, 5.15.148, 6.1.75, 6.6.14, 6.7.2 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.9.0 ≤ v < 5.10.209, 5.11.0 ≤ v < 5.15.148, 5.16.0 ≤ v < 6.1.75, 6.2.0 ≤ v < 6.6.14, 6.7.0 ≤ v < 6.7.25.10.209, 5.15.148, 6.1.75, 6.6.14, 6.7.2

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.

CVE-2023-52456 · Linux Kernel · Dark Radar