# CVE-2024-40911: wifi: cfg80211: Lock wiphy in cfg80211\_get\_station

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.46% (percentile 32, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-07-12T12:20:49.796Z
- **Modified:** 2026-08-05T11:33:58.834Z

## Who should check

- Anyone running Linux \>= 7406353d43c8e2faf478721e87aeb6f2f9685de0, \< dfd84ce41663be9ca3f69bd657c45f49b69344d9; \>= 7406353d43c8e2faf478721e87aeb6f2f9685de0, \< 6d540b0317901535275020bd4ac44fac6439ca76; \>= 7406353d43c8e2faf478721e87aeb6f2f9685de0, \< 0ccc63958d8373e15a69f4f8069f3e78f7f3898a; \>= 7406353d43c8e2faf478721e87aeb6f2f9685de0, \< 43e1eefb0b2094e2281150d87d09e8bc872b9fba; \>= 7406353d43c8e2faf478721e87aeb6f2f9685de0, \< 642f89daa34567d02f312d03e41523a894906dae
- Anyone running Linux 3.16

## Description

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

wifi: cfg80211: Lock wiphy in cfg80211\_get\_station

Wiphy should be locked before calling rdev\_get\_station() (see lockdep
assert in ieee80211\_get\_station()).

This fixes the following kernel NULL dereference:

 Unable to handle kernel NULL pointer dereference at virtual address 0000000000000050
 Mem abort info:
   ESR = 0x0000000096000006
   EC = 0x25: DABT (current EL), IL = 32 bits
   SET = 0, FnV = 0
   EA = 0, S1PTW = 0
   FSC = 0x06: level 2 translation fault
 Data abort info:
   ISV = 0, ISS = 0x00000006
   CM = 0, WnR = 0
 user pgtable: 4k pages, 48-bit VAs, pgdp=0000000003001000
 \[0000000000000050\] pgd=0800000002dca003, p4d=0800000002dca003, pud=08000000028e9003, pmd=0000000000000000
 Internal error: Oops: 0000000096000006 \[\#1\] SMP
 Modules linked in: netconsole dwc3\_meson\_g12a dwc3\_of\_simple dwc3 ip\_gre gre ath10k\_pci ath10k\_core ath9k ath9k\_common ath9k\_hw ath
 CPU: 0 PID: 1091 Comm: kworker/u8:0 Not tainted 6.4.0-02144-g565f9a3a7911-dirty \#705
 Hardware name: RPT (r1) (DT)
 Workqueue: bat\_events batadv\_v\_elp\_throughput\_metric\_update
 pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
 pc : ath10k\_sta\_statistics+0x10/0x2dc \[ath10k\_core\]
 lr : sta\_set\_sinfo+0xcc/0xbd4
 sp : ffff000007b43ad0
 x29: ffff000007b43ad0 x28: ffff0000071fa900 x27: ffff00000294ca98
 x26: ffff000006830880 x25: ffff000006830880 x24: ffff00000294c000
 x23: 0000000000000001 x22: ffff000007b43c90 x21: ffff800008898acc
 x20: ffff00000294c6e8 x19: ffff000007b43c90 x18: 0000000000000000
 x17: 445946354d552d78 x16: 62661f7200000000 x15: 57464f445946354d
 x14: 0000000000000000 x13: 00000000000000e3 x12: d5f0acbcebea978e
 x11: 00000000000000e3 x10: 000000010048fe41 x9 : 0000000000000000
 x8 : ffff000007b43d90 x7 : 000000007a1e2125 x6 : 0000000000000000
 x5 : ffff0000024e0900 x4 : ffff800000a0250c x3 : ffff000007b43c90
 x2 : ffff00000294ca98 x1 : ffff000006831920 x0 : 0000000000000000
 Call trace:
  ath10k\_sta\_statistics+0x10/0x2dc \[ath10k\_core\]
  sta\_set\_sinfo+0xcc/0xbd4
  ieee80211\_get\_station+0x2c/0x44
  cfg80211\_get\_station+0x80/0x154
  batadv\_v\_elp\_get\_throughput+0x138/0x1fc
  batadv\_v\_elp\_throughput\_metric\_update+0x1c/0xa4
  process\_one\_work+0x1ec/0x414
  worker\_thread+0x70/0x46c
  kthread+0xdc/0xe0
  ret\_from\_fork+0x10/0x20
 Code: a9bb7bfd 910003fd a90153f3 f9411c40 (f9402814)

This happens because STA has time to disconnect and reconnect before
batadv\_v\_elp\_throughput\_metric\_update() delayed work gets scheduled. In
this situation, ath10k\_sta\_state() can be in the middle of resetting
arsta data when the work queue get chance to be scheduled and ends up
accessing it. Locking wiphy prevents that.

## Affected and fixed versions

- Linux: \>= 7406353d43c8e2faf478721e87aeb6f2f9685de0, \< dfd84ce41663be9ca3f69bd657c45f49b69344d9; \>= 7406353d43c8e2faf478721e87aeb6f2f9685de0, \< 6d540b0317901535275020bd4ac44fac6439ca76; \>= 7406353d43c8e2faf478721e87aeb6f2f9685de0, \< 0ccc63958d8373e15a69f4f8069f3e78f7f3898a; \>= 7406353d43c8e2faf478721e87aeb6f2f9685de0, \< 43e1eefb0b2094e2281150d87d09e8bc872b9fba; \>= 7406353d43c8e2faf478721e87aeb6f2f9685de0, \< 642f89daa34567d02f312d03e41523a894906dae (cvelist)
- Linux: 3.16 (cvelist)

## Mitigation

- Upgrade Linux to 642f89daa34567d02f312d03e41523a894906dae or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-40911. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-40911.md
Affected: Linux >= 7406353d43c8e2faf478721e87aeb6f2f9685de0, < dfd84ce41663be9ca3f69bd657c45f49b69344d9; >= 7406353d43c8e2faf478721e87aeb6f2f9685de0, < 6d540b0317901535275020bd4ac44fac6439ca76; >= 7406353d43c8e2faf478721e87aeb6f2f9685de0, < 0ccc63958d8373e15a69f4f8069f3e78f7f3898a; >= 7406353d43c8e2faf478721…
Fixed in: Linux 6d540b0317901535275020bd4ac44fac6439ca76, Linux 0ccc63958d8373e15a69f4f8069f3e78f7f3898a, Linux 43e1eefb0b2094e2281150d87d09e8bc872b9fba, Linux 642f89daa34567d02f312d03e41523a894906dae

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-40911 being exploited?

There is no confirmed exploitation: CVE-2024-40911 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.46% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-40911?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-40911?

Linux \>= 7406353d43c8e2faf478721e87aeb6f2f9685de0, \< dfd84ce41663be9ca3f69bd657c45f49b69344d9; \>= 7406353d43c8e2faf478721e87aeb6f2f9685de0, \< 6d540b0317901535275020bd4ac44fac6439ca76; \>= 7406353d43c8e2faf478721e87aeb6f2f9685de0, \< 0ccc63958d8373e15a69f4f8069f3e78f7f3898a; \>= 7406353d43c8e2faf478721e87aeb6f2f9685de0, \< 43e1eefb0b2094e2281150d87d09e8bc872b9fba; \>= 7406353d43c8e2faf478721e87aeb6f2f9685de0, \< 642f89daa34567d02f312d03e41523a894906dae; Linux 3.16.

### Is there a fix for CVE-2024-40911?

Yes. Fixed in Linux 6d540b0317901535275020bd4ac44fac6439ca76, Linux 0ccc63958d8373e15a69f4f8069f3e78f7f3898a, Linux 43e1eefb0b2094e2281150d87d09e8bc872b9fba, Linux 642f89daa34567d02f312d03e41523a894906dae. Upgrade Linux to 642f89daa34567d02f312d03e41523a894906dae or later.

### How do I check if I'm affected by CVE-2024-40911?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/dfd84ce41663be9ca3f69bd657c45f49b69344d9>
- patch: <https://git.kernel.org/stable/c/6d540b0317901535275020bd4ac44fac6439ca76>
- patch: <https://git.kernel.org/stable/c/0ccc63958d8373e15a69f4f8069f3e78f7f3898a>
- patch: <https://git.kernel.org/stable/c/43e1eefb0b2094e2281150d87d09e8bc872b9fba>
- patch: <https://git.kernel.org/stable/c/642f89daa34567d02f312d03e41523a894906dae>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-40911>

HTML: <https://flawdb.com/CVE-2024-40911> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-40911>
