# CVE-2022-50714: wifi: mt76: mt7921e: fix rmmod crash in driver reload test

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 13, 2026-11-26)
- **Published:** 2025-12-24T12:22:39.059Z
- **Modified:** 2026-11-10T12:10:00.177Z

## Who should check

- Anyone running Linux \>= 1c71e03afe4b457a15e50de40006b927dfc00755, \< 1034d8e08508830161377f136a060e78fc24f2a5; \>= 1c71e03afe4b457a15e50de40006b927dfc00755, \< ccda3ebdae719d348f90563b6719fba4929ae283; \>= 1c71e03afe4b457a15e50de40006b927dfc00755, \< b5a62d612b7baf6e09884e4de94decb6391d6a9d
- Anyone running Linux 5.18

## Description

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

wifi: mt76: mt7921e: fix rmmod crash in driver reload test

In insmod/rmmod stress test, the following crash dump shows up immediately.
The problem is caused by missing mt76\_dev in mt7921\_pci\_remove(). We
should make sure the drvdata is ready before probe() finished.

\[168.862789\] ==================================================================
\[168.862797\] BUG: KASAN: user-memory-access in try\_to\_grab\_pending+0x59/0x480
\[168.862805\] Write of size 8 at addr 0000000000006df0 by task rmmod/5361
\[168.862812\] CPU: 7 PID: 5361 Comm: rmmod Tainted: G           OE     5.19.0-rc6 \#1
\[168.862816\] Hardware name: Intel(R) Client Systems NUC8i7BEH/NUC8BEB, 05/04/2020
\[168.862820\] Call Trace:
\[168.862822\]  \<TASK\>
\[168.862825\]  dump\_stack\_lvl+0x49/0x63
\[168.862832\]  print\_report.cold+0x493/0x6b7
\[168.862845\]  kasan\_report+0xa7/0x120
\[168.862857\]  kasan\_check\_range+0x163/0x200
\[168.862861\]  \_\_kasan\_check\_write+0x14/0x20
\[168.862866\]  try\_to\_grab\_pending+0x59/0x480
\[168.862870\]  \_\_cancel\_work\_timer+0xbb/0x340
\[168.862898\]  cancel\_work\_sync+0x10/0x20
\[168.862902\]  mt7921\_pci\_remove+0x61/0x1c0 \[mt7921e\]
\[168.862909\]  pci\_device\_remove+0xa3/0x1d0
\[168.862914\]  device\_remove+0xc4/0x170
\[168.862920\]  device\_release\_driver\_internal+0x163/0x300
\[168.862925\]  driver\_detach+0xc7/0x1a0
\[168.862930\]  bus\_remove\_driver+0xeb/0x2d0
\[168.862935\]  driver\_unregister+0x71/0xb0
\[168.862939\]  pci\_unregister\_driver+0x30/0x230
\[168.862944\]  mt7921\_pci\_driver\_exit+0x10/0x1b \[mt7921e\]
\[168.862949\]  \_\_x64\_sys\_delete\_module+0x2f9/0x4b0
\[168.862968\]  do\_syscall\_64+0x38/0x90
\[168.862973\]  entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

Test steps:
1. insmode
2. do not ifup
3. rmmod quickly (within 1 second)

## Affected and fixed versions

- Linux: \>= 1c71e03afe4b457a15e50de40006b927dfc00755, \< 1034d8e08508830161377f136a060e78fc24f2a5; \>= 1c71e03afe4b457a15e50de40006b927dfc00755, \< ccda3ebdae719d348f90563b6719fba4929ae283; \>= 1c71e03afe4b457a15e50de40006b927dfc00755, \< b5a62d612b7baf6e09884e4de94decb6391d6a9d (cvelist)
- Linux: 5.18 (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-2022-50714. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50714.md
Affected: Linux >= 1c71e03afe4b457a15e50de40006b927dfc00755, < 1034d8e08508830161377f136a060e78fc24f2a5; >= 1c71e03afe4b457a15e50de40006b927dfc00755, < ccda3ebdae719d348f90563b6719fba4929ae283; >= 1c71e03afe4b457a15e50de40006b927dfc00755, < b5a62d612b7baf6e09884e4de94decb6391d6a9d; Linux 5.18
Fixed in: Linux 1034d8e08508830161377f136a060e78fc24f2a5

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 1c71e03afe4b457a15e50de40006b927dfc00755, \< 1034d8e08508830161377f136a060e78fc24f2a5; \>= 1c71e03afe4b457a15e50de40006b927dfc00755, \< ccda3ebdae719d348f90563b6719fba4929ae283; \>= 1c71e03afe4b457a15e50de40006b927dfc00755, \< b5a62d612b7baf6e09884e4de94decb6391d6a9d; Linux 5.18.

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

Yes. Fixed in Linux 1034d8e08508830161377f136a060e78fc24f2a5. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/1034d8e08508830161377f136a060e78fc24f2a5>
- other: <https://git.kernel.org/stable/c/ccda3ebdae719d348f90563b6719fba4929ae283>
- other: <https://git.kernel.org/stable/c/b5a62d612b7baf6e09884e4de94decb6391d6a9d>

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

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