# CVE-2023-53094: tty: serial: fsl\_lpuart: fix race on RX DMA shutdown

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 8, 2026-11-28)
- **CWE:** CWE-362
- **Published:** 2025-05-02T15:55:39.045Z
- **Modified:** 2026-08-05T09:12:45.604Z

## Who should check

- Anyone running Linux \>= 4a8588a1cf867333187d9ff071e6fbdab587d194, \< 19a98d56dfedafb25652bdb9cd48a4e73ceba702; \>= 4a8588a1cf867333187d9ff071e6fbdab587d194, \< 90530e7214c8a04dcdde57502d93fa96af288c38; \>= 4a8588a1cf867333187d9ff071e6fbdab587d194, \< 954fc9931f0aabf272b5674cf468affdd88d3a36; \>= 4a8588a1cf867333187d9ff071e6fbdab587d194, \< 2a36b444cace9580380467fd1183bb5e85bcc80a; \>= 4a8588a1cf867333187d9ff071e6fbdab587d194, \< 1be6f2b15f902c02e055ae0b419ca789200473c9; 5716a781032693d0f812ed06528d98195e9df028; 0d5cb6e8b4b62d8efd1a470615894276341d6db9; \>= 3.18.9, \< 3.19; \>= 3.19.1, \< 3.20
- Anyone running Linux 4.0

## Description

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

tty: serial: fsl\_lpuart: fix race on RX DMA shutdown

From time to time DMA completion can come in the middle of DMA shutdown:

\<process ctx\>:				\<IRQ\>:
lpuart32\_shutdown()
  lpuart\_dma\_shutdown()
    del\_timer\_sync()
					lpuart\_dma\_rx\_complete()
					  lpuart\_copy\_rx\_to\_tty()
					    mod\_timer()
    lpuart\_dma\_rx\_free()

When the timer fires a bit later, sport-\>dma\_rx\_desc is NULL:

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000004
pc : lpuart\_copy\_rx\_to\_tty+0xcc/0x5bc
lr : lpuart\_timer\_func+0x1c/0x2c
Call trace:
 lpuart\_copy\_rx\_to\_tty
 lpuart\_timer\_func
 call\_timer\_fn
 \_\_run\_timers.part.0
 run\_timer\_softirq
 \_\_do\_softirq
 \_\_irq\_exit\_rcu
 irq\_exit
 handle\_domain\_irq
 gic\_handle\_irq
 call\_on\_irq\_stack
 do\_interrupt\_handler
 ...

To fix this fold del\_timer\_sync() into lpuart\_dma\_rx\_free() after
dmaengine\_terminate\_sync() to make sure timer will not be re-started in
lpuart\_copy\_rx\_to\_tty() \<= lpuart\_dma\_rx\_complete().

## Affected and fixed versions

- Linux: \>= 4a8588a1cf867333187d9ff071e6fbdab587d194, \< 19a98d56dfedafb25652bdb9cd48a4e73ceba702; \>= 4a8588a1cf867333187d9ff071e6fbdab587d194, \< 90530e7214c8a04dcdde57502d93fa96af288c38; \>= 4a8588a1cf867333187d9ff071e6fbdab587d194, \< 954fc9931f0aabf272b5674cf468affdd88d3a36; \>= 4a8588a1cf867333187d9ff071e6fbdab587d194, \< 2a36b444cace9580380467fd1183bb5e85bcc80a; \>= 4a8588a1cf867333187d9ff071e6fbdab587d194, \< 1be6f2b15f902c02e055ae0b419ca789200473c9; 5716a781032693d0f812ed06528d98195e9df028; 0d5cb6e8b4b62d8efd1a470615894276341d6db9; \>= 3.18.9, \< 3.19; \>= 3.19.1, \< 3.20 (cvelist)
- Linux: 4.0 (cvelist)

## Mitigation

- Upgrade Linux to 3.20 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53094. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53094.md
Affected: Linux >= 4a8588a1cf867333187d9ff071e6fbdab587d194, < 19a98d56dfedafb25652bdb9cd48a4e73ceba702; >= 4a8588a1cf867333187d9ff071e6fbdab587d194, < 90530e7214c8a04dcdde57502d93fa96af288c38; >= 4a8588a1cf867333187d9ff071e6fbdab587d194, < 954fc9931f0aabf272b5674cf468affdd88d3a36; >= 4a8588a1cf867333187d9ff…
Fixed in: Linux 19a98d56dfedafb25652bdb9cd48a4e73ceba702, Linux 90530e7214c8a04dcdde57502d93fa96af288c38, Linux 954fc9931f0aabf272b5674cf468affdd88d3a36, Linux 2a36b444cace9580380467fd1183bb5e85bcc80a, Linux 1be6f2b15f902c02e055ae0b419ca789200473c9, Linux 3.19, Linux 3.20

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53094 being exploited?

There is no confirmed exploitation: CVE-2023-53094 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-53094?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53094?

Linux \>= 4a8588a1cf867333187d9ff071e6fbdab587d194, \< 19a98d56dfedafb25652bdb9cd48a4e73ceba702; \>= 4a8588a1cf867333187d9ff071e6fbdab587d194, \< 90530e7214c8a04dcdde57502d93fa96af288c38; \>= 4a8588a1cf867333187d9ff071e6fbdab587d194, \< 954fc9931f0aabf272b5674cf468affdd88d3a36; \>= 4a8588a1cf867333187d9ff071e6fbdab587d194, \< 2a36b444cace9580380467fd1183bb5e85bcc80a; \>= 4a8588a1cf867333187d9ff071e6fbdab587d194, \< 1be6f2b15f902c02e055ae0b419ca789200473c9; 5716a781032693d0f812ed06528d98195e9df028; 0d5cb6e8b4b62d8efd1a470615894276341d6db9; \>= 3.18.9, \< 3.19; \>= 3.19.1, \< 3.20; Linux 4.0.

### Is there a fix for CVE-2023-53094?

Yes. Fixed in Linux 19a98d56dfedafb25652bdb9cd48a4e73ceba702, Linux 90530e7214c8a04dcdde57502d93fa96af288c38, Linux 954fc9931f0aabf272b5674cf468affdd88d3a36, Linux 2a36b444cace9580380467fd1183bb5e85bcc80a, Linux 1be6f2b15f902c02e055ae0b419ca789200473c9, Linux 3.19, Linux 3.20. Upgrade Linux to 3.20 or later.

### How do I check if I'm affected by CVE-2023-53094?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/19a98d56dfedafb25652bdb9cd48a4e73ceba702>
- patch: <https://git.kernel.org/stable/c/90530e7214c8a04dcdde57502d93fa96af288c38>
- patch: <https://git.kernel.org/stable/c/954fc9931f0aabf272b5674cf468affdd88d3a36>
- patch: <https://git.kernel.org/stable/c/2a36b444cace9580380467fd1183bb5e85bcc80a>
- patch: <https://git.kernel.org/stable/c/1be6f2b15f902c02e055ae0b419ca789200473c9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53094>

HTML: <https://flawdb.com/CVE-2023-53094> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53094>
