CVE-2024-26897

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-26897
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26897.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-26897
Downstream
Related
Published
2024-04-17T10:27:47.842Z
Modified
2025-11-28T02:35:42.566043Z
Summary
wifi: ath9k: delay all of ath9k_wmi_event_tasklet() until init is complete
Details

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

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

The ath9kwmieventtasklet() used in ath9khtc 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 ("ath9khtc: fix NULL pointer dereference at ath9khtctxget_packet()")

However, that commit only aborted the WMITXSTATUSEVENTID 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 ath9khtcprobedevice() instead of inside ath9ktx_init()).

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26897.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
78c8397132dd4735ac6a7b5a651302f0b9f264ad
Fixed
1bc5461a21c56a36e2a7d81e152b90ce019a3905
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
735aefae7b68025cd04c482a940c0f6fc6797a63
Fixed
f8ff4b4df71e87f609be0cc37d92e918107f9b90
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8b3046abc99eefe11438090bcc4ec3a3994b55d0
Fixed
74d0639261dd795dce958d1b14815bdcbb48a715
Fixed
a015fbf698c8957aa5fbeefc5c59dd2cf3107298
Fixed
ac90e22e735bac44f74b5161fb096fbeb0ff8bc2
Fixed
4afa0246656d5680c8a4c3fb37ba6570c4ab819b
Fixed
24355fcb0d4cbcb6ddda262596558e8cfba70f11
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
7bbc1a50a7963f14048f0e54b0b73159f86d4ea3

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.10.214
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.153
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.83
Type
ECOSYSTEM
Events
Introduced
5.17.0
Fixed
6.6.23
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.7.11
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.8.2