CVE-2023-54255

Source
https://cve.org/CVERecord?id=CVE-2023-54255
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54255.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-54255
Downstream
Related
Published
2025-12-30T12:15:50.822Z
Modified
2026-03-31T17:29:53.161657066Z
Summary
sh: dma: Fix DMA channel offset calculation
Details

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

sh: dma: Fix DMA channel offset calculation

Various SoCs of the SH3, SH4 and SH4A family, which use this driver, feature a differing number of DMA channels, which can be distributed between up to two DMAC modules. The existing implementation fails to correctly accommodate for all those variations, resulting in wrong channel offset calculations and leading to kernel panics.

Rewrite dmabaseaddr() in order to properly calculate channel offsets in a DMAC module. Fix dmaorreadreg() and dmaorwritereg(), so that the correct DMAC module base is selected for the DMAOR register.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54255.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
7f47c7189b3e8f19a589f77a3ad169d7b691b582
Fixed
bca700b48c72f4ffeee977a2ed0eb4a6b4b7b8ad
Fixed
479380acfa63247b5ac62476138f847aefc62692
Fixed
4989627157735c1f1619f08e5bc1592418e7c878
Fixed
d1c946552af299f4fa85bf7da15e328123771128
Fixed
196f6c71905aa384c0177acf194a1144d480333b
Fixed
8fb11fa4805699c6b73a9c8a9d45807f9874abe3
Fixed
e9e33faea104381bac80ac79328f0540fc2969f2
Fixed
e82e47584847129a20b8c9f4a1dcde09374fb0e0

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.5.0
Fixed
4.14.322
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.291
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.251
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.188
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.121
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.39
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.4.4

Database specific

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