CVE-2023-54255
sh: dma: Fix DMA channel offset calculation
Check your servers for CVE-2023-54255
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54255 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7f47c7189b3e8f19a589f77a3ad169d7b691b582, before bca700b48c72f4ffeee977a2ed0eb4a6b4b7b8ad affected from 7f47c7189b3e8f19a589f77a3ad169d7b691b582, before 479380acfa63247b5ac62476138f847aefc62692 affected from 7f47c7189b3e8f19a589f77a3ad169d7b691b582, before 4989627157735c1f1619f08e5bc1592418e7c878 affected from 7f47c7189b3e8f19a589f77a3ad169d7b691b582, before d1c946552af299f4fa85bf7da15e328123771128 affected from 7f47c7189b3e8f19a589f77a3ad169d7b691b582, before 196f6c71905aa384c0177acf194a1144d480333b affected from 7f47c7189b3e8f19a589f77a3ad169d7b691b582, before 8fb11fa4805699c6b73a9c8a9d45807f9874abe3 affected from 7f47c7189b3e8f19a589f77a3ad169d7b691b582, before e9e33faea104381bac80ac79328f0540fc2969f2 affected from 7f47c7189b3e8f19a589f77a3ad169d7b691b582, before e82e47584847129a20b8c9f4a1dcde09374fb0e0
Other versions: unaffected
|
| Linux |
affected 3.5 unaffected before 3.5 unaffected from 4.14.322 up to and including 4.14.* unaffected from 4.19.291 up to and including 4.19.* unaffected from 5.4.251 up to and including 5.4.* unaffected from 5.10.188 up to and including 5.10.* unaffected from 5.15.121 up to and including 5.15.* unaffected from 6.1.39 up to and including 6.1.* unaffected from 6.4.4 up to and including 6.4.* unaffected 6.5 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54255 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54255
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-54255
trivy image --scanners vuln IMAGE | grep CVE-2023-54255
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/bca700b48c72f4ffeee977a2ed0eb4a6b4b7b8ad git.kernel.org
- https://git.kernel.org/stable/c/479380acfa63247b5ac62476138f847aefc62692 git.kernel.org
- https://git.kernel.org/stable/c/4989627157735c1f1619f08e5bc1592418e7c878 git.kernel.org
- https://git.kernel.org/stable/c/d1c946552af299f4fa85bf7da15e328123771128 git.kernel.org
- https://git.kernel.org/stable/c/196f6c71905aa384c0177acf194a1144d480333b git.kernel.org
- https://git.kernel.org/stable/c/8fb11fa4805699c6b73a9c8a9d45807f9874abe3 git.kernel.org
- https://git.kernel.org/stable/c/e9e33faea104381bac80ac79328f0540fc2969f2 git.kernel.org
- https://git.kernel.org/stable/c/e82e47584847129a20b8c9f4a1dcde09374fb0e0 git.kernel.org
Source: the record CVE-2023-54255 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse