Files
kernel_xiaomi_raphael/security
Paul Moore d13bce8908 selinux: ensure the policy has been loaded before reading the sidtab stats
Check to make sure we have loaded a policy before we query the
sidtab's hash stats.  Failure to do so could result in a kernel
panic/oops due to a dereferenced NULL pointer.

Fixes: 66f8e2f03c02 ("selinux: sidtab reverse lookup hash table")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-08-15 21:16:37 +05:30
..
2019-05-27 09:37:12 +02:00