------------[ cut here ]------------ WARNING: CPU: 1 PID: 5645 at kernel/trace/bpf_trace.c:1411 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1483 [inline] WARNING: CPU: 1 PID: 5645 at kernel/trace/bpf_trace.c:1411 bpf_get_stack_raw_tp+0x1d3/0x220 kernel/trace/bpf_trace.c:1480 Modules linked in: CPU: 1 PID: 5645 Comm: syz-executor Not tainted 5.15.169-syzkaller #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:1411 [inline] RIP: 0010:____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1483 [inline] RIP: 0010:bpf_get_stack_raw_tp+0x1d3/0x220 kernel/trace/bpf_trace.c:1480 Code: f1 45 31 c0 e8 be 96 14 00 65 ff 0d 6f ce 78 7e 4c 63 e8 4c 89 e8 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 0d 05 f6 ff <0f> 0b 65 ff 0d 4c ce 78 7e 49 c7 c5 f0 ff ff ff eb d7 e8 f6 04 f6 RSP: 0018:ffffc90002f16790 EFLAGS: 00010293 RAX: ffffffff818a6ed3 RBX: 0000000000000003 RCX: ffff888029d68000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000fffffffc RBP: ffffc90002f167d0 R08: ffffffff818a6d93 R09: ffffffff8f678048 R10: ffffffff8f678058 R11: ffffffff8f678050 R12: ffffc90002f167e8 R13: 0000000000000000 R14: 0000000000000900 R15: ffff8880b9133b30 FS: 0000555586f7b500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f939602cf98 CR3: 00000000610d2000 CR4: 00000000003506e0 DR0: 0000000020000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: bpf_prog_ec3b2eefa702d8d3+0x3a/0x71c bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline] __bpf_prog_run include/linux/filter.h:621 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run4+0x2e0/0x390 kernel/trace/bpf_trace.c:1919 trace_mmap_lock_acquire_returned include/trace/events/mmap_lock.h:44 [inline] __mmap_lock_do_trace_acquire_returned+0x24d/0x2c0 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:137 [inline] stack_map_get_build_id_offset+0x612/0x930 kernel/bpf/stackmap.c:185 __bpf_get_stack+0x495/0x570 kernel/bpf/stackmap.c:496 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1490 [inline] bpf_get_stack_raw_tp+0x1b2/0x220 kernel/trace/bpf_trace.c:1480 bpf_prog_ec3b2eefa702d8d3+0x3a/0x71c bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline] __bpf_prog_run include/linux/filter.h:621 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run4+0x2e0/0x390 kernel/trace/bpf_trace.c:1919 trace_mmap_lock_acquire_returned include/trace/events/mmap_lock.h:44 [inline] __mmap_lock_do_trace_acquire_returned+0x24d/0x2c0 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:137 [inline] stack_map_get_build_id_offset+0x612/0x930 kernel/bpf/stackmap.c:185 __bpf_get_stack+0x495/0x570 kernel/bpf/stackmap.c:496 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1490 [inline] bpf_get_stack_raw_tp+0x1b2/0x220 kernel/trace/bpf_trace.c:1480 bpf_prog_ec3b2eefa702d8d3+0x3a/0x71c bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline] __bpf_prog_run include/linux/filter.h:621 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run4+0x2e0/0x390 kernel/trace/bpf_trace.c:1919 trace_mmap_lock_acquire_returned include/trace/events/mmap_lock.h:44 [inline] __mmap_lock_do_trace_acquire_returned+0x24d/0x2c0 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:137 [inline] stack_map_get_build_id_offset+0x612/0x930 kernel/bpf/stackmap.c:185 __bpf_get_stack+0x495/0x570 kernel/bpf/stackmap.c:496 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1490 [inline] bpf_get_stack_raw_tp+0x1b2/0x220 kernel/trace/bpf_trace.c:1480 bpf_prog_ec3b2eefa702d8d3+0x3a/0x71c bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline] __bpf_prog_run include/linux/filter.h:621 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run4+0x2e0/0x390 kernel/trace/bpf_trace.c:1919 trace_mmap_lock_acquire_returned include/trace/events/mmap_lock.h:44 [inline] __mmap_lock_do_trace_acquire_returned+0x24d/0x2c0 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:137 [inline] vm_insert_page+0x49a/0x4b0 mm/memory.c:1955 kcov_mmap+0xf5/0x120 kernel/kcov.c:491 call_mmap include/linux/fs.h:2179 [inline] mmap_region+0x10e7/0x1670 mm/mmap.c:1791 do_mmap+0x78d/0xe00 mm/mmap.c:1575 vm_mmap_pgoff+0x1ca/0x2d0 mm/util.c:551 ksys_mmap_pgoff+0x559/0x780 mm/mmap.c:1624 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f3fb2c7d033 Code: f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 41 89 ca 41 f7 c1 ff 0f 00 00 75 14 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 25 c3 0f 1f 40 00 48 c7 c0 a8 ff ff ff 64 c7 RSP: 002b:00007fff6fc46988 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f3fb2e351c8 RCX: 00007f3fb2c7d033 RDX: 0000000000000003 RSI: 0000000000200000 RDI: 00007f3fb20fa000 RBP: 00007f3fb2e351c8 R08: 00000000000000da R09: 0000000000000000 R10: 0000000000000011 R11: 0000000000000246 R12: 000000000000000c R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000