android_kernel_motorola_sm6375/net/nfc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jeimon f3ed12af6b net/nfc/rawsock.c: fix a permission check bug
[ Upstream commit 8ab78863e9eff11910e1ac8bcf478060c29b379e ]

The function rawsock_create() calls a privileged function sk_alloc(), which requires a ns-aware check to check net->user_ns, i.e., ns_capable(). However, the original code checks the init_user_ns using capable(). So we replace the capable() with ns_capable().

Signed-off-by: Jeimon <jjjinmeng.zhou@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-16 11:59:33 +02:00
..
hci
nci NFC: nci: fix memory leak in nci_allocate_device 2021-05-28 13:10:27 +02:00
af_nfc.c
core.c
digital.h
digital_core.c
digital_dep.c net:nfc:digital: Fix a double free in digital_tg_recv_dep_req 2021-05-14 09:44:32 +02:00
digital_technology.c
Kconfig
llcp.h
llcp_commands.c
llcp_core.c
llcp_sock.c nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect 2021-06-10 13:37:12 +02:00
Makefile
netlink.c NFC: fix possible resource leak 2021-02-03 23:26:01 +01:00
nfc.h
rawsock.c net/nfc/rawsock.c: fix a permission check bug 2021-06-16 11:59:33 +02:00