syzbot


KCSAN: data-race in nsim_bpf_verifier_prep / nsim_bpf_verifier_prep

Status: auto-obsoleted due to no activity on 2025/03/31 10:44
Subsystems: net
[Documentation on labels]
First crash: 207d, last: 207d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in nsim_bpf_verifier_prep / nsim_bpf_verifier_prep

read-write to 0xffff8881179d21f8 of 4 bytes by task 5685 on cpu 1:
 nsim_bpf_create_prog drivers/net/netdevsim/bpf.c:234 [inline]
 nsim_bpf_verifier_prep+0x105/0x2c0 drivers/net/netdevsim/bpf.c:262
 bpf_prog_offload_verifier_prep+0x72/0xc0 kernel/bpf/offload.c:304
 bpf_check+0xa9d/0xc060 kernel/bpf/verifier.c:23128
 bpf_prog_load+0xed3/0x1070 kernel/bpf/syscall.c:2951
 __sys_bpf+0x463/0x7a0 kernel/bpf/syscall.c:5794
 __do_sys_bpf kernel/bpf/syscall.c:5901 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5899 [inline]
 __x64_sys_bpf+0x43/0x50 kernel/bpf/syscall.c:5899
 x64_sys_call+0x2914/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:322
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read-write to 0xffff8881179d21f8 of 4 bytes by task 5686 on cpu 0:
 nsim_bpf_create_prog drivers/net/netdevsim/bpf.c:234 [inline]
 nsim_bpf_verifier_prep+0x105/0x2c0 drivers/net/netdevsim/bpf.c:262
 bpf_prog_offload_verifier_prep+0x72/0xc0 kernel/bpf/offload.c:304
 bpf_check+0xa9d/0xc060 kernel/bpf/verifier.c:23128
 bpf_prog_load+0xed3/0x1070 kernel/bpf/syscall.c:2951
 __sys_bpf+0x463/0x7a0 kernel/bpf/syscall.c:5794
 __do_sys_bpf kernel/bpf/syscall.c:5901 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5899 [inline]
 __x64_sys_bpf+0x43/0x50 kernel/bpf/syscall.c:5899
 x64_sys_call+0x2914/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:322
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x00000000 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 5686 Comm: syz.3.788 Not tainted 6.13.0-syzkaller-10033-gd79bc8f79baa #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
==================================================================
debugfs: Directory '0' with parent 'bpf_bound_progs' already present!

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/03 10:40 upstream d79bc8f79baa 568559e4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in nsim_bpf_verifier_prep / nsim_bpf_verifier_prep
* Struck through repros no longer work on HEAD.