CVE-2023-52456
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
23/02/2024
Last modified:
04/11/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
serial: imx: fix tx statemachine deadlock<br />
<br />
When using the serial port as RS485 port, the tx statemachine is used to<br />
control the RTS pin to drive the RS485 transceiver TX_EN pin. When the<br />
TTY port is closed in the middle of a transmission (for instance during<br />
userland application crash), imx_uart_shutdown disables the interface<br />
and disables the Transmission Complete interrupt. afer that,<br />
imx_uart_stop_tx bails on an incomplete transmission, to be retriggered<br />
by the TC interrupt. This interrupt is disabled and therefore the tx<br />
statemachine never transitions out of SEND. The statemachine is in<br />
deadlock now, and the TX_EN remains low, making the interface useless.<br />
<br />
imx_uart_stop_tx now checks for incomplete transmission AND whether TC<br />
interrupts are enabled before bailing to be retriggered. This makes sure<br />
the state machine handling is reached, and is properly set to<br />
WAIT_AFTER_SEND.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.9.0 (including) | 5.10.209 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11.0 (including) | 5.15.148 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16.0 (including) | 6.1.75 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2.0 (including) | 6.6.14 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7.0 (including) | 6.7.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/63ee7be01a3f7d28b1ea8b8d7944f12bb7b0ed06
- https://git.kernel.org/stable/c/6e04a9d30509fb53ba6df5d655ed61d607a7cfda
- https://git.kernel.org/stable/c/763cd68746317b5d746dc2649a3295c1efb41181
- https://git.kernel.org/stable/c/78d60dae9a0c9f09aa3d6477c94047df2fe6f7b0
- https://git.kernel.org/stable/c/9a662d06c22ddfa371958c2071dc350436be802b
- https://git.kernel.org/stable/c/ff168d4fdb0e1ba35fb413a749b3d6cce918ec19



