Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7921: fix resource leak in probe error path When pcim_iomap_region() or devm_kmemdup() fail, the code returns directly without cleaning up previously allocated resources: - mt76_device allocated by mt76_alloc_device() - pci irq vectors allocated by pci_alloc_irq_vectors() Fix this by jumping to the existing error cleanup path instead of returning directly.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected ee5bb35d2b83fadc6920aa2478326fb50ea653a9 before 79a307b2730e4b4e060cf3e19a6c21b87116ee78; affected ee5bb35d2b83fadc6920aa2478326fb50ea653a9 before 346dac35b1384af9338b34b6835e82e634ea4d2c |
| Linux / Linux | affected 7.1; unaffected 0 before 7.1; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.