CVE-2022-50318: perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()

Published Sep 15, 2025
·
Updated

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

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

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 pcidevput() right after it.

Affected Software

9 affected components
Linux Linux kernel
Linux Linux kernel>=4.19.189<4.19.270
Linux Linux kernel>=5.4.115<5.4.229
Linux Linux kernel>=5.10.33<5.10.163
Linux Linux kernel>=5.11.17<5.12
Linux Linux kernel>=5.12.1<5.15.86
Linux Linux kernel>=5.16<6.0.16
Linux Linux kernel>=6.1<6.1.2
Linux Linux kernel=5.12

Event History

Sep 15, 2025
CVE Published
via MITRE·02:48 PM
Data Sourced
via MITRE·02:48 PM
Description
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-50318?

CVE-2022-50318 has a moderate severity rating due to its potential impact on system stability.

2

How do I fix CVE-2022-50318?

To fix CVE-2022-50318, update the Linux kernel to the latest stable version that includes the patch.

3

What systems are affected by CVE-2022-50318?

CVE-2022-50318 affects the Linux kernel across various distributions that include vulnerable versions.

4

What is the nature of the vulnerability described in CVE-2022-50318?

CVE-2022-50318 is a reference count leak issue in the perf subsystem of the Linux kernel.

5

Is there any known exploit for CVE-2022-50318?

As of now, there are no publicly known exploits for CVE-2022-50318, but it is advisable to apply the patch promptly.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203