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

CVE-2022-50318
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox() pci_get_device() will increase the reference count for the returned 'dev'. We need to call pci_dev_put() to decrease the reference count. Since 'dev' is only used in pci_read_config_dword(), let's add pci_dev_put() right after it.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected a8e87042482fd2d31c5cee62875b2ae75759ae8b < 5a96c10a56037db006ba6769307a9731cf6073be ; affected 319a06e58ed7f1443f7133c05513de470f90628d < e293263248f25c6b8aa1caf7c1103d40aa03311e ; affected 6f8315e5d9511ed1cf28ee2afbc9f89ff693de7b < c0539d5d474ee6fa4ebc41f927a0f98f81244f25 ; affected 9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 < 3485f197518061371568f842405159aa9e4df551 ; affected 9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 < 48f32b9a74e2ac8e854bb87bfefdbc745125a123 ; affected 9d480158ee86ad606d3a8baaf81e6b71acbfd7d5 < bd66877c0b3b42eed0ecee0bd2a2a505c1e54177
Linux · Linuxaffected 5.12 ; unaffected 0 < 5.12 ; unaffected 4.19.270 ≤ 4.19.* ; unaffected 5.4.229 ≤ 5.4.* ; unaffected 5.10.163 ≤ 5.10.* ; unaffected 5.15.86 ≤ 5.15.*

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