------------[ cut here ]------------ verifier bug: invalid map_ptr to access map->type(1) WARNING: CPU: 1 PID: 9557 at kernel/bpf/verifier.c:9098 resolve_map_arg_type kernel/bpf/verifier.c:9098 [inline] WARNING: CPU: 1 PID: 9557 at kernel/bpf/verifier.c:9098 check_func_arg kernel/bpf/verifier.c:9681 [inline] WARNING: CPU: 1 PID: 9557 at kernel/bpf/verifier.c:9098 check_helper_call+0x5fdb/0x6a90 kernel/bpf/verifier.c:11456 Modules linked in: CPU: 1 UID: 0 PID: 9557 Comm: syz.5.774 Not tainted 6.17.0-rc1-syzkaller-00004-g53e760d89498 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:resolve_map_arg_type kernel/bpf/verifier.c:9098 [inline] RIP: 0010:check_func_arg kernel/bpf/verifier.c:9681 [inline] RIP: 0010:check_helper_call+0x5fdb/0x6a90 kernel/bpf/verifier.c:11456 Code: 00 eb 05 e8 77 66 e7 ff 45 31 e4 e9 51 d5 ff ff e8 6a 66 e7 ff c6 05 ea 1f b5 0d 01 90 48 c7 c7 a0 e4 91 8b e8 d6 04 ab ff 90 <0f> 0b 90 90 e9 55 d0 ff ff e8 47 66 e7 ff c6 05 c3 1f b5 0d 01 90 RSP: 0018:ffffc9000ae56fc0 EFLAGS: 00010246 RAX: 3db15137ad5fd000 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000d84c000 RSI: 000000000000a826 RDI: 000000000000a827 RBP: ffffc9000ae571b0 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff1bfa1ec R12: 0000000000000000 R13: 0000000000000003 R14: dffffc0000000000 R15: 0000000000000003 FS: 00007f15d67d56c0(0000) GS:ffff888125d1c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000001f000 CR3: 0000000061800000 CR4: 0000000000350ef0 Call Trace: do_check_insn kernel/bpf/verifier.c:19924 [inline] do_check+0x8b35/0xe520 kernel/bpf/verifier.c:20093 do_check_common+0x1949/0x24f0 kernel/bpf/verifier.c:23260 do_check_main kernel/bpf/verifier.c:23343 [inline] bpf_check+0x1746a/0x1d2d0 kernel/bpf/verifier.c:24703 bpf_prog_load+0x1318/0x1930 kernel/bpf/syscall.c:2979 __sys_bpf+0x528/0x870 kernel/bpf/syscall.c:6029 __do_sys_bpf kernel/bpf/syscall.c:6139 [inline] __se_sys_bpf kernel/bpf/syscall.c:6137 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:6137 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f15d858ebe9 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:00007f15d67d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f15d87b6090 RCX: 00007f15d858ebe9 RDX: 0000000000000094 RSI: 00002000000002c0 RDI: 0000000000000005 RBP: 00007f15d8611e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f15d87b6128 R14: 00007f15d87b6090 R15: 00007ffcf43f7408