NetSight
medium5.5

CVE-2022-50201

In the Linux kernel, the following vulnerability has been resolved: selinux: fix memleak in security_read_state_kernel() In this function, it directly returns …

Impact

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]

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.12 before 5.15.61
from 5.16 before 5.18.18
from 5.19 before 5.19.2

Weakness classification

References