CVE-2024-44951

HIGH

Linux Kernel 6.1.76-6.1.99 - Data Buffer Corruption via EFR Lock Regression

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: serial: sc16is7xx: fix TX fifo corruption Sometimes, when a packet is received on channel A at almost the same time as a packet is about to be transmitted on channel B, we observe with a logic analyzer that the received packet on channel A is transmitted on channel B. In other words, the Tx buffer data on channel B is corrupted with data from channel A. The problem appeared since commit 4409df5866b7 ("serial: sc16is7xx: change EFR lock to operate on each channels"), which changed the EFR locking to operate on each channel instead of chip-wise. This commit has introduced a regression, because the EFR lock is used not only to protect the EFR registers access, but also, in a very obscure and undocumented way, to protect access to the data buffer, which is shared by the Tx and Rx handlers, but also by each channel of the IC. Fix this regression first by switching to kfifo_out_linear_ptr() in sc16is7xx_handle_tx() to eliminate the need for a shared Rx/Tx buffer. Secondly, replace the chip-wise Rx buffer with a separate Rx buffer for each channel.

Scores

CVSS v3 7.8
EPSS 0.0018
EPSS Percentile 7.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-667
Status published
Products (14)
Linux/Linux < 6.8
Linux/Linux 4409df5866b7ff7686ba27e449ca97a92ee063c9 - 09cfe05e9907f3276887a20e267cc40e202f4fdd
Linux/Linux 4409df5866b7ff7686ba27e449ca97a92ee063c9 - 133f4c00b8b2bfcacead9b81e7e8edfceb4b06c4
Linux/Linux 4b068e55bf5ea7bab4d8a282c6a24b03e80c0b68
Linux/Linux 6.1.76 - 6.2
Linux/Linux 6.10.5 - 6.10.*
Linux/Linux 6.11
Linux/Linux 6.6.15 - 6.7
Linux/Linux 6.7.3 - 6.8
Linux/Linux 6.8
... and 4 more
Published Sep 04, 2024
Tracked Since Feb 18, 2026