diff options
author | Roman Gushchin <guro@fb.com> | 2018-10-02 04:41:53 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-10-02 14:42:23 +0200 |
commit | b0584ea66d73919cbf5878a3420a837f06ab8396 (patch) | |
tree | febb516019d892aa68bae7634ab7394419be85ab /kernel/audit.h | |
parent | bpf: harden flags check in cgroup_storage_update_elem() (diff) | |
download | linux-b0584ea66d73919cbf5878a3420a837f06ab8396.tar.xz linux-b0584ea66d73919cbf5878a3420a837f06ab8396.zip |
bpf: don't accept cgroup local storage with zero value size
Explicitly forbid creating cgroup local storage maps with zero value
size, as it makes no sense and might even cause a panic.
Reported-by: syzbot+18628320d3b14a5c459c@syzkaller.appspotmail.com
Signed-off-by: Roman Gushchin <guro@fb.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions