Vulnerability 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]
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.12, < 5.15.61 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/1fc1f72aad2070d34022d0823e4cf09706b53f25Patch
- https://git.kernel.org/stable/c/73de1befcc53a7c68b0c5e76b9b5ac41c517760fPatch
- https://git.kernel.org/stable/c/c877c5217145bda8fd95f506bf42f8d981afa57dPatch
- https://git.kernel.org/stable/c/f3cd7562c0a6774fc62d79654482014020e574f5Patch
FAQ
What is CVE-2022-50201?
CVE-2022-50201 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 wi...
How severe is CVE-2022-50201?
CVE-2022-50201 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-50201?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.