------------[ cut here ]------------ trace type BPF program uses run-time allocation WARNING: CPU: 0 PID: 3499 at kernel/bpf/verifier.c:11674 check_map_prog_compatibility+0x720/0x8c0 kernel/bpf/verifier.c:11674 Modules linked in: CPU: 0 PID: 3499 Comm: syz-executor572 Not tainted 5.15.147-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:check_map_prog_compatibility+0x720/0x8c0 kernel/bpf/verifier.c:11674 Code: ed e9 ec fc ff ff e8 cf cf ee ff 31 ed e9 e0 fc ff ff e8 c3 cf ee ff c6 05 ae f1 3e 0c 01 48 c7 c7 e0 1b 91 8a e8 20 82 ba ff <0f> 0b e9 4a fb ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 4f f9 ff RSP: 0018:ffffc90002547348 EFLAGS: 00010246 RAX: 25afbf32eb01e400 RBX: 0000000000000005 RCX: ffff88807bc93b80 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffff8880765c9028 R08: ffffffff81665dbc R09: ffffed1017344f24 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000d5e038 R13: ffff8880765c9000 R14: ffff888078b0c000 R15: dffffc0000000000 FS: 0000555555cfc380(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564e511aa000 CR3: 000000007a440000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: resolve_pseudo_ldimm64+0x671/0x1240 kernel/bpf/verifier.c:11844 bpf_check+0x4341/0x12d00 kernel/bpf/verifier.c:14046 bpf_prog_load+0x12b3/0x1b60 kernel/bpf/syscall.c:2325 __sys_bpf+0x343/0x670 kernel/bpf/syscall.c:4614 __do_sys_bpf kernel/bpf/syscall.c:4718 [inline] __se_sys_bpf kernel/bpf/syscall.c:4716 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4716 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f1e0d39f529 Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 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:00007ffe2e12acb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007ffe2e12ae88 RCX: 00007f1e0d39f529 RDX: 0000000000000022 RSI: 0000000020000440 RDI: 0000000000000005 RBP: 00007f1e0d412610 R08: 0000000000000000 R09: 00007ffe2e12ae88 R10: 0000000000000072 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffe2e12ae78 R14: 0000000000000001 R15: 0000000000000001