In the Linux kernel, the following vulnerability has been resolved:
selinux: fix memleak in securityreadstate_kernel()
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]