CVE-2022-50201

Medium

Description

In the Linux kernel, the following vulnerability has been resolved: selinux: fix memleak in security_read_state_kernel() In this function, it directly returns the result of __security_read_policy without freeing the allocated memory in *data, cause memory leak issue, so free the memory if __security_read_policy failed. [PM: subject line tweak]

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedJun 18, 2025
First seenJun 18, 2025
Weakness typeCWE-401CWE-401

How to fix

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.12 ≤ v < 5.15.61, 5.16 ≤ v < 5.18.18, 5.19 ≤ v < 5.19.25.15.61, 5.18.18, 5.19.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.