What’s Vulnerable › Vulnerabilities
CVE-2024-44951: serial: sc16is7xx: fix TX fifo corruption
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-04 · updated 2026-10-30
- Weakness: CWE-667
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.
Affected products
- Linux kernel: from 6.1.76 before 6.2; from 6.6.15 before 6.7; from 6.7.3 before 6.8; from 6.8 before 6.10.5; 6.11-rc1, 6.11-rc2 — fixed in 6.2, 6.7, 6.8, 6.10.5
- Linux: from 6.1.76 before 6.1.191; from 6.6.15 before 6.6.160; from 6.7.3 before 6.8 — fixed in 6.1.191, 6.6.160, 6.8
How to fix
Upgrade to a fixed version: Linux kernel 6.2, 6.7, 6.8, 6.10.5; Linux 6.1.191, 6.6.160, 6.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/09cfe05e9907f3276887a20e267cc40e202f4fdd
- https://git.kernel.org/stable/c/133f4c00b8b2bfcacead9b81e7e8edfceb4b06c4
- https://git.kernel.org/stable/c/263682f5669ceeb70b14b4eda209fb34d67331ec
- https://git.kernel.org/stable/c/2a0ba376cdf729b5c66226c65c6c7cf9de744d52
Get alerted when CVE-2024-44951 or the next vulnerability affects your stack