# CVE-2022-49328: mt76: fix use-after-free by removing a non-RCU wcid pointer

> 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.44% (percentile 30, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-02-26T02:10:49.590Z
- **Modified:** 2026-08-15T13:17:19.613Z

## Who should check

- Anyone running Linux \>= 90fdc1717b1862eb3d506733f3b3e5217bc0de20, \< 4448327b41738dbfcda680eb4935ff835568f468; \>= 90fdc1717b1862eb3d506733f3b3e5217bc0de20, \< e55bcdd0bf34a8b10d45ce80ebb3164c5292a17d; \>= 90fdc1717b1862eb3d506733f3b3e5217bc0de20, \< d5f77f1dbb59feae81f88e44551e8e1d8a802d9a; \>= 90fdc1717b1862eb3d506733f3b3e5217bc0de20, \< 51fb1278aa57ae0fc54adaa786e1965362bed4fb
- Anyone running Linux 5.2

## Description

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

mt76: fix use-after-free by removing a non-RCU wcid pointer

Fixes an issue caught by KASAN about use-after-free in mt76\_txq\_schedule
by protecting mtxq-\>wcid with rcu\_lock between mt76\_txq\_schedule and
sta\_info\_\[alloc, free\].

\[18853.876689\] ==================================================================
\[18853.876751\] BUG: KASAN: use-after-free in mt76\_txq\_schedule+0x204/0xaf8 \[mt76\]
\[18853.876773\] Read of size 8 at addr ffffffaf989a2138 by task mt76-tx phy0/883
\[18853.876786\]
\[18853.876810\] CPU: 5 PID: 883 Comm: mt76-tx phy0 Not tainted 5.10.100-fix-510-56778d365941-kasan \#5 0b01fbbcf41a530f52043508fec2e31a4215

\[18853.876840\] Call trace:
\[18853.876861\]  dump\_backtrace+0x0/0x3ec
\[18853.876878\]  show\_stack+0x20/0x2c
\[18853.876899\]  dump\_stack+0x11c/0x1ac
\[18853.876918\]  print\_address\_description+0x74/0x514
\[18853.876934\]  kasan\_report+0x134/0x174
\[18853.876948\]  \_\_asan\_report\_load8\_noabort+0x44/0x50
\[18853.876976\]  mt76\_txq\_schedule+0x204/0xaf8 \[mt76 074e03e4640e97fe7405ee1fab547b81c4fa45d2\]
\[18853.877002\]  mt76\_txq\_schedule\_all+0x2c/0x48 \[mt76 074e03e4640e97fe7405ee1fab547b81c4fa45d2\]
\[18853.877030\]  mt7921\_tx\_worker+0xa0/0x1cc \[mt7921\_common f0875ebac9d7b4754e1010549e7db50fbd90a047\]
\[18853.877054\]  \_\_mt76\_worker\_fn+0x190/0x22c \[mt76 074e03e4640e97fe7405ee1fab547b81c4fa45d2\]
\[18853.877071\]  kthread+0x2f8/0x3b8
\[18853.877087\]  ret\_from\_fork+0x10/0x30
\[18853.877098\]
\[18853.877112\] Allocated by task 941:
\[18853.877131\]  kasan\_save\_stack+0x38/0x68
\[18853.877147\]  \_\_kasan\_kmalloc+0xd4/0xfc
\[18853.877163\]  kasan\_kmalloc+0x10/0x1c
\[18853.877177\]  \_\_kmalloc+0x264/0x3c4
\[18853.877294\]  sta\_info\_alloc+0x460/0xf88 \[mac80211\]
\[18853.877410\]  ieee80211\_prep\_connection+0x204/0x1ee0 \[mac80211\]
\[18853.877523\]  ieee80211\_mgd\_auth+0x6c4/0xa4c \[mac80211\]
\[18853.877635\]  ieee80211\_auth+0x20/0x2c \[mac80211\]
\[18853.877733\]  rdev\_auth+0x7c/0x438 \[cfg80211\]
\[18853.877826\]  cfg80211\_mlme\_auth+0x26c/0x390 \[cfg80211\]
\[18853.877919\]  nl80211\_authenticate+0x6d4/0x904 \[cfg80211\]
\[18853.877938\]  genl\_rcv\_msg+0x748/0x93c
\[18853.877954\]  netlink\_rcv\_skb+0x160/0x2a8
\[18853.877969\]  genl\_rcv+0x3c/0x54
\[18853.877985\]  netlink\_unicast\_kernel+0x104/0x1ec
\[18853.877999\]  netlink\_unicast+0x178/0x268
\[18853.878015\]  netlink\_sendmsg+0x3cc/0x5f0
\[18853.878030\]  sock\_sendmsg+0xb4/0xd8
\[18853.878043\]  \_\_\_\_sys\_sendmsg+0x2f8/0x53c
\[18853.878058\]  \_\_\_sys\_sendmsg+0xe8/0x150
\[18853.878071\]  \_\_sys\_sendmsg+0xc4/0x1f4
\[18853.878087\]  \_\_arm64\_compat\_sys\_sendmsg+0x88/0x9c
\[18853.878101\]  el0\_svc\_common+0x1b4/0x390
\[18853.878115\]  do\_el0\_svc\_compat+0x8c/0xdc
\[18853.878131\]  el0\_svc\_compat+0x10/0x1c
\[18853.878146\]  el0\_sync\_compat\_handler+0xa8/0xcc
\[18853.878161\]  el0\_sync\_compat+0x188/0x1c0
\[18853.878171\]
\[18853.878183\] Freed by task 10927:
\[18853.878200\]  kasan\_save\_stack+0x38/0x68
\[18853.878215\]  kasan\_set\_track+0x28/0x3c
\[18853.878228\]  kasan\_set\_free\_info+0x24/0x48
\[18853.878244\]  \_\_kasan\_slab\_free+0x11c/0x154
\[18853.878259\]  kasan\_slab\_free+0x14/0x24
\[18853.878273\]  slab\_free\_freelist\_hook+0xac/0x1b0
\[18853.878287\]  kfree+0x104/0x390
\[18853.878402\]  sta\_info\_free+0x198/0x210 \[mac80211\]
\[18853.878515\]  \_\_sta\_info\_destroy\_part2+0x230/0x2d4 \[mac80211\]
\[18853.878628\]  \_\_sta\_info\_flush+0x300/0x37c \[mac80211\]
\[18853.878740\]  ieee80211\_set\_disassoc+0x2cc/0xa7c \[mac80211\]
\[18853.878851\]  ieee80211\_mgd\_deauth+0x4a4/0x10a0 \[mac80211\]
\[18853.878962\]  ieee80211\_deauth+0x20/0x2c \[mac80211\]
\[18853.879057\]  rdev\_deauth+0x7c/0x438 \[cfg80211\]
\[18853.879150\]  cfg80211\_mlme\_deauth+0x274/0x414 \[cfg80211\]
\[18853.879243\]  cfg80211\_mlme\_down+0xe4/0x118 \[cfg80211\]
\[18853.879335\]  cfg80211\_disconnect+0x218/0x2d8 \[cfg80211\]
\[18853.879427\]  \_\_cfg80211\_leave+0x17c/0x240 \[cfg80211\]
\[18853.879519\]  cfg80211\_leave+0x3c/0x58 \[cfg80211\]
\[18853.879611\]  wiphy\_suspend+0xdc/0x200 \[cfg80211\]
\[18853.879628\]  dpm\_run\_callback+0x58/0x408
\[18853.879642\]  \_\_device\_suspend+0x4cc/0x864
\[18853.879658\]  async\_suspend+0x34/0xf4
\[18
---truncated---

## Affected and fixed versions

- Linux: \>= 90fdc1717b1862eb3d506733f3b3e5217bc0de20, \< 4448327b41738dbfcda680eb4935ff835568f468; \>= 90fdc1717b1862eb3d506733f3b3e5217bc0de20, \< e55bcdd0bf34a8b10d45ce80ebb3164c5292a17d; \>= 90fdc1717b1862eb3d506733f3b3e5217bc0de20, \< d5f77f1dbb59feae81f88e44551e8e1d8a802d9a; \>= 90fdc1717b1862eb3d506733f3b3e5217bc0de20, \< 51fb1278aa57ae0fc54adaa786e1965362bed4fb (cvelist)
- Linux: 5.2 (cvelist)

## Mitigation

- Upgrade Linux to 51fb1278aa57ae0fc54adaa786e1965362bed4fb 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-49328. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49328.md
Affected: Linux >= 90fdc1717b1862eb3d506733f3b3e5217bc0de20, < 4448327b41738dbfcda680eb4935ff835568f468; >= 90fdc1717b1862eb3d506733f3b3e5217bc0de20, < e55bcdd0bf34a8b10d45ce80ebb3164c5292a17d; >= 90fdc1717b1862eb3d506733f3b3e5217bc0de20, < d5f77f1dbb59feae81f88e44551e8e1d8a802d9a; >= 90fdc1717b1862eb3d50673…
Fixed in: Linux 4448327b41738dbfcda680eb4935ff835568f468, Linux 51fb1278aa57ae0fc54adaa786e1965362bed4fb

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

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

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

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

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

Linux \>= 90fdc1717b1862eb3d506733f3b3e5217bc0de20, \< 4448327b41738dbfcda680eb4935ff835568f468; \>= 90fdc1717b1862eb3d506733f3b3e5217bc0de20, \< e55bcdd0bf34a8b10d45ce80ebb3164c5292a17d; \>= 90fdc1717b1862eb3d506733f3b3e5217bc0de20, \< d5f77f1dbb59feae81f88e44551e8e1d8a802d9a; \>= 90fdc1717b1862eb3d506733f3b3e5217bc0de20, \< 51fb1278aa57ae0fc54adaa786e1965362bed4fb; Linux 5.2.

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

Yes. Fixed in Linux 4448327b41738dbfcda680eb4935ff835568f468, Linux 51fb1278aa57ae0fc54adaa786e1965362bed4fb. Upgrade Linux to 51fb1278aa57ae0fc54adaa786e1965362bed4fb or later.

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

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/4448327b41738dbfcda680eb4935ff835568f468>
- patch: <https://git.kernel.org/stable/c/e55bcdd0bf34a8b10d45ce80ebb3164c5292a17d>
- patch: <https://git.kernel.org/stable/c/d5f77f1dbb59feae81f88e44551e8e1d8a802d9a>
- patch: <https://git.kernel.org/stable/c/51fb1278aa57ae0fc54adaa786e1965362bed4fb>

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

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