kernel_samsung_a53x/security/selinux
Zhen Lei 41930c8cd3 selinux: fix potential counting error in avc_add_xperms_decision()
commit 379d9af3f3da2da1bbfa67baf1820c72a080d1f1 upstream.

The count increases only when a node is successfully added to
the linked list.

Cc: stable@vger.kernel.org
Fixes: fa1aa143ac4a ("selinux: extended permissions for ioctls")
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:20:42 +01:00
..
include ima: Avoid blocking in RCU read-side critical section 2024-11-19 14:19:42 +01:00
ss ima: Avoid blocking in RCU read-side critical section 2024-11-19 14:19:42 +01:00
avc.c selinux: fix potential counting error in avc_add_xperms_decision() 2024-11-23 23:20:42 +01:00
hooks.c lsm: make security_socket_getpeersec_stream() sockptr_t safe 2024-11-18 23:19:51 +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 security: selinux: Disable Samsung SELinux 2024-11-17 17:07:10 +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