mt76: mt7915: Fix PCI device refcount leak in mt7915_pci_init_hif2()
Published Oct 1, 2025
5.5
MEDIUMCVSS 3.1
EPSS 0.15%
Description
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 products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 5.12StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<5.12
- Version 6.0.16StatusunaffectedConstraints<=6.0.*
- Version 6.1.2StatusunaffectedConstraints<=6.1.*
- Version 6.2StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- ≥ 5.12 · < 6.0.16
- ≥ 6.1 · < 6.1.2
No data.
Red Hat Enterprise Linux 8
kernel-0:4.18.0-513.5.1.el8_9
Fixed · RHSA-2023:7077
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Fix deferred
Red Hat Enterprise Linux 9
kernel
Fix deferred
Red Hat Enterprise Linux 9
kernel-rt
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-513.5.1.el8_9 | Fixed | RHSA-2023:7077 |
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (9)
- https://access.redhat.com/security/cve/CVE-2022-50464 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2400807 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-32827 Advisory
- https://git.kernel.org/stable/c/2d4b9c7e81f3a4df27749ebecb426b145e68be2a Patch
- https://git.kernel.org/stable/c/5938196cc188ba4323bc6357f5ac55127d715888 Patch
- https://git.kernel.org/stable/c/8abc6579667129afd13ff2ccb0319ba3f46e6995 Patch
- https://lore.kernel.org/linux-cve-announce/2025100121-CVE-2022-50464-3c96@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-50464
- https://www.cve.org/CVERecord?id=CVE-2022-50464
Change history (0)
No recorded changes yet.