# CVE-2023-54255: sh: dma: Fix DMA channel offset calculation

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 12, 2026-11-26)
- **Published:** 2025-12-30T12:15:50.822Z
- **Modified:** 2026-06-17T06:47:06.227Z

## Who should check

- Anyone running Linux \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< bca700b48c72f4ffeee977a2ed0eb4a6b4b7b8ad; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< 479380acfa63247b5ac62476138f847aefc62692; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< 4989627157735c1f1619f08e5bc1592418e7c878; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< d1c946552af299f4fa85bf7da15e328123771128; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< 196f6c71905aa384c0177acf194a1144d480333b; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< 8fb11fa4805699c6b73a9c8a9d45807f9874abe3; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< e9e33faea104381bac80ac79328f0540fc2969f2; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< e82e47584847129a20b8c9f4a1dcde09374fb0e0
- Anyone running Linux 3.5

## Description

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 dma\_base\_addr() in order to properly calculate channel offsets
in a DMAC module. Fix dmaor\_read\_reg() and dmaor\_write\_reg(), so that
the correct DMAC module base is selected for the DMAOR register.

## Affected and fixed versions

- Linux: \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< bca700b48c72f4ffeee977a2ed0eb4a6b4b7b8ad; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< 479380acfa63247b5ac62476138f847aefc62692; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< 4989627157735c1f1619f08e5bc1592418e7c878; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< d1c946552af299f4fa85bf7da15e328123771128; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< 196f6c71905aa384c0177acf194a1144d480333b; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< 8fb11fa4805699c6b73a9c8a9d45807f9874abe3; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< e9e33faea104381bac80ac79328f0540fc2969f2; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< e82e47584847129a20b8c9f4a1dcde09374fb0e0 (cvelist)
- Linux: 3.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-54255.md
Affected: Linux >= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, < bca700b48c72f4ffeee977a2ed0eb4a6b4b7b8ad; >= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, < 479380acfa63247b5ac62476138f847aefc62692; >= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, < 4989627157735c1f1619f08e5bc1592418e7c878; >= 7f47c7189b3e8f19a589f77…
Fixed in: Linux 479380acfa63247b5ac62476138f847aefc62692, Linux 4989627157735c1f1619f08e5bc1592418e7c878, Linux 196f6c71905aa384c0177acf194a1144d480333b, Linux 8fb11fa4805699c6b73a9c8a9d45807f9874abe3

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-54255 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< bca700b48c72f4ffeee977a2ed0eb4a6b4b7b8ad; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< 479380acfa63247b5ac62476138f847aefc62692; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< 4989627157735c1f1619f08e5bc1592418e7c878; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< d1c946552af299f4fa85bf7da15e328123771128; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< 196f6c71905aa384c0177acf194a1144d480333b; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< 8fb11fa4805699c6b73a9c8a9d45807f9874abe3; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< e9e33faea104381bac80ac79328f0540fc2969f2; \>= 7f47c7189b3e8f19a589f77a3ad169d7b691b582, \< e82e47584847129a20b8c9f4a1dcde09374fb0e0; Linux 3.5.

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

Yes. Fixed in Linux 479380acfa63247b5ac62476138f847aefc62692, Linux 4989627157735c1f1619f08e5bc1592418e7c878, Linux 196f6c71905aa384c0177acf194a1144d480333b, Linux 8fb11fa4805699c6b73a9c8a9d45807f9874abe3. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/bca700b48c72f4ffeee977a2ed0eb4a6b4b7b8ad>
- other: <https://git.kernel.org/stable/c/479380acfa63247b5ac62476138f847aefc62692>
- other: <https://git.kernel.org/stable/c/4989627157735c1f1619f08e5bc1592418e7c878>
- other: <https://git.kernel.org/stable/c/d1c946552af299f4fa85bf7da15e328123771128>
- other: <https://git.kernel.org/stable/c/196f6c71905aa384c0177acf194a1144d480333b>
- other: <https://git.kernel.org/stable/c/8fb11fa4805699c6b73a9c8a9d45807f9874abe3>
- other: <https://git.kernel.org/stable/c/e9e33faea104381bac80ac79328f0540fc2969f2>
- other: <https://git.kernel.org/stable/c/e82e47584847129a20b8c9f4a1dcde09374fb0e0>

## 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-54255>

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