# CVE-2022-50408: wifi: brcmfmac: fix use-after-free bug in brcmf\_netdev\_start\_xmit()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-09-18T16:03:53.197Z
- **Modified:** 2026-08-05T08:58:38.195Z

## Who should check

- Anyone running Linux \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< 1613a7b24f1a7467cb727ba3ec77c9a808383560; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< d79f4d903e14dde822c60b5fd3bedc5a289d25df; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< 49c742afd60f552fce7799287080db02bffe1db2; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< e01d96494a9de0f48b1167f0494f6d929fa773ed; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< 232d59eca07f6ea27307022a33d226aff373bd02; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< 27574a3f421c3a1694d0207f37c6bbf23d66978e; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< c369836cff98d3877f98c98e15c0151462812d96; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< 3f42faf6db431e04bf942d2ebe3ae88975723478
- Anyone running Linux 3.9

## Description

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

wifi: brcmfmac: fix use-after-free bug in brcmf\_netdev\_start\_xmit()

\> ret = brcmf\_proto\_tx\_queue\_data(drvr, ifp-\>ifidx, skb);

may be schedule, and then complete before the line

\> ndev-\>stats.tx\_bytes += skb-\>len;

\[   46.912801\] ==================================================================
\[   46.920552\] BUG: KASAN: use-after-free in brcmf\_netdev\_start\_xmit+0x718/0x8c8 \[brcmfmac\]
\[   46.928673\] Read of size 4 at addr ffffff803f5882e8 by task systemd-resolve/328
\[   46.935991\]
\[   46.937514\] CPU: 1 PID: 328 Comm: systemd-resolve Tainted: G           O      5.4.199-\[REDACTED\] \#1
\[   46.947255\] Hardware name: \[REDACTED\]
\[   46.954568\] Call trace:
\[   46.957037\]  dump\_backtrace+0x0/0x2b8
\[   46.960719\]  show\_stack+0x24/0x30
\[   46.964052\]  dump\_stack+0x128/0x194
\[   46.967557\]  print\_address\_description.isra.0+0x64/0x380
\[   46.972877\]  \_\_kasan\_report+0x1d4/0x240
\[   46.976723\]  kasan\_report+0xc/0x18
\[   46.980138\]  \_\_asan\_report\_load4\_noabort+0x18/0x20
\[   46.985027\]  brcmf\_netdev\_start\_xmit+0x718/0x8c8 \[brcmfmac\]
\[   46.990613\]  dev\_hard\_start\_xmit+0x1bc/0xda0
\[   46.994894\]  sch\_direct\_xmit+0x198/0xd08
\[   46.998827\]  \_\_qdisc\_run+0x37c/0x1dc0
\[   47.002500\]  \_\_dev\_queue\_xmit+0x1528/0x21f8
\[   47.006692\]  dev\_queue\_xmit+0x24/0x30
\[   47.010366\]  neigh\_resolve\_output+0x37c/0x678
\[   47.014734\]  ip\_finish\_output2+0x598/0x2458
\[   47.018927\]  \_\_ip\_finish\_output+0x300/0x730
\[   47.023118\]  ip\_output+0x2e0/0x430
\[   47.026530\]  ip\_local\_out+0x90/0x140
\[   47.030117\]  igmpv3\_sendpack+0x14c/0x228
\[   47.034049\]  igmpv3\_send\_cr+0x384/0x6b8
\[   47.037895\]  igmp\_ifc\_timer\_expire+0x4c/0x118
\[   47.042262\]  call\_timer\_fn+0x1cc/0xbe8
\[   47.046021\]  \_\_run\_timers+0x4d8/0xb28
\[   47.049693\]  run\_timer\_softirq+0x24/0x40
\[   47.053626\]  \_\_do\_softirq+0x2c0/0x117c
\[   47.057387\]  irq\_exit+0x2dc/0x388
\[   47.060715\]  \_\_handle\_domain\_irq+0xb4/0x158
\[   47.064908\]  gic\_handle\_irq+0x58/0xb0
\[   47.068581\]  el0\_irq\_naked+0x50/0x5c
\[   47.072162\]
\[   47.073665\] Allocated by task 328:
\[   47.077083\]  save\_stack+0x24/0xb0
\[   47.080410\]  \_\_kasan\_kmalloc.isra.0+0xc0/0xe0
\[   47.084776\]  kasan\_slab\_alloc+0x14/0x20
\[   47.088622\]  kmem\_cache\_alloc+0x15c/0x468
\[   47.092643\]  \_\_alloc\_skb+0xa4/0x498
\[   47.096142\]  igmpv3\_newpack+0x158/0xd78
\[   47.099987\]  add\_grhead+0x210/0x288
\[   47.103485\]  add\_grec+0x6b0/0xb70
\[   47.106811\]  igmpv3\_send\_cr+0x2e0/0x6b8
\[   47.110657\]  igmp\_ifc\_timer\_expire+0x4c/0x118
\[   47.115027\]  call\_timer\_fn+0x1cc/0xbe8
\[   47.118785\]  \_\_run\_timers+0x4d8/0xb28
\[   47.122457\]  run\_timer\_softirq+0x24/0x40
\[   47.126389\]  \_\_do\_softirq+0x2c0/0x117c
\[   47.130142\]
\[   47.131643\] Freed by task 180:
\[   47.134712\]  save\_stack+0x24/0xb0
\[   47.138041\]  \_\_kasan\_slab\_free+0x108/0x180
\[   47.142146\]  kasan\_slab\_free+0x10/0x18
\[   47.145904\]  slab\_free\_freelist\_hook+0xa4/0x1b0
\[   47.150444\]  kmem\_cache\_free+0x8c/0x528
\[   47.154292\]  kfree\_skbmem+0x94/0x108
\[   47.157880\]  consume\_skb+0x10c/0x5a8
\[   47.161466\]  \_\_dev\_kfree\_skb\_any+0x88/0xa0
\[   47.165598\]  brcmu\_pkt\_buf\_free\_skb+0x44/0x68 \[brcmutil\]
\[   47.171023\]  brcmf\_txfinalize+0xec/0x190 \[brcmfmac\]
\[   47.176016\]  brcmf\_proto\_bcdc\_txcomplete+0x1c0/0x210 \[brcmfmac\]
\[   47.182056\]  brcmf\_sdio\_sendfromq+0x8dc/0x1e80 \[brcmfmac\]
\[   47.187568\]  brcmf\_sdio\_dpc+0xb48/0x2108 \[brcmfmac\]
\[   47.192529\]  brcmf\_sdio\_dataworker+0xc8/0x238 \[brcmfmac\]
\[   47.197859\]  process\_one\_work+0x7fc/0x1a80
\[   47.201965\]  worker\_thread+0x31c/0xc40
\[   47.205726\]  kthread+0x2d8/0x370
\[   47.208967\]  ret\_from\_fork+0x10/0x18
\[   47.212546\]
\[   47.214051\] The buggy address belongs to the object at ffffff803f588280
\[   47.214051\]  which belongs to the cache skbuff\_head\_cache of size 208
\[   47.227086\] The buggy address is located 104 bytes inside of
\[   47.227086\]  208-byte region \[ffffff803f588280, ffffff803f588350)
\[   47.238814\] The buggy address belongs to the page:
\[   47.243618\] page:ffffffff00dd6200 refcount:1 mapcou
---truncated---

## Affected and fixed versions

- Linux: \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< 1613a7b24f1a7467cb727ba3ec77c9a808383560; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< d79f4d903e14dde822c60b5fd3bedc5a289d25df; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< 49c742afd60f552fce7799287080db02bffe1db2; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< e01d96494a9de0f48b1167f0494f6d929fa773ed; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< 232d59eca07f6ea27307022a33d226aff373bd02; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< 27574a3f421c3a1694d0207f37c6bbf23d66978e; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< c369836cff98d3877f98c98e15c0151462812d96; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< 3f42faf6db431e04bf942d2ebe3ae88975723478 (cvelist)
- Linux: 3.9 (cvelist)

## Mitigation

- Upgrade Linux to 3f42faf6db431e04bf942d2ebe3ae88975723478 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-50408.md
Affected: Linux >= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, < 1613a7b24f1a7467cb727ba3ec77c9a808383560; >= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, < d79f4d903e14dde822c60b5fd3bedc5a289d25df; >= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, < 49c742afd60f552fce7799287080db02bffe1db2; >= b1a2a41126fc582a3d5613a…
Fixed in: Linux 1613a7b24f1a7467cb727ba3ec77c9a808383560, Linux 49c742afd60f552fce7799287080db02bffe1db2, Linux 232d59eca07f6ea27307022a33d226aff373bd02, Linux 27574a3f421c3a1694d0207f37c6bbf23d66978e, Linux 3f42faf6db431e04bf942d2ebe3ae88975723478

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-2022-50408 being exploited?

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

### How serious is CVE-2022-50408?

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

### Which versions are affected by CVE-2022-50408?

Linux \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< 1613a7b24f1a7467cb727ba3ec77c9a808383560; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< d79f4d903e14dde822c60b5fd3bedc5a289d25df; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< 49c742afd60f552fce7799287080db02bffe1db2; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< e01d96494a9de0f48b1167f0494f6d929fa773ed; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< 232d59eca07f6ea27307022a33d226aff373bd02; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< 27574a3f421c3a1694d0207f37c6bbf23d66978e; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< c369836cff98d3877f98c98e15c0151462812d96; \>= b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4, \< 3f42faf6db431e04bf942d2ebe3ae88975723478; Linux 3.9.

### Is there a fix for CVE-2022-50408?

Yes. Fixed in Linux 1613a7b24f1a7467cb727ba3ec77c9a808383560, Linux 49c742afd60f552fce7799287080db02bffe1db2, Linux 232d59eca07f6ea27307022a33d226aff373bd02, Linux 27574a3f421c3a1694d0207f37c6bbf23d66978e, Linux 3f42faf6db431e04bf942d2ebe3ae88975723478. Upgrade Linux to 3f42faf6db431e04bf942d2ebe3ae88975723478 or later.

### How do I check if I'm affected by CVE-2022-50408?

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/1613a7b24f1a7467cb727ba3ec77c9a808383560>
- patch: <https://git.kernel.org/stable/c/d79f4d903e14dde822c60b5fd3bedc5a289d25df>
- patch: <https://git.kernel.org/stable/c/49c742afd60f552fce7799287080db02bffe1db2>
- patch: <https://git.kernel.org/stable/c/e01d96494a9de0f48b1167f0494f6d929fa773ed>
- patch: <https://git.kernel.org/stable/c/232d59eca07f6ea27307022a33d226aff373bd02>
- patch: <https://git.kernel.org/stable/c/27574a3f421c3a1694d0207f37c6bbf23d66978e>
- patch: <https://git.kernel.org/stable/c/c369836cff98d3877f98c98e15c0151462812d96>
- patch: <https://git.kernel.org/stable/c/3f42faf6db431e04bf942d2ebe3ae88975723478>

## 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-2022-50408>

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