original_kernel/net/nfc
Kees Cook fe9c842695 NFC: llcp: Limit size of SDP URI
The tlv_len is u8, so we need to limit the size of the SDP URI. Enforce
this both in the NLA policy and in the code that performs the allocation
and copy, to avoid writing past the end of the allocated buffer.

Fixes: d9b8d8e19b ("NFC: llcp: Service Name Lookup netlink interface")
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-02-16 15:16:05 -05:00
..
hci
nci net: annotate ->poll() instances 2017-11-27 16:20:04 -05:00
Kconfig
Makefile
af_nfc.c
core.c
digital.h
digital_core.c
digital_dep.c
digital_technology.c
llcp.h
llcp_commands.c NFC: llcp: Limit size of SDP URI 2018-02-16 15:16:05 -05:00
llcp_core.c
llcp_sock.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
netlink.c NFC: llcp: Limit size of SDP URI 2018-02-16 15:16:05 -05:00
nfc.h
rawsock.c