------------[ cut here ]------------ WARNING: CPU: 0 PID: 6072 at kernel/trace/bpf_trace.c:1829 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1902 [inline] WARNING: CPU: 0 PID: 6072 at kernel/trace/bpf_trace.c:1829 bpf_get_stack_raw_tp+0x1c4/0x230 kernel/trace/bpf_trace.c:1899 Modules linked in: CPU: 0 UID: 0 PID: 6072 Comm: syz.0.19 Not tainted 6.12.0-rc4-syzkaller-00261-g850925a8133c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:get_bpf_raw_tp_regs kernel/trace/bpf_trace.c:1829 [inline] RIP: 0010:____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1902 [inline] RIP: 0010:bpf_get_stack_raw_tp+0x1c4/0x230 kernel/trace/bpf_trace.c:1899 Code: e8 11 66 1f 00 65 ff 0d ea 77 63 7e 4c 63 f0 4c 89 f0 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 7c 53 f4 ff <0f> 0b 65 ff 0d c3 77 63 7e 49 c7 c6 f0 ff ff ff eb d3 44 89 e9 80 RSP: 0018:ffffc90002d8e310 EFLAGS: 00010293 RAX: ffffffff819fec64 RBX: 0000000000000003 RCX: ffff88807e4c8000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000fffffffc RBP: ffffc90002d8e350 R08: ffffffff819feb33 R09: 1ffffffff2752900 R10: dffffc0000000000 R11: ffffffffa0001ee0 R12: ffff8880b8636238 R13: 0000000000000902 R14: 0000000000000000 R15: ffffc90002d8e368 FS: 00007efff243a6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c002224000 CR3: 0000000078c68000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_prog_e6cf5f9c69743609+0x3b/0x3f bpf_dispatcher_nop_func include/linux/bpf.h:1265 [inline] __bpf_prog_run include/linux/filter.h:701 [inline] bpf_prog_run include/linux/filter.h:708 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2316 [inline] bpf_trace_run4+0x330/0x590 kernel/trace/bpf_trace.c:2359 __traceiter_mmap_lock_acquire_returned+0x8f/0xe0 include/trace/events/mmap_lock.h:52 trace_mmap_lock_acquire_returned include/trace/events/mmap_lock.h:52 [inline] __mmap_lock_do_trace_acquire_returned+0x27b/0x2e0 mm/mmap_lock.c:102 __mmap_lock_trace_acquire_returned include/linux/mmap_lock.h:36 [inline] mmap_read_trylock include/linux/mmap_lock.h:164 [inline] stack_map_get_build_id_offset+0x841/0x860 kernel/bpf/stackmap.c:157 __bpf_get_stack+0x8d6/0xad0 kernel/bpf/stackmap.c:483 ____bpf_get_stack kernel/bpf/stackmap.c:499 [inline] bpf_get_stack+0x2f/0x40 kernel/bpf/stackmap.c:496 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1909 [inline] bpf_get_stack_raw_tp+0x19f/0x230 kernel/trace/bpf_trace.c:1899 bpf_prog_e6cf5f9c69743609+0x3b/0x3f bpf_dispatcher_nop_func include/linux/bpf.h:1265 [inline] __bpf_prog_run include/linux/filter.h:701 [inline] bpf_prog_run include/linux/filter.h:708 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2316 [inline] bpf_trace_run4+0x330/0x590 kernel/trace/bpf_trace.c:2359 __traceiter_mmap_lock_acquire_returned+0x8f/0xe0 include/trace/events/mmap_lock.h:52 trace_mmap_lock_acquire_returned include/trace/events/mmap_lock.h:52 [inline] __mmap_lock_do_trace_acquire_returned+0x27b/0x2e0 mm/mmap_lock.c:102 __mmap_lock_trace_acquire_returned include/linux/mmap_lock.h:36 [inline] mmap_read_trylock include/linux/mmap_lock.h:164 [inline] stack_map_get_build_id_offset+0x841/0x860 kernel/bpf/stackmap.c:157 __bpf_get_stack+0x8d6/0xad0 kernel/bpf/stackmap.c:483 ____bpf_get_stack kernel/bpf/stackmap.c:499 [inline] bpf_get_stack+0x2f/0x40 kernel/bpf/stackmap.c:496 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1909 [inline] bpf_get_stack_raw_tp+0x19f/0x230 kernel/trace/bpf_trace.c:1899 bpf_prog_e6cf5f9c69743609+0x3b/0x3f bpf_dispatcher_nop_func include/linux/bpf.h:1265 [inline] __bpf_prog_run include/linux/filter.h:701 [inline] bpf_prog_run include/linux/filter.h:708 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2316 [inline] bpf_trace_run4+0x330/0x590 kernel/trace/bpf_trace.c:2359 __traceiter_mmap_lock_acquire_returned+0x8f/0xe0 include/trace/events/mmap_lock.h:52 trace_mmap_lock_acquire_returned include/trace/events/mmap_lock.h:52 [inline] __mmap_lock_do_trace_acquire_returned+0x27b/0x2e0 mm/mmap_lock.c:102 __mmap_lock_trace_acquire_returned include/linux/mmap_lock.h:36 [inline] mmap_read_trylock include/linux/mmap_lock.h:164 [inline] stack_map_get_build_id_offset+0x841/0x860 kernel/bpf/stackmap.c:157 __bpf_get_stack+0x8d6/0xad0 kernel/bpf/stackmap.c:483 ____bpf_get_stack kernel/bpf/stackmap.c:499 [inline] bpf_get_stack+0x2f/0x40 kernel/bpf/stackmap.c:496 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1909 [inline] bpf_get_stack_raw_tp+0x19f/0x230 kernel/trace/bpf_trace.c:1899 bpf_prog_e6cf5f9c69743609+0x3b/0x3f bpf_dispatcher_nop_func include/linux/bpf.h:1265 [inline] __bpf_prog_run include/linux/filter.h:701 [inline] bpf_prog_run include/linux/filter.h:708 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2316 [inline] bpf_trace_run4+0x330/0x590 kernel/trace/bpf_trace.c:2359 __traceiter_mmap_lock_acquire_returned+0x8f/0xe0 include/trace/events/mmap_lock.h:52 trace_mmap_lock_acquire_returned include/trace/events/mmap_lock.h:52 [inline] __mmap_lock_do_trace_acquire_returned+0x27b/0x2e0 mm/mmap_lock.c:102 __mmap_lock_trace_acquire_returned include/linux/mmap_lock.h:36 [inline] mmap_write_lock_killable include/linux/mmap_lock.h:123 [inline] dup_mmap kernel/fork.c:637 [inline] dup_mm kernel/fork.c:1674 [inline] copy_mm+0x1e08/0x1e90 kernel/fork.c:1723 copy_process+0x1839/0x3d40 kernel/fork.c:2372 kernel_clone+0x222/0x8e0 kernel/fork.c:2784 __do_sys_clone kernel/fork.c:2927 [inline] __se_sys_clone kernel/fork.c:2911 [inline] __x64_sys_clone+0x254/0x2a0 kernel/fork.c:2911 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x7e/0x180 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7efff157dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efff2439fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007efff1735f80 RCX: 00007efff157dff9 RDX: 0000000000000000 RSI: 0000000000000500 RDI: 0000000008020000 RBP: 00007efff15f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 00007efff1735f80 R15: 00007fff70028b48