# CVE-2024-35946: wifi: rtw89: fix null pointer access when abort scan

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-05-19T10:10:49.493Z
- Modified: 2026-10-30T13:17:27.537Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

wifi: rtw89: fix null pointer access when abort scan

During cancel scan we might use vif that weren't scanning.
Fix this by using the actual scanning vif.

(As written by CVE List.)

## Affected

- Linux Linux: from e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd before 96b49702bc0db9263c06840099b5008b72be919a; from e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd before b34d64e9aa5505e3c84570aed5c757f1839573e8; from e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd before 4f11c741908dab7dd48fa5a986b210d4fc74ca8d; from e3ec7017f6a20d12ddd9fe23d345ebb7b8c104dd before 7e11a2966f51695c0af0b1f976a32d64dee243b2; 5.16 (not affected: before 5.16; from 6.1.191 up to 6.1.*; from 6.6.27 up to 6.6.*; from 6.8.6 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: before 6.6.27; from 6.7 before 6.8.6

## References

- <https://git.kernel.org/stable/c/96b49702bc0db9263c06840099b5008b72be919a>
- <https://git.kernel.org/stable/c/b34d64e9aa5505e3c84570aed5c757f1839573e8> (patch)
- <https://git.kernel.org/stable/c/4f11c741908dab7dd48fa5a986b210d4fc74ca8d> (patch)
- <https://git.kernel.org/stable/c/7e11a2966f51695c0af0b1f976a32d64dee243b2> (patch)

## Sources

- CVE List: [CVE-2024-35946](https://www.cve.org/CVERecord?id=CVE-2024-35946), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2024-35946](https://nvd.nist.gov/vuln/detail/CVE-2024-35946), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2024-35946 · Whole record: https://cve.day/CVE-2024-35946.json · Rebuilt by cve.day 2026-11-25T22:58:40.616Z
