kernel_samsung_a53x/security/selinux
Thiébaud Weksteen a9949f4bc9 selinux: ignore unknown extended permissions
commit 900f83cf376bdaf798b6f5dcb2eae0c822e908b6 upstream.

When evaluating extended permissions, ignore unknown permissions instead
of calling BUG(). This commit ensures that future permissions can be
added without interfering with older kernels.

Cc: stable@vger.kernel.org
Fixes: fa1aa143ac4a ("selinux: extended permissions for ioctls")
Signed-off-by: Thiébaud Weksteen <tweek@google.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 16:29:52 +01:00
..
include selinux: cache zygote context types when loading policy 2024-11-30 02:14:49 +01:00
ss selinux: ignore unknown extended permissions 2025-01-15 16:29:52 +01:00
avc.c selinux: fix potential counting error in avc_add_xperms_decision() 2024-11-23 23:20:42 +01:00
hooks.c selinux,smack: don't bypass permissions check in inode_setsecctx hook 2024-11-23 23:21:29 +01:00
ibpkey.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig selinux: Remove audit dependency 2024-11-19 17:53:57 +01:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netif.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netlabel.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netlink.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netnode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nlmsgtab.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
selinuxfs.c selinux: cache zygote context types when loading policy 2024-11-30 02:14:49 +01:00
status.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vendor_hooks.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xfrm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00