diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2024-07-02 01:40:29 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2024-07-02 18:31:52 +0200 |
commit | 490c99d4ed99bb01dac8bf2896e27941403549c4 (patch) | |
tree | 7ae6854096191d17f8368bf5ce95fc8c658c48e9 /kernel/bpf/task_iter.c | |
parent | b6349fd3448cf349af327f90585a712d60265429 (diff) |
selftests/bpf: Add UAF tests for arena atomics
Check that __sync_*() functions don't cause kernel panics when handling
freed arena pages.
x86_64 does not support some arena atomics yet, and aarch64 may or may
not support them, based on the availability of LSE atomics at run time.
Do not enable this test for these architectures for simplicity.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20240701234304.14336-12-iii@linux.ibm.com
Diffstat (limited to 'kernel/bpf/task_iter.c')
0 files changed, 0 insertions, 0 deletions