# CVE-2021-47021: mt76: mt7915: fix memleak when mt7915_unregister_device()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-02-28T08:13:34.591Z
- Modified: 2026-06-17T04:16:12.863Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

mt76: mt7915: fix memleak when mt7915_unregister_device()

mt7915_tx_token_put() should get call before mt76_free_pending_txwi().

(As written by CVE List.)

## Affected

- Linux Linux: from 4e9e896f81932e337a93ad61cd3d9647571c4637 before 81483309ce861a9fa7835322787f68a443fea364; from f285dfb98562e8380101095d168910df1d07d8be before d754c80ae82a662e692a82faad71b8c218cb7f52; from f285dfb98562e8380101095d168910df1d07d8be before e9d32af478cfc3744a45245c0b126738af4b3ac4; from 5.11.4 before 5.11.21; 5.12 (not affected: before 5.12; from 5.11.21 up to 5.11.*; from 5.12.4 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 5.11.4 before 5.11.21; from 5.12 before 5.12.4

## References

- <https://git.kernel.org/stable/c/81483309ce861a9fa7835322787f68a443fea364> (patch)
- <https://git.kernel.org/stable/c/d754c80ae82a662e692a82faad71b8c218cb7f52> (patch)
- <https://git.kernel.org/stable/c/e9d32af478cfc3744a45245c0b126738af4b3ac4> (patch)

## Sources

- CVE List: [CVE-2021-47021](https://www.cve.org/CVERecord?id=CVE-2021-47021), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2021-47021](https://nvd.nist.gov/vuln/detail/CVE-2021-47021), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47021 · Whole record: https://cve.day/CVE-2021-47021.json · Rebuilt by cve.day 2026-11-25T22:58:08.619Z
