CVE-2023-52488

Updated: 2025-02-14

CWE: NVD-CWE-noinfo

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.

CVSS3: 5.5


Vendor State

OS Vendor version Errata
Ubuntu 20.04 5.4.0-202.222 USN-7159-1
Ubuntu 16.04 ESM 4.4.0-266.300 USN-7332-1
Ubuntu 16.04 HWE ESM 4.15.0-235.247~16.04.1 USN-7342-1
Ubuntu 16.04 AWS ESM 4.4.0-1179.194 USN-7332-1
Ubuntu 16.04 GCP ESM 4.15.0-1171.188~16.04.1 USN-7344-1
Ubuntu 16.04 AWS HWE ESM 4.15.0-1178.191~16.04.1 USN-7344-1
Ubuntu 16.04 Azure ESM 4.15.0-1186.201~16.04.1 USN-7344-2
Debian 11 5.10.216-1 DSA-5681-1
Ubuntu 22.04 5.15.0-116.126 USN-6898-1
Ubuntu 22.04 AWS 5.15.0-1065.71 USN-6898-3
Ubuntu 22.04 Azure 5.15.0-1068.77 USN-6917-1
Debian 11 cloud 5.10.216-1 DSA-5681-1
Ubuntu 20.04 HWE Azure 5.15.0-1068.77~20.04.1 USN-6917-1
Ubuntu 20.04 GCP 5.4.0-1140.149 USN-7159-1

KernelCare State

OS Original kernel version State
Ubuntu 18.04 HWE Focal
Planned
Ubuntu 20.04
Ready For Release
Ubuntu 16.04 ESM
Planned
Ubuntu 16.04 HWE ESM
Planned
Ubuntu 16.04 AWS ESM
Planned
Ubuntu 16.04 GCP ESM
Planned
Ubuntu 16.04 AWS HWE ESM
Planned
Ubuntu 16.04 Azure ESM
Planned
Debian 11
In Progress
Ubuntu 22.04
Ready For Release
Ubuntu 22.04 AWS
Planned
Ubuntu 22.04 Azure
Planned
Debian 11 cloud
In Progress
Ubuntu 20.04 HWE Azure
Planned
Ubuntu 20.04 GCP
Ready For Release