CVE-2023-52456 json
serial: imx: fix tx statemachine deadlock
published 2024-02-23 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-57081
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.10.209, 5.15.148, 6.1.75, 6.6.14, 6.7.2, 6.8
- linux Debian 12 6.1.76-1
- linux Debian 14, Debian 13 6.6.15-1
debian advisories DEBIAN-CVE-2023-52456
- linux Ubuntu 22.04 LTS 5.15.0-102.112
- linux-aws Ubuntu 22.04 LTS 5.15.0-1057.63
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1055.63
- linux-gke Ubuntu 22.04 LTS 5.15.0-1054.59
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1050.53
- linux-kvm Ubuntu 22.04 LTS 5.15.0-1054.59
- linux-azure Ubuntu 22.04 LTS 5.15.0-1060.69
- linux-gkeop Ubuntu 22.04 LTS 5.15.0-1040.46
ubuntu advisories UBUNTU-CVE-2023-52456
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt SLE Micro 5.4, SLE Micro 5.3, openSUSE Leap Micro 5.4 +1 more 5.14.21-150400.15.71.1
- kernel-source-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.71.1
- kernel-rt SLE Micro 5.5, Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.38.1
- kernel-syms-rt Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.38.1
- kernel-rt_debug Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.38.1
- kernel-source-rt SLE Micro 5.5, Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.38.1
- kernel-syms SLE High Performance Computing 15 SP4-ESPOS, Manager Server 4.3, Manager Proxy 4.3 +3 more 5.14.21-150400.24.111.1
- kernel-source SLE High Performance Computing 15 SP4-ESPOS, Manager Server 4.3, Manager Proxy 4.3 +3 more 5.14.21-150400.24.111.1
suse advisories SUSE-SU-2024:0977-1SUSE-SU-2024:0910-1SUSE-SU-2024:0900-2SUSE-SU-2024:0900-1SUSE-SU-2024:0858-1SUSE-SU-2024:0855-1
- kernel-source-longterm openSUSE Tumbleweed 6.12.11-1.1
- kernel-source openSUSE Tumbleweed 6.7.9-1.1
opensuse advisories openSUSE-SU-2025:14705-1openSUSE-SU-2024:13767-1
- git.kernel.org/stable/c/6e04a9d30509fb53ba6df5d655ed61d607a7cfda commit
- git.kernel.org/stable/c/ff168d4fdb0e1ba35fb413a749b3d6cce918ec19 commit
- git.kernel.org/stable/c/63ee7be01a3f7d28b1ea8b8d7944f12bb7b0ed06 commit
- git.kernel.org/stable/c/763cd68746317b5d746dc2649a3295c1efb41181 commit
- git.kernel.org/stable/c/9a662d06c22ddfa371958c2071dc350436be802b commit
- git.kernel.org/stable/c/78d60dae9a0c9f09aa3d6477c94047df2fe6f7b0 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-52456 updated cvss 5.5
kernel: imx: fix tx statemachine deadlock
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: workaround, no fix planned “No mitigation is currently available for this vulnerability. Make sure to perform the updates as they become available.”
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 morenot affected: vulnerable code not present “No mitigation is currently available for this vulnerability. Make sure to perform the updates as they become available.”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-667 Improper Locking
- Technology feeds
References
-
git.kernel.org
/stable/c/6e04a9d30509fb53ba6df5d655ed61d607a7cfda
patch
-
git.kernel.org
/stable/c/ff168d4fdb0e1ba35fb413a749b3d6cce918ec19
patch
-
git.kernel.org
/stable/c/63ee7be01a3f7d28b1ea8b8d7944f12bb7b0ed06
patch
-
git.kernel.org
/stable/c/763cd68746317b5d746dc2649a3295c1efb41181
patch
-
git.kernel.org
/stable/c/9a662d06c22ddfa371958c2071dc350436be802b
patch
-
git.kernel.org
/stable/c/78d60dae9a0c9f09aa3d6477c94047df2fe6f7b0
patch
- lists.debian.org /debian-lts-announce/2024/06/msg00016.html
Sources
- CVE List CVE-2023-52456
- NVD CVE-2023-52456
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.