CVE-2023-53094

Source
https://cve.org/CVERecord?id=CVE-2023-53094
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53094.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53094
Downstream
Related
Published
2025-05-02T15:55:39.045Z
Modified
2026-04-11T12:46:40.928853Z
Summary
tty: serial: fsl_lpuart: fix race on RX DMA shutdown
Details

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>: lpuart32shutdown() lpuartdmashutdown() deltimersync() lpuartdmarxcomplete() lpuartcopyrxtotty() modtimer() lpuartdmarxfree()

When the timer fires a bit later, sport->dmarxdesc is NULL:

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000004 pc : lpuartcopyrxtotty+0xcc/0x5bc lr : lpuarttimerfunc+0x1c/0x2c Call trace: lpuartcopyrxtotty lpuarttimerfunc calltimerfn __runtimers.part.0 runtimer_softirq __do_softirq __irqexitrcu irqexit handledomainirq gichandleirq callonirqstack dointerrupthandler ...

To fix this fold deltimersync() into lpuartdmarxfree() after dmaengineterminatesync() to make sure timer will not be re-started in lpuartcopyrxtotty() <= lpuartdmarxcomplete().

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53094.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4a8588a1cf867333187d9ff071e6fbdab587d194
Fixed
19a98d56dfedafb25652bdb9cd48a4e73ceba702
Fixed
90530e7214c8a04dcdde57502d93fa96af288c38
Fixed
954fc9931f0aabf272b5674cf468affdd88d3a36
Fixed
2a36b444cace9580380467fd1183bb5e85bcc80a
Fixed
1be6f2b15f902c02e055ae0b419ca789200473c9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
5716a781032693d0f812ed06528d98195e9df028
Last affected
0d5cb6e8b4b62d8efd1a470615894276341d6db9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53094.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
5.10.177
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.105
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.23
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53094.json"