Message ID | 20250322045340.18010-4-enjuk@amazon.com (mailing list archive) |
---|---|
Headers | show |
Series | bpf: Fix OOB read and add tests for load-acquire/store-release | expand |
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@kernel.org>: On Sat, 22 Mar 2025 13:52:54 +0900 you wrote: > This patch series addresses an out-of-bounds read issue in > check_atomic_load/store() reported by syzkaller when an invalid register > number (MAX_BPF_REG or greater) is used. > > The first patch fixes the actual bug by changing the order of validity > checks, ensuring register validity is checked before atomic_ptr_type_ok() > is called. > It also updates some tests that were assuming the previous order of checks. > > [...] Here is the summary with links: - [v3,bpf-next,1/2] bpf: Fix out-of-bounds read in check_atomic_load/store() https://git.kernel.org/bpf/bpf-next/c/c03bb2fa327e - [v3,bpf-next,2/2] selftests/bpf: Add selftests for load-acquire/store-release when register number is invalid https://git.kernel.org/bpf/bpf-next/c/5f3077d7fcd4 You are awesome, thank you!