CVE-2024-26897
wifi: ath9k: delay all of ath9k_wmi_event_tasklet() until init is complete
Check your servers for CVE-2024-26897
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26897 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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()).
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.75% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 78c8397132dd4735ac6a7b5a651302f0b9f264ad, before 1bc5461a21c56a36e2a7d81e152b90ce019a3905 affected from 735aefae7b68025cd04c482a940c0f6fc6797a63, before f8ff4b4df71e87f609be0cc37d92e918107f9b90 affected from 8b3046abc99eefe11438090bcc4ec3a3994b55d0, before 74d0639261dd795dce958d1b14815bdcbb48a715 affected from 8b3046abc99eefe11438090bcc4ec3a3994b55d0, before a015fbf698c8957aa5fbeefc5c59dd2cf3107298 affected from 8b3046abc99eefe11438090bcc4ec3a3994b55d0, before ac90e22e735bac44f74b5161fb096fbeb0ff8bc2 affected from 8b3046abc99eefe11438090bcc4ec3a3994b55d0, before 4afa0246656d5680c8a4c3fb37ba6570c4ab819b affected from 8b3046abc99eefe11438090bcc4ec3a3994b55d0, before 24355fcb0d4cbcb6ddda262596558e8cfba70f11 affected 7bbc1a50a7963f14048f0e54b0b73159f86d4ea3 affected from 5.10.136, before 5.10.214 affected from 5.15.17, before 5.15.153 affected from 5.16.3, before 5.17
Other versions: unaffected
|
| Linux |
affected 5.17 unaffected before 5.17 unaffected from 5.10.214 up to and including 5.10.* unaffected from 5.15.153 up to and including 5.15.* unaffected from 6.1.83 up to and including 6.1.* unaffected from 6.6.23 up to and including 6.6.* unaffected from 6.7.11 up to and including 6.7.* unaffected from 6.8.2 up to and including 6.8.* unaffected 6.9 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26897 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26897
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-26897
trivy image --scanners vuln IMAGE | grep CVE-2024-26897
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/1bc5461a21c56a36e2a7d81e152b90ce019a3905 git.kernel.org
- https://git.kernel.org/stable/c/f8ff4b4df71e87f609be0cc37d92e918107f9b90 git.kernel.org
- https://git.kernel.org/stable/c/74d0639261dd795dce958d1b14815bdcbb48a715 git.kernel.org
- https://git.kernel.org/stable/c/a015fbf698c8957aa5fbeefc5c59dd2cf3107298 git.kernel.org
- https://git.kernel.org/stable/c/ac90e22e735bac44f74b5161fb096fbeb0ff8bc2 git.kernel.org
- https://git.kernel.org/stable/c/4afa0246656d5680c8a4c3fb37ba6570c4ab819b git.kernel.org
- https://git.kernel.org/stable/c/24355fcb0d4cbcb6ddda262596558e8cfba70f11 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
Source: the record CVE-2024-26897 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse