# CVE-2021-47022: mt76: mt7615: fix memleak when mt7615\_unregister\_device()

> 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.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-02-28T08:13:35.243Z
- **Modified:** 2026-06-17T04:16:13.077Z

## Who should check

- Anyone running Linux \>= aec5719681405af21102c2407b01f83ed19e9833, \< 4fa28c807da54c1d720b3cc12e48eb9bea1e2c8f; \>= 1aca6c30d4b655a4fd29c4ad66985b60def88eed, \< 107bcbb219ac84d885ac63b25246f8d33212bc47; \>= a6275e934605646ef81b02d8d1164f21343149c9, \< 6c5b2b0c6e5a6ce2d8f9f85b8b72bfad60eaa506; \>= a6275e934605646ef81b02d8d1164f21343149c9, \< 8ab31da7b89f71c4c2defcca989fab7b42f87d71; \>= 5.10.21, \< 5.10.37; \>= 5.11.4, \< 5.11.21
- Anyone running Linux 5.12

## Description

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

mt76: mt7615: fix memleak when mt7615\_unregister\_device()

mt7615\_tx\_token\_put() should get call before mt76\_free\_pending\_txwi().

## Affected and fixed versions

- Linux: \>= aec5719681405af21102c2407b01f83ed19e9833, \< 4fa28c807da54c1d720b3cc12e48eb9bea1e2c8f; \>= 1aca6c30d4b655a4fd29c4ad66985b60def88eed, \< 107bcbb219ac84d885ac63b25246f8d33212bc47; \>= a6275e934605646ef81b02d8d1164f21343149c9, \< 6c5b2b0c6e5a6ce2d8f9f85b8b72bfad60eaa506; \>= a6275e934605646ef81b02d8d1164f21343149c9, \< 8ab31da7b89f71c4c2defcca989fab7b42f87d71; \>= 5.10.21, \< 5.10.37; \>= 5.11.4, \< 5.11.21 (cvelist)
- Linux: 5.12 (cvelist)

## Mitigation

- Upgrade Linux to 5.11.21 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2021-47022.md
Affected: Linux >= aec5719681405af21102c2407b01f83ed19e9833, < 4fa28c807da54c1d720b3cc12e48eb9bea1e2c8f; >= 1aca6c30d4b655a4fd29c4ad66985b60def88eed, < 107bcbb219ac84d885ac63b25246f8d33212bc47; >= a6275e934605646ef81b02d8d1164f21343149c9, < 6c5b2b0c6e5a6ce2d8f9f85b8b72bfad60eaa506; >= a6275e934605646ef81b02d…
Fixed in: Linux 4fa28c807da54c1d720b3cc12e48eb9bea1e2c8f, Linux 107bcbb219ac84d885ac63b25246f8d33212bc47, Linux 6c5b2b0c6e5a6ce2d8f9f85b8b72bfad60eaa506, Linux 8ab31da7b89f71c4c2defcca989fab7b42f87d71, Linux 5.10.37, Linux 5.11.21

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-2021-47022 being exploited?

There is no confirmed exploitation: CVE-2021-47022 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-2021-47022?

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

### Which versions are affected by CVE-2021-47022?

Linux \>= aec5719681405af21102c2407b01f83ed19e9833, \< 4fa28c807da54c1d720b3cc12e48eb9bea1e2c8f; \>= 1aca6c30d4b655a4fd29c4ad66985b60def88eed, \< 107bcbb219ac84d885ac63b25246f8d33212bc47; \>= a6275e934605646ef81b02d8d1164f21343149c9, \< 6c5b2b0c6e5a6ce2d8f9f85b8b72bfad60eaa506; \>= a6275e934605646ef81b02d8d1164f21343149c9, \< 8ab31da7b89f71c4c2defcca989fab7b42f87d71; \>= 5.10.21, \< 5.10.37; \>= 5.11.4, \< 5.11.21; Linux 5.12.

### Is there a fix for CVE-2021-47022?

Yes. Fixed in Linux 4fa28c807da54c1d720b3cc12e48eb9bea1e2c8f, Linux 107bcbb219ac84d885ac63b25246f8d33212bc47, Linux 6c5b2b0c6e5a6ce2d8f9f85b8b72bfad60eaa506, Linux 8ab31da7b89f71c4c2defcca989fab7b42f87d71, Linux 5.10.37, Linux 5.11.21. Upgrade Linux to 5.11.21 or later.

### How do I check if I'm affected by CVE-2021-47022?

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/4fa28c807da54c1d720b3cc12e48eb9bea1e2c8f>
- patch: <https://git.kernel.org/stable/c/107bcbb219ac84d885ac63b25246f8d33212bc47>
- patch: <https://git.kernel.org/stable/c/6c5b2b0c6e5a6ce2d8f9f85b8b72bfad60eaa506>
- patch: <https://git.kernel.org/stable/c/8ab31da7b89f71c4c2defcca989fab7b42f87d71>

## 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-2021-47022>

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