{"id":"CVE-2022-50318","aliases":["CVE-2022-50318"],"related":[],"kind":"vulnerability","state":"published","title":"perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()\n\npci_get_device() will increase the reference count for the returned\n'dev'. We need to call pci_dev_put() to decrease the reference count.\nSince 'dev' is only used in pci_read_config_dword(), let's add\npci_dev_put() right after it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()\n\npci_get_device() will increase the reference count for the returned\n'dev'. We need to call pci_dev_put() to decrease the reference count.\nSince 'dev' is only used in pci_read_config_dword(), let's add\npci_dev_put() right after it.","source":"cvelist"}],"published":"2025-09-15T14:48:51.035Z","modified":"2026-06-17T05:23:13.497Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a8e87042482fd2d31c5cee62875b2ae75759ae8b","fixed":"5a96c10a56037db006ba6769307a9731cf6073be","status":"affected"},{"type":"git","introduced":"319a06e58ed7f1443f7133c05513de470f90628d","fixed":"e293263248f25c6b8aa1caf7c1103d40aa03311e","status":"affected"},{"type":"git","introduced":"6f8315e5d9511ed1cf28ee2afbc9f89ff693de7b","fixed":"c0539d5d474ee6fa4ebc41f927a0f98f81244f25","status":"affected"},{"type":"git","introduced":"9d480158ee86ad606d3a8baaf81e6b71acbfd7d5","fixed":"3485f197518061371568f842405159aa9e4df551","status":"affected"},{"type":"git","introduced":"9d480158ee86ad606d3a8baaf81e6b71acbfd7d5","fixed":"48f32b9a74e2ac8e854bb87bfefdbc745125a123","status":"affected"},{"type":"git","introduced":"9d480158ee86ad606d3a8baaf81e6b71acbfd7d5","fixed":"bd66877c0b3b42eed0ecee0bd2a2a505c1e54177","status":"affected"},{"type":"git","introduced":"9d480158ee86ad606d3a8baaf81e6b71acbfd7d5","fixed":"1ff9dd6e7071a561f803135c1d684b13c7a7d01d","status":"affected"},{"type":"git","version":"d2c79105a90323a2a93484c85f9ac419ae9b183d","status":"affected"},{"type":"semver","introduced":"4.19.189","fixed":"4.19.270","status":"affected"},{"type":"semver","introduced":"5.4.115","fixed":"5.4.229","status":"affected"},{"type":"semver","introduced":"5.10.33","fixed":"5.10.163","status":"affected"},{"type":"semver","introduced":"5.11.17","fixed":"5.12","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.19.189","fixed":"4.19.270"},{"status":"affected","introduced":"5.4.115","fixed":"5.4.229"},{"status":"affected","introduced":"5.10.33","fixed":"5.10.163"},{"status":"affected","introduced":"5.11.17","fixed":"5.12"},{"status":"affected","introduced":"5.12.1","fixed":"5.15.86"},{"status":"affected","introduced":"5.16","fixed":"6.0.16"},{"status":"affected","introduced":"6.1","fixed":"6.1.2"},{"status":"affected","version":"5.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5a96c10a56037db006ba6769307a9731cf6073be","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e293263248f25c6b8aa1caf7c1103d40aa03311e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c0539d5d474ee6fa4ebc41f927a0f98f81244f25","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3485f197518061371568f842405159aa9e4df551","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/48f32b9a74e2ac8e854bb87bfefdbc745125a123","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd66877c0b3b42eed0ecee0bd2a2a505c1e54177","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1ff9dd6e7071a561f803135c1d684b13c7a7d01d","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50318","url":"https://www.cve.org/CVERecord?id=CVE-2022-50318","licence":"CVE Terms of Use","modified":"2026-05-23T15:24:15.241Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50318","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50318","licence":"Public domain","modified":"2026-06-17T05:23:13.497Z"}],"updatedAt":"2026-11-25T22:58:21.162Z","epss":{"score":0.00166,"percentile":0.06145,"date":"2026-12-02T12:00:21.000Z"}}