Vulnerability · Published Feb 29, 2024 · Assigned by Linux

CVE-2023-52488serial: sc16is7xx: convert from _raw_ to _noinc_ regmap functions for FIFO

Medium 5.5

In plain English

A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.3%top 78.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux6.1.76-1DEBIAN-CVE-2023-52488
Debian:13linux6.6.15-1DEBIAN-CVE-2023-52488
Debian:14linux6.6.15-1DEBIAN-CVE-2023-52488
Ubuntu:22.04:LTSlinux5.15.0-116.126UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux5.15.0-116.126USN-6898-1
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-aws5.15.0-1065.71UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-aws5.15.0-1065.71USN-6898-3
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-aws-6.5no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-azure5.15.0-1068.77UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-azure5.15.0-1068.77USN-6917-1
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-azure-6.56.5.0-1022.23~22.04.1USN-6819-1
Ubuntu:22.04:LTSlinux-azure-6.56.5.0-1022.23~22.04.1UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1068.77.1USN-6917-1
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1068.77.1UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-gcp5.15.0-1064.72UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-gcp5.15.0-1064.72USN-6898-1
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-gcp-6.56.5.0-1022.24~22.04.1USN-6818-1
Ubuntu:22.04:LTSlinux-gcp-6.56.5.0-1022.24~22.04.1UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-gke5.15.0-1062.68UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-gke5.15.0-1062.68USN-6898-1
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1048.55USN-6898-1
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1048.55UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-hwe-6.56.5.0-41.41~22.04.2USN-6818-4
Ubuntu:22.04:LTSlinux-hwe-6.56.5.0-41.41~22.04.2UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-ibm5.15.0-1058.61UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-ibm5.15.0-1058.61USN-6898-1
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1060.66UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1060.66USN-6898-1
Ubuntu:22.04:LTSlinux-kvm5.15.0-1062.67UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-kvm5.15.0-1062.67USN-6898-1
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-116.126UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-116.126USN-6898-2
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.56.5.0-41.41.1~22.04.1UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.56.5.0-41.41.1~22.04.1USN-6818-1
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1060.61UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1060.61USN-6898-1
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-nvidia-6.56.5.0-1021.22USN-6818-3
Ubuntu:22.04:LTSlinux-nvidia-6.56.5.0-1021.22UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-nvidia-tegra5.15.0-1026.26UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-nvidia-tegra-igx5.15.0-1015.15UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-oem-6.56.5.0-1024.25UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-oem-6.56.5.0-1024.25USN-6819-3
Ubuntu:22.04:LTSlinux-oracle5.15.0-1063.69UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-oracle5.15.0-1063.69USN-6898-1
Ubuntu:22.04:LTSlinux-oracle-6.56.5.0-1024.24~22.04.1USN-6819-4
Ubuntu:22.04:LTSlinux-oracle-6.56.5.0-1024.24~22.04.1UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-raspi5.15.0-1058.61UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-raspi5.15.0-1058.61USN-6919-1
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-riscv-6.56.5.0-40.40.1~22.04.1UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-starfive-6.56.5.0-1015.16~22.04.1USN-6819-1
Ubuntu:22.04:LTSlinux-starfive-6.56.5.0-1015.16~22.04.1UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-xilinx-zynqmp5.15.0-1035.39UBUNTU-CVE-2023-52488
Ubuntu:22.04:LTSlinux-xilinx-zynqmp5.15.0-1035.39USN-7019-1

Affected products (as reported)

VendorProductVersions
Linux Linux dfeae619d781dee61666d5551b93ba3be755a86b – before 4e37416e4ee1b1bc17364a68973e0c63be89e611dfeae619d781dee61666d5551b93ba3be755a86b – before e635f652696ef6f1230621cfd89c350cb5ec6169dfeae619d781dee61666d5551b93ba3be755a86b – before 416b10d2817c94db86829fb92ad43ce7d002c573dfeae619d781dee61666d5551b93ba3be755a86b – before 084c24e788d9cf29c55564de368bf5284f2bb5dbdfeae619d781dee61666d5551b93ba3be755a86b – before aa7cb4787698add9367b19f7afc667662c9bdb23dfeae619d781dee61666d5551b93ba3be755a86b – before dbf4ab821804df071c8b566d9813083125e6d97b
Linux Linux 3.16

References