{"id":"CVE-2022-50464","state":"PUBLISHED","title":"mt76: mt7915: Fix PCI device refcount leak in mt7915_pci_init_hif2()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmt76: mt7915: Fix PCI device refcount leak in mt7915_pci_init_hif2()\n\nAs comment of pci_get_device() says, it returns a pci_device with its\nrefcount increased. We need to call pci_dev_put() to decrease the\nrefcount. Save the return value of pci_get_device() and call\npci_dev_put() to decrease the refcount.","publishedAt":"2025-10-01T11:45:35.878Z","updatedAt":"2026-05-11T19:19:57.801Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9093cfff72e3e55b703ed38fa1af87c204d89cf1","status":"affected","lessThan":"8abc6579667129afd13ff2ccb0319ba3f46e6995","versionType":"git"},{"version":"9093cfff72e3e55b703ed38fa1af87c204d89cf1","status":"affected","lessThan":"2d4b9c7e81f3a4df27749ebecb426b145e68be2a","versionType":"git"},{"version":"9093cfff72e3e55b703ed38fa1af87c204d89cf1","status":"affected","lessThan":"5938196cc188ba4323bc6357f5ac55127d715888","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt7915/pci.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.12","versionType":"semver"},{"version":"6.0.16","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1.2","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt7915/pci.c"]}],"references":["https://git.kernel.org/stable/c/8abc6579667129afd13ff2ccb0319ba3f46e6995","https://git.kernel.org/stable/c/2d4b9c7e81f3a4df27749ebecb426b145e68be2a","https://git.kernel.org/stable/c/5938196cc188ba4323bc6357f5ac55127d715888"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/50xxx/CVE-2022-50464.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50464","state":"PUBLISHED","datePublished":"2025-10-01T11:45:35.878Z","dateUpdated":"2026-05-11T19:19:57.801Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-10-01T11:38:45.641Z"},"containers":{"cna":{"title":"mt76: mt7915: Fix PCI device refcount leak in mt7915_pci_init_hif2()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmt76: mt7915: Fix PCI device refcount leak in mt7915_pci_init_hif2()\n\nAs comment of pci_get_device() says, it returns a pci_device with its\nrefcount increased. We need to call pci_dev_put() to decrease the\nrefcount. Save the return value of pci_get_device() and call\npci_dev_put() to decrease the refcount."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9093cfff72e3e55b703ed38fa1af87c204d89cf1","status":"affected","lessThan":"8abc6579667129afd13ff2ccb0319ba3f46e6995","versionType":"git"},{"version":"9093cfff72e3e55b703ed38fa1af87c204d89cf1","status":"affected","lessThan":"2d4b9c7e81f3a4df27749ebecb426b145e68be2a","versionType":"git"},{"version":"9093cfff72e3e55b703ed38fa1af87c204d89cf1","status":"affected","lessThan":"5938196cc188ba4323bc6357f5ac55127d715888","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt7915/pci.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.12","versionType":"semver"},{"version":"6.0.16","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1.2","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt7915/pci.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8abc6579667129afd13ff2ccb0319ba3f46e6995"},{"url":"https://git.kernel.org/stable/c/2d4b9c7e81f3a4df27749ebecb426b145e68be2a"},{"url":"https://git.kernel.org/stable/c/5938196cc188ba4323bc6357f5ac55127d715888"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:19:57.801Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"6.0.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"6.1.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"6.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}