android_kernel_xiaomi_sm7250/security/selinux
Xiu Jianfeng 477722f31a selinux: Add boundary check in put_entry()
[ Upstream commit 15ec76fb29be31df2bccb30fc09875274cba2776 ]

Just like next_entry(), boundary check is necessary to prevent memory
out-of-bound access.

Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-25 11:15:00 +02:00
..
include
ss selinux: Add boundary check in put_entry() 2022-08-25 11:15:00 +02:00
.gitignore
avc.c selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC 2021-07-20 16:16:01 +02:00
exports.c
hooks.c selinux: initialize proto variable in selinux_ip_postroute_compat() 2022-01-05 12:34:58 +01:00
ibpkey.c
Kconfig
Makefile
netif.c
netlabel.c
netlink.c
netnode.c
netport.c
nlmsgtab.c
selinuxfs.c
xfrm.c selinux: use correct type for context length 2022-04-15 14:14:53 +02:00