summaryrefslogtreecommitdiffstats
path: root/kernel/Kconfig.freezer
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-02-14 00:33:52 +0100
committerAlexei Starovoitov <ast@kernel.org>2018-02-14 04:19:15 +0100
commit952fad8e323975c4e826b659087d2648777594a6 (patch)
treeb975a4eda33630af0c7e11d8b76d1184eb6ba5d9 /kernel/Kconfig.freezer
parentbpf: fix memory leak in lpm_trie map_free callback function (diff)
downloadlinux-952fad8e323975c4e826b659087d2648777594a6.tar.xz
linux-952fad8e323975c4e826b659087d2648777594a6.zip
bpf: fix sock_map_alloc() error path
In case user program provides silly parameters, we want a map_alloc() handler to return an error, not a NULL pointer, otherwise we crash later in find_and_alloc_map() Fixes: 1aa12bdf1bfb ("bpf: sockmap, add sock close() hook to remove socks") Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-by: syzbot <syzkaller@googlegroups.com> Acked-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/Kconfig.freezer')
0 files changed, 0 insertions, 0 deletions