Bug 1220634 (CVE-2021-47021)

Summary: VUL-0: CVE-2021-47021: kernel: mt76: mt7915: memory leak in mt7915_unregister_device()
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Kernel Bugs <kernel-bugs>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P5 - None CC: carlos.lopez
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/395468/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-47021:4.1:(AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-02-29 09:42:57 UTC
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().

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47021
https://www.cve.org/CVERecord?id=CVE-2021-47021
https://git.kernel.org/stable/c/81483309ce861a9fa7835322787f68a443fea364
https://git.kernel.org/stable/c/d754c80ae82a662e692a82faad71b8c218cb7f52
https://git.kernel.org/stable/c/e9d32af478cfc3744a45245c0b126738af4b3ac4
Comment 1 Carlos López 2024-02-29 09:43:11 UTC
Already fixed in affected branches (cve/linux-5.14, SLE15-SP6, stable and master). Closing.