# CVE-2025-22032: wifi: mt76: mt7921: fix kernel panic due to null pointer dereference

> 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, CNA) `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.28% (percentile 14, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-04-16T14:11:52.044Z
- **Modified:** 2026-06-17T08:44:53.420Z

## Who should check

- Anyone running Linux \>= 3fe7acc6f4b42ccb1056c5847f18f8eb2fec0834, \< 0cfea60966e4b1239d20bebf02258295e189e82a; \>= c9e40880416791287292046917e84bcb3a17e2d2, \< effec50381991bc067acf4b3351a57831c74d27f; \>= 90c10286b176421068b136da51ed83059a68e322, \< 5a57f8eb2a17d469d65cd1186cea26b798221d4a; \>= 90c10286b176421068b136da51ed83059a68e322, \< adc3fd2a2277b7cc0b61692463771bf9bd298036; \>= 6.12.13, \< 6.12.23; \>= 6.13.2, \< 6.13.11
- Anyone running Linux 6.14

## Description

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

wifi: mt76: mt7921: fix kernel panic due to null pointer dereference

Address a kernel panic caused by a null pointer dereference in the
\`mt792x\_rx\_get\_wcid\` function. The issue arises because the \`deflink\` structure
is not properly initialized with the \`sta\` context. This patch ensures that the
\`deflink\` structure is correctly linked to the \`sta\` context, preventing the
null pointer dereference.

 BUG: kernel NULL pointer dereference, address: 0000000000000400
 \#PF: supervisor read access in kernel mode
 \#PF: error\_code(0x0000) - not-present page
 PGD 0 P4D 0
 Oops: Oops: 0000 \[\#1\] PREEMPT SMP NOPTI
 CPU: 0 UID: 0 PID: 470 Comm: mt76-usb-rx phy Not tainted 6.12.13-gentoo-dist \#1
 Hardware name:  /AMD HUDSON-M1, BIOS 4.6.4 11/15/2011
 RIP: 0010:mt792x\_rx\_get\_wcid+0x48/0x140 \[mt792x\_lib\]
 RSP: 0018:ffffa147c055fd98 EFLAGS: 00010202
 RAX: 0000000000000000 RBX: ffff8e9ecb652000 RCX: 0000000000000000
 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8e9ecb652000
 RBP: 0000000000000685 R08: ffff8e9ec6570000 R09: 0000000000000000
 R10: ffff8e9ecd2ca000 R11: ffff8e9f22a217c0 R12: 0000000038010119
 R13: 0000000080843801 R14: ffff8e9ec6570000 R15: ffff8e9ecb652000
 FS:  0000000000000000(0000) GS:ffff8e9f22a00000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 0000000000000400 CR3: 000000000d2ea000 CR4: 00000000000006f0
 Call Trace:
  \<TASK\>
  ? \_\_die\_body.cold+0x19/0x27
  ? page\_fault\_oops+0x15a/0x2f0
  ? search\_module\_extables+0x19/0x60
  ? search\_bpf\_extables+0x5f/0x80
  ? exc\_page\_fault+0x7e/0x180
  ? asm\_exc\_page\_fault+0x26/0x30
  ? mt792x\_rx\_get\_wcid+0x48/0x140 \[mt792x\_lib\]
  mt7921\_queue\_rx\_skb+0x1c6/0xaa0 \[mt7921\_common\]
  mt76u\_alloc\_queues+0x784/0x810 \[mt76\_usb\]
  ? \_\_pfx\_\_\_mt76\_worker\_fn+0x10/0x10 \[mt76\]
  \_\_mt76\_worker\_fn+0x4f/0x80 \[mt76\]
  kthread+0xd2/0x100
  ? \_\_pfx\_kthread+0x10/0x10
  ret\_from\_fork+0x34/0x50
  ? \_\_pfx\_kthread+0x10/0x10
  ret\_from\_fork\_asm+0x1a/0x30
  \</TASK\>
 ---\[ end trace 0000000000000000 \]---

## Affected and fixed versions

- Linux: \>= 3fe7acc6f4b42ccb1056c5847f18f8eb2fec0834, \< 0cfea60966e4b1239d20bebf02258295e189e82a; \>= c9e40880416791287292046917e84bcb3a17e2d2, \< effec50381991bc067acf4b3351a57831c74d27f; \>= 90c10286b176421068b136da51ed83059a68e322, \< 5a57f8eb2a17d469d65cd1186cea26b798221d4a; \>= 90c10286b176421068b136da51ed83059a68e322, \< adc3fd2a2277b7cc0b61692463771bf9bd298036; \>= 6.12.13, \< 6.12.23; \>= 6.13.2, \< 6.13.11 (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- Upgrade Linux to 6.13.11 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-22032.md
Affected: Linux >= 3fe7acc6f4b42ccb1056c5847f18f8eb2fec0834, < 0cfea60966e4b1239d20bebf02258295e189e82a; >= c9e40880416791287292046917e84bcb3a17e2d2, < effec50381991bc067acf4b3351a57831c74d27f; >= 90c10286b176421068b136da51ed83059a68e322, < 5a57f8eb2a17d469d65cd1186cea26b798221d4a; >= 90c10286b176421068b136d…
Fixed in: Linux 0cfea60966e4b1239d20bebf02258295e189e82a, Linux 5a57f8eb2a17d469d65cd1186cea26b798221d4a, Linux 6.12.23, Linux 6.13.11

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-2025-22032 being exploited?

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

### How serious is CVE-2025-22032?

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

### Which versions are affected by CVE-2025-22032?

Linux \>= 3fe7acc6f4b42ccb1056c5847f18f8eb2fec0834, \< 0cfea60966e4b1239d20bebf02258295e189e82a; \>= c9e40880416791287292046917e84bcb3a17e2d2, \< effec50381991bc067acf4b3351a57831c74d27f; \>= 90c10286b176421068b136da51ed83059a68e322, \< 5a57f8eb2a17d469d65cd1186cea26b798221d4a; \>= 90c10286b176421068b136da51ed83059a68e322, \< adc3fd2a2277b7cc0b61692463771bf9bd298036; \>= 6.12.13, \< 6.12.23; \>= 6.13.2, \< 6.13.11; Linux 6.14.

### Is there a fix for CVE-2025-22032?

Yes. Fixed in Linux 0cfea60966e4b1239d20bebf02258295e189e82a, Linux 5a57f8eb2a17d469d65cd1186cea26b798221d4a, Linux 6.12.23, Linux 6.13.11. Upgrade Linux to 6.13.11 or later.

### How do I check if I'm affected by CVE-2025-22032?

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/0cfea60966e4b1239d20bebf02258295e189e82a>
- patch: <https://git.kernel.org/stable/c/effec50381991bc067acf4b3351a57831c74d27f>
- patch: <https://git.kernel.org/stable/c/5a57f8eb2a17d469d65cd1186cea26b798221d4a>
- patch: <https://git.kernel.org/stable/c/adc3fd2a2277b7cc0b61692463771bf9bd298036>

## 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-2025-22032>

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