# CVE-2024-26896: wifi: wfx: fix memory leak when starting AP

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.30% (percentile 16, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2024-04-17T10:27:47.214Z
- **Modified:** 2026-06-17T07:18:37.997Z

## Who should check

- Anyone running Linux \>= 268bceec1684932e194ae87877dcc73f534d921c, \< a1f57a0127b89a6b6620514564aa7eaec16d9af3; \>= 268bceec1684932e194ae87877dcc73f534d921c, \< 3a71ec74e5e3478d202a1874f085ca3ef40be49b; \>= 268bceec1684932e194ae87877dcc73f534d921c, \< 12f00a367b2b62756e0396f14b54c2c15524e1c3; \>= 268bceec1684932e194ae87877dcc73f534d921c, \< dadbb5d29d6c5f571a50272fce8c1505a9559487; \>= 268bceec1684932e194ae87877dcc73f534d921c, \< b8cfb7c819dd39965136a66fe3a7fde688d976fc
- Anyone running Linux 5.10

## Description

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

wifi: wfx: fix memory leak when starting AP

Kmemleak reported this error:

    unreferenced object 0xd73d1180 (size 184):
      comm "wpa\_supplicant", pid 1559, jiffies 13006305 (age 964.245s)
      hex dump (first 32 bytes):
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 1e 00 01 00 00 00 00 00  ................
      backtrace:
        \[\<5ca11420\>\] kmem\_cache\_alloc+0x20c/0x5ac
        \[\<127bdd74\>\] \_\_alloc\_skb+0x144/0x170
        \[\<fb8a5e38\>\] \_\_netdev\_alloc\_skb+0x50/0x180
        \[\<0f9fa1d5\>\] \_\_ieee80211\_beacon\_get+0x290/0x4d4 \[mac80211\]
        \[\<7accd02d\>\] ieee80211\_beacon\_get\_tim+0x54/0x18c \[mac80211\]
        \[\<41e25cc3\>\] wfx\_start\_ap+0xc8/0x234 \[wfx\]
        \[\<93a70356\>\] ieee80211\_start\_ap+0x404/0x6b4 \[mac80211\]
        \[\<a4a661cd\>\] nl80211\_start\_ap+0x76c/0x9e0 \[cfg80211\]
        \[\<47bd8b68\>\] genl\_rcv\_msg+0x198/0x378
        \[\<453ef796\>\] netlink\_rcv\_skb+0xd0/0x130
        \[\<6b7c977a\>\] genl\_rcv+0x34/0x44
        \[\<66b2d04d\>\] netlink\_unicast+0x1b4/0x258
        \[\<f965b9b6\>\] netlink\_sendmsg+0x1e8/0x428
        \[\<aadb8231\>\] \_\_\_\_sys\_sendmsg+0x1e0/0x274
        \[\<d2b5212d\>\] \_\_\_sys\_sendmsg+0x80/0xb4
        \[\<69954f45\>\] \_\_sys\_sendmsg+0x64/0xa8
    unreferenced object 0xce087000 (size 1024):
      comm "wpa\_supplicant", pid 1559, jiffies 13006305 (age 964.246s)
      hex dump (first 32 bytes):
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        10 00 07 40 00 00 00 00 00 00 00 00 00 00 00 00  ...@............
      backtrace:
        \[\<9a993714\>\] \_\_kmalloc\_track\_caller+0x230/0x600
        \[\<f83ea192\>\] kmalloc\_reserve.constprop.0+0x30/0x74
        \[\<a2c61343\>\] \_\_alloc\_skb+0xa0/0x170
        \[\<fb8a5e38\>\] \_\_netdev\_alloc\_skb+0x50/0x180
        \[\<0f9fa1d5\>\] \_\_ieee80211\_beacon\_get+0x290/0x4d4 \[mac80211\]
        \[\<7accd02d\>\] ieee80211\_beacon\_get\_tim+0x54/0x18c \[mac80211\]
        \[\<41e25cc3\>\] wfx\_start\_ap+0xc8/0x234 \[wfx\]
        \[\<93a70356\>\] ieee80211\_start\_ap+0x404/0x6b4 \[mac80211\]
        \[\<a4a661cd\>\] nl80211\_start\_ap+0x76c/0x9e0 \[cfg80211\]
        \[\<47bd8b68\>\] genl\_rcv\_msg+0x198/0x378
        \[\<453ef796\>\] netlink\_rcv\_skb+0xd0/0x130
        \[\<6b7c977a\>\] genl\_rcv+0x34/0x44
        \[\<66b2d04d\>\] netlink\_unicast+0x1b4/0x258
        \[\<f965b9b6\>\] netlink\_sendmsg+0x1e8/0x428
        \[\<aadb8231\>\] \_\_\_\_sys\_sendmsg+0x1e0/0x274
        \[\<d2b5212d\>\] \_\_\_sys\_sendmsg+0x80/0xb4

However, since the kernel is build optimized, it seems the stack is not
accurate. It appears the issue is related to wfx\_set\_mfp\_ap(). The issue
is obvious in this function: memory allocated by ieee80211\_beacon\_get()
is never released. Fixing this leak makes kmemleak happy.

## Affected and fixed versions

- Linux: \>= 268bceec1684932e194ae87877dcc73f534d921c, \< a1f57a0127b89a6b6620514564aa7eaec16d9af3; \>= 268bceec1684932e194ae87877dcc73f534d921c, \< 3a71ec74e5e3478d202a1874f085ca3ef40be49b; \>= 268bceec1684932e194ae87877dcc73f534d921c, \< 12f00a367b2b62756e0396f14b54c2c15524e1c3; \>= 268bceec1684932e194ae87877dcc73f534d921c, \< dadbb5d29d6c5f571a50272fce8c1505a9559487; \>= 268bceec1684932e194ae87877dcc73f534d921c, \< b8cfb7c819dd39965136a66fe3a7fde688d976fc (cvelist)
- Linux: 5.10 (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-26896. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26896.md
Affected: Linux >= 268bceec1684932e194ae87877dcc73f534d921c, < a1f57a0127b89a6b6620514564aa7eaec16d9af3; >= 268bceec1684932e194ae87877dcc73f534d921c, < 3a71ec74e5e3478d202a1874f085ca3ef40be49b; >= 268bceec1684932e194ae87877dcc73f534d921c, < 12f00a367b2b62756e0396f14b54c2c15524e1c3; >= 268bceec1684932e194ae87…
Fixed in: Linux 3a71ec74e5e3478d202a1874f085ca3ef40be49b, Linux 12f00a367b2b62756e0396f14b54c2c15524e1c3

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

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 268bceec1684932e194ae87877dcc73f534d921c, \< a1f57a0127b89a6b6620514564aa7eaec16d9af3; \>= 268bceec1684932e194ae87877dcc73f534d921c, \< 3a71ec74e5e3478d202a1874f085ca3ef40be49b; \>= 268bceec1684932e194ae87877dcc73f534d921c, \< 12f00a367b2b62756e0396f14b54c2c15524e1c3; \>= 268bceec1684932e194ae87877dcc73f534d921c, \< dadbb5d29d6c5f571a50272fce8c1505a9559487; \>= 268bceec1684932e194ae87877dcc73f534d921c, \< b8cfb7c819dd39965136a66fe3a7fde688d976fc; Linux 5.10.

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

Yes. Fixed in Linux 3a71ec74e5e3478d202a1874f085ca3ef40be49b, Linux 12f00a367b2b62756e0396f14b54c2c15524e1c3. No fix listed yet: follow the vendor advisory.

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

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/a1f57a0127b89a6b6620514564aa7eaec16d9af3>
- patch: <https://git.kernel.org/stable/c/3a71ec74e5e3478d202a1874f085ca3ef40be49b>
- patch: <https://git.kernel.org/stable/c/12f00a367b2b62756e0396f14b54c2c15524e1c3>
- patch: <https://git.kernel.org/stable/c/dadbb5d29d6c5f571a50272fce8c1505a9559487>
- patch: <https://git.kernel.org/stable/c/b8cfb7c819dd39965136a66fe3a7fde688d976fc>

## 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-26896>

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