CVE-2023-52488
serial: sc16is7xx: convert from _raw_ to _noinc_ regmap functions for FIFO
Check your servers for CVE-2023-52488
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-52488 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:
serial: sc16is7xx: convert from _raw_ to _noinc_ regmap functions for FIFO
The SC16IS7XX IC supports a burst mode to access the FIFOs where the initial register address is sent ($00), followed by all the FIFO data without having to resend the register address each time. In this mode, the IC doesn't increment the register address for each R/W byte.
The regmap_raw_read() and regmap_raw_write() are functions which can perform IO over multiple registers. They are currently used to read/write from/to the FIFO, and although they operate correctly in this burst mode on the SPI bus, they would corrupt the regmap cache if it was not disabled manually. The reason is that when the R/W size is more than 1 byte, these functions assume that the register address is incremented and handle the cache accordingly.
Convert FIFO R/W functions to use the regmap _noinc_ versions in order to remove the manual cache control which was a workaround when using the _raw_ versions. FIFO registers are properly declared as volatile so cache will not be used/updated for FIFO accesses.
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 12 Mar 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from dfeae619d781dee61666d5551b93ba3be755a86b, before 4e37416e4ee1b1bc17364a68973e0c63be89e611 affected from dfeae619d781dee61666d5551b93ba3be755a86b, before e635f652696ef6f1230621cfd89c350cb5ec6169 affected from dfeae619d781dee61666d5551b93ba3be755a86b, before 416b10d2817c94db86829fb92ad43ce7d002c573 affected from dfeae619d781dee61666d5551b93ba3be755a86b, before 084c24e788d9cf29c55564de368bf5284f2bb5db affected from dfeae619d781dee61666d5551b93ba3be755a86b, before aa7cb4787698add9367b19f7afc667662c9bdb23 affected from dfeae619d781dee61666d5551b93ba3be755a86b, before dbf4ab821804df071c8b566d9813083125e6d97b
Other versions: unaffected
|
| Linux |
affected 3.16 unaffected before 3.16 unaffected from 5.10.215 up to and including 5.10.* unaffected from 5.15.154 up to and including 5.15.* unaffected from 6.1.76 up to and including 6.1.* unaffected from 6.6.15 up to and including 6.6.* unaffected from 6.7.3 up to and including 6.7.* unaffected 6.8 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-52488 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52488
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-52488
trivy image --scanners vuln IMAGE | grep CVE-2023-52488
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/4e37416e4ee1b1bc17364a68973e0c63be89e611 git.kernel.org
- https://git.kernel.org/stable/c/e635f652696ef6f1230621cfd89c350cb5ec6169 git.kernel.org
- https://git.kernel.org/stable/c/416b10d2817c94db86829fb92ad43ce7d002c573 git.kernel.org
- https://git.kernel.org/stable/c/084c24e788d9cf29c55564de368bf5284f2bb5db git.kernel.org
- https://git.kernel.org/stable/c/aa7cb4787698add9367b19f7afc667662c9bdb23 git.kernel.org
- https://git.kernel.org/stable/c/dbf4ab821804df071c8b566d9813083125e6d97b git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
Source: the record CVE-2023-52488 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse