CVE-2023-54255

sh: dma: Fix DMA channel offset calculation

State
Published
Severity
Not scored
Published
Dec 30, 2025
Updated
May 11, 2026
Reserved
Dec 30, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7f47c7189b3e8f19a589f77a3ad169d7b691b582 to before bca700b48c72f4ffeee977a2ed0eb4a6b4b7b8adAffected
  • 7f47c7189b3e8f19a589f77a3ad169d7b691b582 to before 479380acfa63247b5ac62476138f847aefc62692Affected
  • 7f47c7189b3e8f19a589f77a3ad169d7b691b582 to before 4989627157735c1f1619f08e5bc1592418e7c878Affected
  • 7f47c7189b3e8f19a589f77a3ad169d7b691b582 to before d1c946552af299f4fa85bf7da15e328123771128Affected
  • 7f47c7189b3e8f19a589f77a3ad169d7b691b582 to before 196f6c71905aa384c0177acf194a1144d480333bAffected
  • 7f47c7189b3e8f19a589f77a3ad169d7b691b582 to before 8fb11fa4805699c6b73a9c8a9d45807f9874abe3Affected
  • 7f47c7189b3e8f19a589f77a3ad169d7b691b582 to before e9e33faea104381bac80ac79328f0540fc2969f2Affected
  • 7f47c7189b3e8f19a589f77a3ad169d7b691b582 to before e82e47584847129a20b8c9f4a1dcde09374fb0e0Affected
LinuxLinux
  • 3.5Affected
  • before 3.5Not affected
  • 4.14.322 through 4.14.*Not affected
  • 4.19.291 through 4.19.*Not affected
  • 5.4.251 through 5.4.*Not affected
  • 5.10.188 through 5.10.*Not affected
  • 5.15.121 through 5.15.*Not affected
  • 6.1.39 through 6.1.*Not affected
  • 6.4.4 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.