CVE-2022-50464

Summary

In the Linux kernel, the following vulnerability has been resolved:

mt76: mt7915: Fix PCI device refcount leak in mt7915_pci_init_hif2()

As comment of pci_get_device() says, it returns a pci_device with its refcount increased. We need to call pci_dev_put() to decrease the refcount. Save the return value of pci_get_device() and call pci_dev_put() to decrease the refcount.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux9093cfff72e3e55b703ed38fa1af87c204d89cf1 < 8abc6579667129afd13ff2ccb0319ba3f46e6995affected
LinuxLinux9093cfff72e3e55b703ed38fa1af87c204d89cf1 < 2d4b9c7e81f3a4df27749ebecb426b145e68be2aaffected
LinuxLinux9093cfff72e3e55b703ed38fa1af87c204d89cf1 < 5938196cc188ba4323bc6357f5ac55127d715888affected
LinuxLinux5.12affected
LinuxLinux0 < 5.12unaffected
LinuxLinux6.0.16 <= 6.0.*unaffected
LinuxLinux6.1.2 <= 6.1.*unaffected
LinuxLinux6.2 <= *unaffected

Weaknesses

References