================================================================== BUG: KCSAN: data-race in __bpf_get_stackid / bcmp write to 0xffff8881048bb898 of 104 bytes by interrupt on cpu 1: __bpf_get_stackid+0x761/0x800 kernel/bpf/stackmap.c:288 ____bpf_get_stackid kernel/bpf/stackmap.c:324 [inline] bpf_get_stackid+0xee/0x120 kernel/bpf/stackmap.c:300 ____bpf_get_stackid_raw_tp kernel/trace/bpf_trace.c:1810 [inline] bpf_get_stackid_raw_tp+0xf6/0x120 kernel/trace/bpf_trace.c:1799 bpf_prog_e6fc920cfeff8120+0x2a/0x32 bpf_dispatcher_nop_func include/linux/bpf.h:1332 [inline] __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run include/linux/filter.h:725 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2257 [inline] bpf_trace_run3+0x10c/0x1d0 kernel/trace/bpf_trace.c:2299 __do_trace_kmem_cache_free include/trace/events/kmem.h:114 [inline] trace_kmem_cache_free include/trace/events/kmem.h:114 [inline] kmem_cache_free+0x257/0x300 mm/slub.c:4796 inode_free_by_rcu+0x36/0x70 security/security.c:1711 rcu_do_batch kernel/rcu/tree.c:2605 [inline] rcu_core+0x5aa/0xc30 kernel/rcu/tree.c:2861 rcu_core_si+0xd/0x20 kernel/rcu/tree.c:2878 handle_softirqs+0xb7/0x290 kernel/softirq.c:579 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:968 smpboot_thread_fn+0x32b/0x530 kernel/smpboot.c:160 kthread+0x489/0x510 kernel/kthread.c:463 ret_from_fork+0x11f/0x1b0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 read to 0xffff8881048bb8e8 of 8 bytes by task 10052 on cpu 0: memcmp lib/string.c:683 [inline] bcmp+0x23/0x90 lib/string.c:715 memcmp include/linux/fortify-string.h:727 [inline] __bpf_get_stackid+0x371/0x800 kernel/bpf/stackmap.c:279 ____bpf_get_stackid kernel/bpf/stackmap.c:324 [inline] bpf_get_stackid+0xee/0x120 kernel/bpf/stackmap.c:300 ____bpf_get_stackid_raw_tp kernel/trace/bpf_trace.c:1810 [inline] bpf_get_stackid_raw_tp+0xf6/0x120 kernel/trace/bpf_trace.c:1799 bpf_prog_e6fc920cfeff8120+0x2a/0x32 bpf_dispatcher_nop_func include/linux/bpf.h:1332 [inline] __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run include/linux/filter.h:725 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2257 [inline] bpf_trace_run3+0x10c/0x1d0 kernel/trace/bpf_trace.c:2299 __do_trace_kmem_cache_free include/trace/events/kmem.h:114 [inline] trace_kmem_cache_free include/trace/events/kmem.h:114 [inline] kmem_cache_free+0x257/0x300 mm/slub.c:4796 __io_req_caches_free+0x69/0x170 io_uring/io_uring.c:2770 io_queue_deferred+0x1e/0x220 io_uring/io_uring.c:537 io_drain_req+0x24c/0x350 io_uring/io_uring.c:1734 io_queue_sqe_fallback+0x132/0x140 io_uring/io_uring.c:2050 io_submit_sqe io_uring/io_uring.c:2280 [inline] io_submit_sqes+0xc2e/0x1060 io_uring/io_uring.c:2398 __do_sys_io_uring_enter io_uring/io_uring.c:3465 [inline] __se_sys_io_uring_enter+0x1c1/0x1b70 io_uring/io_uring.c:3399 __x64_sys_io_uring_enter+0x78/0x90 io_uring/io_uring.c:3399 x64_sys_call+0x2de1/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:427 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffffffff81e791e8 -> 0xffffffff813ed619 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 10052 Comm: syz.0.2609 Not tainted syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 ==================================================================