------------[ cut here ]------------ trace type BPF program uses run-time allocation WARNING: CPU: 0 PID: 6756 at kernel/bpf/verifier.c:12623 check_map_prog_compatibility+0x78e/0x940 kernel/bpf/verifier.c:12623 Modules linked in: CPU: 0 PID: 6756 Comm: syz-executor.3 Not tainted 6.0.0-rc2-syzkaller-00191-g3e5c673f0d75 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:check_map_prog_compatibility+0x78e/0x940 kernel/bpf/verifier.c:12623 Code: b2 fc ff ff e8 d3 bf ed ff 31 db e9 a6 fc ff ff e8 c7 bf ed ff c6 05 04 de 75 0c 01 48 c7 c7 60 fe b4 8a 31 c0 e8 32 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:ffffc90004c070c8 EFLAGS: 00010246 RAX: 0fdafed9242e4200 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc90003191000 RSI: 000000000000417b RDI: 000000000000417c RBP: ffff888030eb7830 R08: ffffffff816d5c4d R09: ffffed1017344f14 R10: ffffed1017344f14 R11: 1ffff11017344f13 R12: ffff888030eb7800 R13: dffffc0000000000 R14: ffff888020ff8000 R15: 0000000000000005 FS: 00007f67ec600700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000002132e000 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:12796 bpf_check+0x25bb/0x16120 kernel/bpf/verifier.c:15229 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:0x7f67eb489279 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:00007f67ec600168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f67eb59c050 RCX: 00007f67eb489279 RDX: 0000000000000022 RSI: 0000000020000440 RDI: 0000000000000005 RBP: 00007f67eb4e3189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe80a0d1df R14: 00007f67ec600300 R15: 0000000000022000