CVE-2023-54255
sh: dma: Fix DMA channel offset calculation
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
3.5
References 8
git.kernel.org
- stable/c/bca700b48c72f4ffeee977a2ed0eb4a6b4b7b8ad
- stable/c/479380acfa63247b5ac62476138f847aefc62692
- stable/c/4989627157735c1f1619f08e5bc1592418e7c878
- stable/c/d1c946552af299f4fa85bf7da15e328123771128
- stable/c/196f6c71905aa384c0177acf194a1144d480333b
- stable/c/8fb11fa4805699c6b73a9c8a9d45807f9874abe3
- stable/c/e9e33faea104381bac80ac79328f0540fc2969f2
- stable/c/e82e47584847129a20b8c9f4a1dcde09374fb0e0