
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49476 affects the Linux kernel's mt76 wireless driver, specifically the mt7921 PCI device removal functionality. The vulnerability was discovered in the mt7921_pci_remove function where a race condition could occur during device removal, potentially leading to a kernel NULL pointer dereference (Kernel Git).
The vulnerability occurs when mt7921_irq_handler is called while devm_free_irq is being handled during device removal. The issue stems from freeing the mt76 device too early in the removal process, which can lead to a NULL pointer dereference at address 0x0000000000000008. This happens because the interrupt handler might still be accessing device resources after they've been freed (Kernel Git).
When triggered, this vulnerability causes a kernel crash due to NULL pointer dereference, resulting in a system panic. This can lead to system instability and potential denial of service conditions (Debian Security).
The vulnerability is triggered during the device removal process, specifically when unbinding the driver. While it requires access to perform driver operations, the issue can be reliably reproduced during system suspend operations or driver unloading (Kernel Git).
The issue has been fixed by postponing the mt76_free_device call until after devm_free_irq is completed. The fix moves the mt76_free_device call from mt7921e_unregister_device to mt7921_pci_remove, ensuring proper resource cleanup ordering. Fixed versions are available in various Linux distributions including Debian Bullseye (5.10.234-1) and Bookworm (6.1.129-1) (Debian Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."