CVE-2022-50318

Source
https://cve.org/CVERecord?id=CVE-2022-50318
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50318.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50318
Downstream
Related
Published
2025-09-15T14:48:51.035Z
Modified
2026-03-20T11:47:23.246245Z
Summary
perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

pcigetdevice() will increase the reference count for the returned 'dev'. We need to call pcidevput() to decrease the reference count. Since 'dev' is only used in pcireadconfigdword(), let's add pcidev_put() right after it.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50318.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a8e87042482fd2d31c5cee62875b2ae75759ae8b
Fixed
5a96c10a56037db006ba6769307a9731cf6073be
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
319a06e58ed7f1443f7133c05513de470f90628d
Fixed
e293263248f25c6b8aa1caf7c1103d40aa03311e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6f8315e5d9511ed1cf28ee2afbc9f89ff693de7b
Fixed
c0539d5d474ee6fa4ebc41f927a0f98f81244f25
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9d480158ee86ad606d3a8baaf81e6b71acbfd7d5
Fixed
3485f197518061371568f842405159aa9e4df551
Fixed
48f32b9a74e2ac8e854bb87bfefdbc745125a123
Fixed
bd66877c0b3b42eed0ecee0bd2a2a505c1e54177
Fixed
1ff9dd6e7071a561f803135c1d684b13c7a7d01d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
d2c79105a90323a2a93484c85f9ac419ae9b183d

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50318.json"