commit | 2dabe6a872a5744865372eb30ea51e8ccd21305a | [log] [tgz] |
---|---|---|
author | Xiu Jianfeng <xiujianfeng@huawei.com> | Tue Jun 14 10:14:49 2022 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Aug 25 11:11:14 2022 +0200 |
tree | 63658a46262c48745ca8a4c2d3f7f13192ea3ac1 | |
parent | 8c90947e5f1801e6c7120021c6ea0f3ad6a4eb91 [diff] |
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>