CVE-2023-52456

serial: imx: fix tx statemachine deadlock

No CVSS score yet EPSS 0.18%

Published 23 Feb 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-52456

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52456 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.26% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 23 Feb 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from cb1a609236096c278ecbfb7be678a693a70283f1, before 6e04a9d30509fb53ba6df5d655ed61d607a7cfda
affected from cb1a609236096c278ecbfb7be678a693a70283f1, before ff168d4fdb0e1ba35fb413a749b3d6cce918ec19
affected from cb1a609236096c278ecbfb7be678a693a70283f1, before 63ee7be01a3f7d28b1ea8b8d7944f12bb7b0ed06
affected from cb1a609236096c278ecbfb7be678a693a70283f1, before 763cd68746317b5d746dc2649a3295c1efb41181
affected from cb1a609236096c278ecbfb7be678a693a70283f1, before 9a662d06c22ddfa371958c2071dc350436be802b
affected from cb1a609236096c278ecbfb7be678a693a70283f1, before 78d60dae9a0c9f09aa3d6477c94047df2fe6f7b0
Other versions: unaffected
Linux
affected 5.9
unaffected before 5.9
unaffected from 5.10.209 up to and including 5.10.*
unaffected from 5.15.148 up to and including 5.15.*
unaffected from 6.1.75 up to and including 6.1.*
unaffected from 6.6.14 up to and including 6.6.*
unaffected from 6.7.2 up to and including 6.7.*
unaffected 6.8 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52456 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52456

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-52456
trivy image --scanners vuln IMAGE | grep CVE-2023-52456

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-52456 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.