CVE-2023-52488: serial: sc16is7xx: convert from _raw_ to _noinc_ regmap functions for FIFO
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 regmaprawread() and regmaprawwrite() 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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2023-52488?
CVE-2023-52488 is classified as a low-severity vulnerability in the Linux kernel.
How do I fix CVE-2023-52488?
To resolve CVE-2023-52488, you should update to the patched versions of the Linux package, specifically 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.13-1.
What software is affected by CVE-2023-52488?
CVE-2023-52488 affects the Linux kernel versions prior to the fixed releases mentioned in the vulnerability details.
Is CVE-2023-52488 being actively exploited?
There have been no widespread reports of active exploitation regarding CVE-2023-52488.
What is the nature of CVE-2023-52488?
CVE-2023-52488 involves a conversion issue in the serial driver for the SC16IS7XX IC in the Linux kernel.