wifi: rtw89: fix wrong pci_get_drvdata type in AER handlers
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.40, 7.1.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: rtw89: fix wrong pci_get_drvdata type in AER handlers rtw89 stores an ieee80211_hw pointer via pci_set_drvdata() at probe time, but io_error_detected() and io_resume() retrieve it as a net_device pointer. This causes netif_device_detach/attach to operate on an ieee80211_hw struct, reading and writing at wrong offsets. The adjacent io_slot_reset() already does it correctly. Use ieee80211_stop_queues/wake_queues instead, consistent with every other queue stop/start path in the driver. Tested on RTL8852CE by calling the handlers from a test module before and after the fix.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 16e3d93c6183649a3b210f82b83c1cb12aa5e8a3 · fixed in aefc30e4a829c1683f6ae999df7f9310c27eae6c; From 16e3d93c6183649a3b210f82b83c1cb12aa5e8a3 · fixed in c1907b9a4fa9cb33d11a9af138374dd2e93f7a93; From 16e3d93c6183649a3b210f82b83c1cb12aa5e8a3 · fixed in 7068c379cf9aa8afe4dce4d9d82390187aa9c4d0
- Linux Linux
6.17
- KernelLinux
From 6.17.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5