Bug 1220741 (CVE-2021-47064) - VUL-0: CVE-2021-47064: kernel: mt76: potential DMA mapping leak due to uninitialized stack variable
Summary: VUL-0: CVE-2021-47064: kernel: mt76: potential DMA mapping leak due to uninit...
Status: RESOLVED FIXED
Alias: CVE-2021-47064
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Minor
Target Milestone: ---
Assignee: Kernel Bugs
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/395875/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-47064:3.6:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-01 09:39 UTC by SMASH SMASH
Modified: 2024-03-01 09:40 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-03-01 09:39:26 UTC
In the Linux kernel, the following vulnerability has been resolved:

mt76: fix potential DMA mapping leak

With buf uninitialized in mt76_dma_tx_queue_skb_raw, its field skip_unmap
could potentially inherit a non-zero value from stack garbage.
If this happens, it will cause DMA mappings for MCU command frames to not be
unmapped after completion

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47064
https://www.cve.org/CVERecord?id=CVE-2021-47064
https://git.kernel.org/stable/c/91b9548d413fda488ea853cd1b9f59b572db3a0c
https://git.kernel.org/stable/c/9b68ce2856dadc0e1cb6fd21fbeb850da49efd08
https://git.kernel.org/stable/c/9fa26701cd1fc4d932d431971efc5746325bdfce
https://git.kernel.org/stable/c/b4403cee6400c5f679e9c4a82b91d61aa961eccf
https://bugzilla.redhat.com/show_bug.cgi?id=2267167
Comment 1 Carlos López 2024-03-01 09:40:14 UTC
Already fixed in cve/linux-5.14 and newer, older branches not affected. Closing.