← CVE Intelligence

CVE-2022-50615

perf/x86/intel/uncore: Fix reference count leak in snr_uncore_mmio_map() PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: perf/x86/intel/uncore: Fix reference count leak in snr_uncore_mmio_map() pci_get_device() will increase the reference count for the returned pci_dev, so snr_uncore_get_mc_dev() will return a pci_dev with its reference count increased. We need to call pci_dev_put() to decrease the reference count. Let's add the missing pci_dev_put().

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected ee49532b38dd084650bf715eabe7e3828fb8d275 before d2afced51108813256d8072c6e464b0c9f0bb890; affected ee49532b38dd084650bf715eabe7e3828fb8d275 before 433bd587dca5c3f7157fef2fe571290cd392cbf6; affected ee49532b38dd084650bf715eabe7e3828fb8d275 before a67146437b6428069b71a7e5e740a2a8e1c40ac9; affected ee49532b38dd084650bf715eabe7e3828fb8d275 before dc7f07bc1ebb56a23fd1c4f664db5cbeb8900800; affected ee49532b38dd084650bf715eabe7e3828fb8d275 before 8ebd16c11c346751b3944d708e6c181ed4746c39
Linux / Linuxaffected 5.3; unaffected 0 before 5.3; unaffected 5.10.163 through 5.10.*; unaffected 5.15.86 through 5.15.*; unaffected 6.0.16 through 6.0.*; unaffected 6.1.2 through 6.1.*; unaffected 6.2 through *

CWE

No CWE identifiers supplied.

References