kernel_samsung_a53x/security
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
..
apparmor apparmor: test: Fix memory leak for aa_unpack_strdup() 2024-12-17 13:24:18 +01:00
bpf Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
integrity ima: Avoid blocking in RCU read-side critical section 2024-11-19 14:19:42 +01:00
keys security/keys: fix slab-out-of-bounds in key_task_permission 2024-11-30 02:33:21 +01:00
loadpin Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lockdown Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
safesetid Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
samsung security: samsung: defex_lsm: nuke 2024-06-15 16:20:49 -03:00
sdp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
selinux selinux: ignore unknown extended permissions 2025-01-15 16:29:52 +01:00
smack Revert "smack: tcp: ipv4, fix incorrect labeling" 2024-11-24 00:23:47 +01:00
tomoyo Revert "tomoyo: fallback to realpath if symlink's pathname does not exist" 2024-11-24 00:23:01 +01:00
yama Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
commoncap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
device_cgroup.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Revert "proc: add config & param to block forcing mem writes" 2024-11-24 00:23:07 +01:00
Kconfig.hardening mm: add support for verifying page sanitization 2024-11-30 02:17:18 +01:00
lsm_audit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile selinux: Remove audit dependency 2024-11-19 17:53:57 +01:00
min_addr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
security.c ima: Avoid blocking in RCU read-side critical section 2024-11-19 14:19:42 +01:00