------------[ cut here ]------------ trace type BPF program uses run-time allocation WARNING: CPU: 1 PID: 21557 at kernel/bpf/verifier.c:12623 check_map_prog_compatibility+0x78e/0x940 kernel/bpf/verifier.c:12623 Modules linked in: CPU: 0 PID: 21557 Comm: syz-executor.0 Not tainted 6.0.0-rc2-syzkaller-00283-g10d4879f9ef0 #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 24 de 75 0c 01 48 c7 c7 60 fe b4 8a 31 c0 e8 12 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:ffffc90002def0c8 EFLAGS: 00010246 RAX: 229ba34883cb0c00 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc90005441000 RSI: 0000000000017ec8 RDI: 0000000000017ec9 RBP: ffff888032044030 R08: ffffffff816d5c4d R09: ffffed1017364f14 R10: ffffed1017364f14 R11: 1ffff11017364f13 R12: ffff888032044000 R13: dffffc0000000000 R14: ffff88807892c000 R15: 0000000000000011 FS: 00007f793303b700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9ff9f6a1b8 CR3: 000000007c1ff000 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:0x7f7931e89279 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:00007f793303b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f7931f9bf80 RCX: 00007f7931e89279 RDX: 0000000000000080 RSI: 0000000020000440 RDI: 0000000000000005 RBP: 00007f7931ee3189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe4c4fc4af R14: 00007f793303b300 R15: 0000000000022000