---
id: CVE-2022-50464
title: 'mt76: mt7915: Fix PCI device refcount leak in mt7915_pci_init_hif2()'
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 …
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 9093cfff72e3e55b703ed38fa1af87c204d89cf1 <
    8abc6579667129afd13ff2ccb0319ba3f46e6995
  - >-
    Linux >= 9093cfff72e3e55b703ed38fa1af87c204d89cf1 <
    2d4b9c7e81f3a4df27749ebecb426b145e68be2a
  - >-
    Linux >= 9093cfff72e3e55b703ed38fa1af87c204d89cf1 <
    5938196cc188ba4323bc6357f5ac55127d715888
  - Linux 5.12
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:11:30.824949Z'
published: '2025-10-01'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:20:47.051Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-50464'
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'
tags:
  - cve.org
epss: 0.00157
epssPercentile: 0.04911
ingestedAt: '2026-11-05T22:38:31.738Z'
---

## Overview

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

- `Linux >= 9093cfff72e3e55b703ed38fa1af87c204d89cf1 < 8abc6579667129afd13ff2ccb0319ba3f46e6995`
- `Linux >= 9093cfff72e3e55b703ed38fa1af87c204d89cf1 < 2d4b9c7e81f3a4df27749ebecb426b145e68be2a`
- `Linux >= 9093cfff72e3e55b703ed38fa1af87c204d89cf1 < 5938196cc188ba4323bc6357f5ac55127d715888`
- `Linux 5.12`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
