# CVE-2024-46755: wifi: mwifiex: Do not return unused priv in mwifiex\_get\_priv\_by\_id()

> 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.48% (percentile 33, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-09-18T07:12:14.820Z
- **Modified:** 2026-08-05T11:38:23.495Z

## Who should check

- Anyone running Linux \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< a12cf97cbefa139ef8d95081f2ea047cbbd74b7a; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< d834433ff313838a259bb6607055ece87b895b66; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< 9813770f25855b866b8ead8155b8806b2db70f6d; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< cb67b2e51b75f1a17bee7599c8161b96e1808a70; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< 1a05d8d02cfa3540ea5dbd6b39446bd3f515521f; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< c2618dcb26c7211342b54520b5b148c0d3471c8a; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< c16916dd6c16fa7e13ca3923eb6b9f50d848ad03; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< c145eea2f75ff7949392aebecf7ef0a81c1f6c14
- Anyone running Linux 3.2

## Description

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

wifi: mwifiex: Do not return unused priv in mwifiex\_get\_priv\_by\_id()

mwifiex\_get\_priv\_by\_id() returns the priv pointer corresponding to
the bss\_num and bss\_type, but without checking if the priv is actually
currently in use.
Unused priv pointers do not have a wiphy attached to them which can
lead to NULL pointer dereferences further down the callstack.  Fix
this by returning only used priv pointers which have priv-\>bss\_mode
set to something else than NL80211\_IFTYPE\_UNSPECIFIED.

Said NULL pointer dereference happened when an Accesspoint was started
with wpa\_supplicant -i mlan0 with this config:

network={
        ssid="somessid"
        mode=2
        frequency=2412
        key\_mgmt=WPA-PSK WPA-PSK-SHA256
        proto=RSN
        group=CCMP
        pairwise=CCMP
        psk="12345678"
}

When waiting for the AP to be established, interrupting wpa\_supplicant
with \<ctrl-c\> and starting it again this happens:

\| Unable to handle kernel NULL pointer dereference at virtual address 0000000000000140
\| Mem abort info:
\|   ESR = 0x0000000096000004
\|   EC = 0x25: DABT (current EL), IL = 32 bits
\|   SET = 0, FnV = 0
\|   EA = 0, S1PTW = 0
\|   FSC = 0x04: level 0 translation fault
\| Data abort info:
\|   ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
\|   CM = 0, WnR = 0, TnD = 0, TagAccess = 0
\|   GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
\| user pgtable: 4k pages, 48-bit VAs, pgdp=0000000046d96000
\| \[0000000000000140\] pgd=0000000000000000, p4d=0000000000000000
\| Internal error: Oops: 0000000096000004 \[\#1\] PREEMPT SMP
\| Modules linked in: caam\_jr caamhash\_desc spidev caamalg\_desc crypto\_engine authenc libdes mwifiex\_sdio
+mwifiex crct10dif\_ce cdc\_acm onboard\_usb\_hub fsl\_imx8\_ddr\_perf imx8m\_ddrc rtc\_ds1307 lm75 rtc\_snvs
+imx\_sdma caam imx8mm\_thermal spi\_imx error imx\_cpufreq\_dt fuse ip\_tables x\_tables ipv6
\| CPU: 0 PID: 8 Comm: kworker/0:1 Not tainted 6.9.0-00007-g937242013fce-dirty \#18
\| Hardware name: somemachine (DT)
\| Workqueue: events sdio\_irq\_work
\| pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\| pc : mwifiex\_get\_cfp+0xd8/0x15c \[mwifiex\]
\| lr : mwifiex\_get\_cfp+0x34/0x15c \[mwifiex\]
\| sp : ffff8000818b3a70
\| x29: ffff8000818b3a70 x28: ffff000006bfd8a5 x27: 0000000000000004
\| x26: 000000000000002c x25: 0000000000001511 x24: 0000000002e86bc9
\| x23: ffff000006bfd996 x22: 0000000000000004 x21: ffff000007bec000
\| x20: 000000000000002c x19: 0000000000000000 x18: 0000000000000000
\| x17: 000000040044ffff x16: 00500072b5503510 x15: ccc283740681e517
\| x14: 0201000101006d15 x13: 0000000002e8ff43 x12: 002c01000000ffb1
\| x11: 0100000000000000 x10: 02e8ff43002c0100 x9 : 0000ffb100100157
\| x8 : ffff000003d20000 x7 : 00000000000002f1 x6 : 00000000ffffe124
\| x5 : 0000000000000001 x4 : 0000000000000003 x3 : 0000000000000000
\| x2 : 0000000000000000 x1 : 0001000000011001 x0 : 0000000000000000
\| Call trace:
\|  mwifiex\_get\_cfp+0xd8/0x15c \[mwifiex\]
\|  mwifiex\_parse\_single\_response\_buf+0x1d0/0x504 \[mwifiex\]
\|  mwifiex\_handle\_event\_ext\_scan\_report+0x19c/0x2f8 \[mwifiex\]
\|  mwifiex\_process\_sta\_event+0x298/0xf0c \[mwifiex\]
\|  mwifiex\_process\_event+0x110/0x238 \[mwifiex\]
\|  mwifiex\_main\_process+0x428/0xa44 \[mwifiex\]
\|  mwifiex\_sdio\_interrupt+0x64/0x12c \[mwifiex\_sdio\]
\|  process\_sdio\_pending\_irqs+0x64/0x1b8
\|  sdio\_irq\_work+0x4c/0x7c
\|  process\_one\_work+0x148/0x2a0
\|  worker\_thread+0x2fc/0x40c
\|  kthread+0x110/0x114
\|  ret\_from\_fork+0x10/0x20
\| Code: a94153f3 a8c37bfd d50323bf d65f03c0 (f940a000)
\| ---\[ end trace 0000000000000000 \]---

## Affected and fixed versions

- Linux: \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< a12cf97cbefa139ef8d95081f2ea047cbbd74b7a; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< d834433ff313838a259bb6607055ece87b895b66; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< 9813770f25855b866b8ead8155b8806b2db70f6d; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< cb67b2e51b75f1a17bee7599c8161b96e1808a70; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< 1a05d8d02cfa3540ea5dbd6b39446bd3f515521f; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< c2618dcb26c7211342b54520b5b148c0d3471c8a; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< c16916dd6c16fa7e13ca3923eb6b9f50d848ad03; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< c145eea2f75ff7949392aebecf7ef0a81c1f6c14 (cvelist)
- Linux: 3.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-46755.md
Affected: Linux >= 93a1df48d224296fb527d32fbec4d5162828feb4, < a12cf97cbefa139ef8d95081f2ea047cbbd74b7a; >= 93a1df48d224296fb527d32fbec4d5162828feb4, < d834433ff313838a259bb6607055ece87b895b66; >= 93a1df48d224296fb527d32fbec4d5162828feb4, < 9813770f25855b866b8ead8155b8806b2db70f6d; >= 93a1df48d224296fb527d32…
Fixed in: Linux 9813770f25855b866b8ead8155b8806b2db70f6d, Linux 1a05d8d02cfa3540ea5dbd6b39446bd3f515521f

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-46755 being exploited?

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

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

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

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

Linux \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< a12cf97cbefa139ef8d95081f2ea047cbbd74b7a; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< d834433ff313838a259bb6607055ece87b895b66; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< 9813770f25855b866b8ead8155b8806b2db70f6d; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< cb67b2e51b75f1a17bee7599c8161b96e1808a70; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< 1a05d8d02cfa3540ea5dbd6b39446bd3f515521f; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< c2618dcb26c7211342b54520b5b148c0d3471c8a; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< c16916dd6c16fa7e13ca3923eb6b9f50d848ad03; \>= 93a1df48d224296fb527d32fbec4d5162828feb4, \< c145eea2f75ff7949392aebecf7ef0a81c1f6c14; Linux 3.2.

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

Yes. Fixed in Linux 9813770f25855b866b8ead8155b8806b2db70f6d, Linux 1a05d8d02cfa3540ea5dbd6b39446bd3f515521f. No fix listed yet: follow the vendor advisory.

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

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/a12cf97cbefa139ef8d95081f2ea047cbbd74b7a>
- patch: <https://git.kernel.org/stable/c/d834433ff313838a259bb6607055ece87b895b66>
- patch: <https://git.kernel.org/stable/c/9813770f25855b866b8ead8155b8806b2db70f6d>
- patch: <https://git.kernel.org/stable/c/cb67b2e51b75f1a17bee7599c8161b96e1808a70>
- patch: <https://git.kernel.org/stable/c/1a05d8d02cfa3540ea5dbd6b39446bd3f515521f>
- patch: <https://git.kernel.org/stable/c/c2618dcb26c7211342b54520b5b148c0d3471c8a>
- patch: <https://git.kernel.org/stable/c/c16916dd6c16fa7e13ca3923eb6b9f50d848ad03>
- patch: <https://git.kernel.org/stable/c/c145eea2f75ff7949392aebecf7ef0a81c1f6c14>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.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-46755>

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