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.
https://git.kernel.org/stable/c/79a307b2730e4b4e060cf3e19a6c21b87116ee78
https://git.kernel.org/stable/c/346dac35b1384af9338b34b6835e82e634ea4d2c