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 _securityread_policy failed. [PM: subject line tweak]