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

CVE-2022-50615
Not available

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

Description

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().

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected ee49532b38dd084650bf715eabe7e3828fb8d275 < d2afced51108813256d8072c6e464b0c9f0bb890 ; affected ee49532b38dd084650bf715eabe7e3828fb8d275 < 433bd587dca5c3f7157fef2fe571290cd392cbf6 ; affected ee49532b38dd084650bf715eabe7e3828fb8d275 < a67146437b6428069b71a7e5e740a2a8e1c40ac9 ; affected ee49532b38dd084650bf715eabe7e3828fb8d275 < dc7f07bc1ebb56a23fd1c4f664db5cbeb8900800 ; affected ee49532b38dd084650bf715eabe7e3828fb8d275 < 8ebd16c11c346751b3944d708e6c181ed4746c39
Linux · Linuxaffected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.10.163 ≤ 5.10.* ; unaffected 5.15.86 ≤ 5.15.* ; unaffected 6.0.16 ≤ 6.0.* ; unaffected 6.1.2 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD