summaryrefslogtreecommitdiff
path: root/Documentation/ioctl/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorIhor Solodrai <ihor.solodrai@linux.dev>2026-03-19 17:08:09 -0700
committerAlexei Starovoitov <ast@kernel.org>2026-03-21 12:51:44 -0700
commita1e5c46eaed3151be93e1aec9af0d8f8db79b8f6 (patch)
tree772297acd3f36ad1bb6afb699b838187b0f3ee32 /Documentation/ioctl/git@git.tavy.me:linux.git
parent6c2128505f61b504c79a20b89596feba61388112 (diff)
selftests/bpf: Add tests for bpf_throw lock leak from subprogs
Add test cases to ensure the verifier correctly rejects bpf_throw from subprogs when RCU, preempt, or IRQ locks are held: * reject_subprog_rcu_lock_throw: subprog acquires bpf_rcu_read_lock and then calls bpf_throw * reject_subprog_throw_preempt_lock: always-throwing subprog called while caller holds bpf_preempt_disable * reject_subprog_throw_irq_lock: always-throwing subprog called while caller holds bpf_local_irq_save Assisted-by: Claude:claude-opus-4-6 Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev> Acked-by: Yonghong Song <yonghong.song@linux.dev> Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Link: https://lore.kernel.org/r/20260320000809.643798-2-ihor.solodrai@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'Documentation/ioctl/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions