------------[ cut here ]------------ trace type BPF program uses run-time allocation WARNING: CPU: 1 PID: 4872 at kernel/bpf/verifier.c:12624 check_map_prog_compatibility+0x78e/0x940 kernel/bpf/verifier.c:12624 Modules linked in: CPU: 1 PID: 4872 Comm: syz-executor.4 Not tainted 6.0.0-rc5-syzkaller-00089-g6879c2d3b960 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:check_map_prog_compatibility+0x78e/0x940 kernel/bpf/verifier.c:12624 Code: b2 fc ff ff e8 a3 bf ed ff 31 db e9 a6 fc ff ff e8 97 bf ed ff c6 05 d4 19 76 0c 01 48 c7 c7 60 ff b4 8a 31 c0 e8 c2 97 b5 ff <0f> 0b e9 07 fb ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 9d f8 ff RSP: 0018:ffffc9000d74f0c8 EFLAGS: 00010246 RAX: 9008fdf9cac63f00 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc9001307b000 RSI: 0000000000004346 RDI: 0000000000004347 RBP: ffff888044599830 R08: ffffffff816d5c8d R09: ffffed10173667f1 R10: ffffed10173667f1 R11: 1ffff110173667f0 R12: ffff888044599800 R13: dffffc0000000000 R14: ffff888036790000 R15: 0000000000000011 FS: 00007f9f7fb46700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201a9000 CR3: 0000000026dc9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: resolve_pseudo_ldimm64+0x67f/0x1270 kernel/bpf/verifier.c:12797 bpf_check+0x25bb/0x16120 kernel/bpf/verifier.c:15230 bpf_prog_load+0x1306/0x1be0 kernel/bpf/syscall.c:2595 __sys_bpf+0x391/0x6c0 kernel/bpf/syscall.c:4953 __do_sys_bpf kernel/bpf/syscall.c:5057 [inline] __se_sys_bpf kernel/bpf/syscall.c:5055 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5055 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9f7ea89409 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9f7fb46168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f9f7eb9bf80 RCX: 00007f9f7ea89409 RDX: 0000000000000080 RSI: 0000000020000440 RDI: 0000000000000005 RBP: 00007f9f7eae4367 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea10956af R14: 00007f9f7fb46300 R15: 0000000000022000