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.
Product status
7f47c7189b3e8f19a589f77a3ad169d7b691b582 (git) before bca700b48c72f4ffeee977a2ed0eb4a6b4b7b8ad
7f47c7189b3e8f19a589f77a3ad169d7b691b582 (git) before 479380acfa63247b5ac62476138f847aefc62692
7f47c7189b3e8f19a589f77a3ad169d7b691b582 (git) before 4989627157735c1f1619f08e5bc1592418e7c878
7f47c7189b3e8f19a589f77a3ad169d7b691b582 (git) before d1c946552af299f4fa85bf7da15e328123771128
7f47c7189b3e8f19a589f77a3ad169d7b691b582 (git) before 196f6c71905aa384c0177acf194a1144d480333b
7f47c7189b3e8f19a589f77a3ad169d7b691b582 (git) before 8fb11fa4805699c6b73a9c8a9d45807f9874abe3
7f47c7189b3e8f19a589f77a3ad169d7b691b582 (git) before e9e33faea104381bac80ac79328f0540fc2969f2
7f47c7189b3e8f19a589f77a3ad169d7b691b582 (git) before e82e47584847129a20b8c9f4a1dcde09374fb0e0
3.5
Any version before 3.5
4.14.322 (semver)
4.19.291 (semver)
5.4.251 (semver)
5.10.188 (semver)
5.15.121 (semver)
6.1.39 (semver)
6.4.4 (semver)
6.5 (original_commit_for_fix)
References
git.kernel.org/...c/bca700b48c72f4ffeee977a2ed0eb4a6b4b7b8ad
git.kernel.org/...c/479380acfa63247b5ac62476138f847aefc62692
git.kernel.org/...c/4989627157735c1f1619f08e5bc1592418e7c878
git.kernel.org/...c/d1c946552af299f4fa85bf7da15e328123771128
git.kernel.org/...c/196f6c71905aa384c0177acf194a1144d480333b
git.kernel.org/...c/8fb11fa4805699c6b73a9c8a9d45807f9874abe3
git.kernel.org/...c/e9e33faea104381bac80ac79328f0540fc2969f2
git.kernel.org/...c/e82e47584847129a20b8c9f4a1dcde09374fb0e0
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.