CVE-2024-26897CWE-362

CVE-2024-26897

Medium · published April 17, 2024

CVSS v3.1
4.7
EPSS
0%
Percentile
7.9
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

wifi: ath9k: delay all of ath9k_wmi_event_tasklet() until init is complete

The ath9k_wmi_event_tasklet() used in ath9k_htc assumes that all the data

structures have been fully initialised by the time it runs. However, because of

the order in which things are initialised, this is not guaranteed to be the

case, because the device is exposed to the USB subsystem before the ath9k driver

initialisation is completed.

We already committed a partial fix for this in commit:

8b3046abc99e ("ath9k_htc: fix NULL pointer dereference at ath9k_htc_tx_get_packet()")

However, that commit only aborted the WMI_TXSTATUS_EVENTID command in the event

tasklet, pairing it with an "initialisation complete" bit in the TX struct. It

seems syzbot managed to trigger the race for one of the other commands as well,

so let's just move the existing synchronisation bit to cover the whole

tasklet (setting it at the end of ath9k_htc_probe_device() instead of inside

ath9k_tx_init()).

The record
Technical detail
CVSS v3.1
4.7 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00188 · 7.9th percentile
Weakness
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Published
2024-04-17T15:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 5.10.136, < 5.10.2145.10.214
linux/linux_kernel≥ 5.15.17, < 5.15.1535.15.153
linux/linux_kernel≥ 5.16.3, < 6.1.836.1.83
linux/linux_kernel≥ 6.2, < 6.6.236.6.23
linux/linux_kernel≥ 6.7, < 6.7.116.7.11
linux/linux_kernel≥ 6.8, < 6.8.26.8.2
debian/debian_linuxall versions—
References (16)
https://git.kernel.org/stable/c/1bc5461a21c56a36e2a7d81e152b90ce019a3905 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/24355fcb0d4cbcb6ddda262596558e8cfba70f11 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/4afa0246656d5680c8a4c3fb37ba6570c4ab819b · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/74d0639261dd795dce958d1b14815bdcbb48a715 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/a015fbf698c8957aa5fbeefc5c59dd2cf3107298 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/ac90e22e735bac44f74b5161fb096fbeb0ff8bc2 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f8ff4b4df71e87f609be0cc37d92e918107f9b90 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/1bc5461a21c56a36e2a7d81e152b90ce019a3905 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/24355fcb0d4cbcb6ddda262596558e8cfba70f11 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/4afa0246656d5680c8a4c3fb37ba6570c4ab819b · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/74d0639261dd795dce958d1b14815bdcbb48a715 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/a015fbf698c8957aa5fbeefc5c59dd2cf3107298 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/ac90e22e735bac44f74b5161fb096fbeb0ff8bc2 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/f8ff4b4df71e87f609be0cc37d92e918107f9b90 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-265688.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 17 APR 10:27Z
    wifi: ath9k: delay all of ath9k_wmi_event_tasklet() until init is complete
    cvelistv5