CVE-2022-50201: selinux: fix memleak in security_read_state_kernel()

Published Jun 18, 2025
·
Updated

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

selinux: fix memleak in securityreadstatekernel()

In this function, it directly returns the result of securityreadpolicy without freeing the allocated memory in data, cause memory leak issue, so free the memory if securityreadpolicy failed.

[PM: subject line tweak]

Affected Software

4 affected components
Linux Linux kernel
Linux Linux kernel>=5.12<5.15.61
Linux Linux kernel>=5.16<5.18.18
Linux Linux kernel>=5.19<5.19.2

Event History

Jun 18, 2025
CVE Published
via MITRE·11:03 AM
Data Sourced
via MITRE·11:03 AM
Description
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-50201?

CVE-2022-50201 is classified as a low-severity vulnerability due to the memory leak it introduces.

2

How do I fix CVE-2022-50201?

To fix CVE-2022-50201, update your Linux kernel to the latest version where the vulnerability has been addressed.

3

What impact does CVE-2022-50201 have on system performance?

CVE-2022-50201 may gradually degrade system performance over time due to memory leaks affecting available RAM.

4

Is CVE-2022-50201 specific to any version of the Linux kernel?

CVE-2022-50201 affects various versions of the Linux kernel, so it is essential to check your specific version for susceptibility.

5

How can I determine if my system is affected by CVE-2022-50201?

To determine if your system is affected by CVE-2022-50201, check your Linux kernel version and consult security advisories regarding this vulnerability.

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