summaryrefslogtreecommitdiff
path: root/Documentation/console/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2026-03-21 13:14:28 -0700
committerAlexei Starovoitov <ast@kernel.org>2026-03-21 13:14:29 -0700
commit06880982c63012eb392df64c1ca587c294a72226 (patch)
treee0d5508ea5e5342b229d8ef740f2d85398cafa5d /Documentation/console/git@git.tavy.me:linux.git
parent1abd3feb36636b28d7722851fc0c8d392a87e12d (diff)
parent0ad1734cc5598d3ddb6126a8960efe85f0f807d7 (diff)
Merge branch 'bpf-fix-unsound-scalar-forking-for-bpf_or'
Daniel Wade says: ==================== bpf: Fix unsound scalar forking for BPF_OR maybe_fork_scalars() unconditionally sets the pushed path dst register to 0 for both BPF_AND and BPF_OR. For AND this is correct (0 & K == 0), but for OR it is wrong (0 | K == K, not 0). This causes the verifier to track an incorrect value on the pushed path, leading to a verifier/runtime divergence that allows out-of-bounds map value access. v4: Use block comment style for multi-line comments in selftests (Amery Hung) Add Reviewed-by/Acked-by tags v3: Use single-line comment style in selftests (Alexei Starovoitov) v2: Use push_stack(env, env->insn_idx, ...) to re-execute the insn on the pushed path (Eduard Zingerman) ==================== Link: https://patch.msgid.link/20260314021521.128361-1-danjwade95@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'Documentation/console/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions