SecurityContext

CVE-2024-44951: Linux Kernel - Race Condition

  • Cve: CVE-2024-44951
  • Name: Linux Kernel - Race Condition
  • 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.
  • Impact: Potential data corruption in transmitted packets, leading to communication errors or data loss.
  • Remediation: Apply the patch that switches to kfifo_out_linear_ptr() in sc16is7xx_handle_tx() and uses separate RX buffers for each channel.
  • Vulnerability type: race_condition
  • Vulnerability impact: data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00209
  • Epss percentile: 0.11069
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-09-04T19:15:30Z
  • Age in days: 811
  • Modified at: 2026-10-30T13:17:34Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-44951
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-667Improper Locking

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/09cfe05e9907f3276887a20e267cc40e202f4fddPatch
https://git.kernel.org/stable/c/133f4c00b8b2bfcacead9b81e7e8edfceb4b06c4Patch
https://git.kernel.org/stable/c/263682f5669ceeb70b14b4eda209fb34d67331ec
https://git.kernel.org/stable/c/2a0ba376cdf729b5c66226c65c6c7cf9de744d52

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.11 rc1; = 6.11 rc2; >= 6.8, < 6.10.5; >= 6.7.3, < 6.8; >= 6.6.15, < 6.7; >= 6.1.76, < 6.2nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports