aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2024-07-21 14:45:08 -0400
committerAl Viro <[email protected]>2024-08-12 21:58:44 -0400
commit046667c4d3196938e992fba0dfcde570aa85cd0e (patch)
tree282b1588197e90255a770e210c92fa3820e38157 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent9a2fa1472083580b6c66bdaf291f591e1170123a (diff)
memcg_write_event_control(): fix a user-triggerable oops
we are *not* guaranteed that anything past the terminating NUL is mapped (let alone initialized with anything sane). Fixes: 0dea116876ee ("cgroup: implement eventfd-based generic API for notifications") Cc: [email protected] Cc: Andrew Morton <[email protected]> Acked-by: Michal Hocko <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions