------------[ cut here ]------------ trace type BPF program uses run-time allocation WARNING: CPU: 0 PID: 21229 at kernel/bpf/verifier.c:12536 check_map_prog_compatibility+0x76b/0x920 kernel/bpf/verifier.c:12536 Modules linked in: CPU: 0 PID: 21229 Comm: syz-executor.1 Not tainted 5.19.0-rc4-syzkaller-00187-g089866061428 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:check_map_prog_compatibility+0x76b/0x920 kernel/bpf/verifier.c:12536 Code: c7 fc ff ff e8 26 23 ee ff 31 db e9 bb fc ff ff e8 1a 23 ee ff c6 05 a1 a8 56 0c 01 48 c7 c7 60 8e 94 8a 31 c0 e8 05 b8 b6 ff <0f> 0b e9 23 fb ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c c0 f8 ff RSP: 0018:ffffc90004be71e8 EFLAGS: 00010246 RAX: 6b54864ad6b67e00 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc900053d2000 RSI: 0000000000003e43 RDI: 0000000000003e44 RBP: ffff88807684c030 R08: ffffffff816bcd1d R09: ffffed10173467e9 R10: ffffed10173467e9 R11: 1ffff110173467e8 R12: ffff88807684c000 R13: dffffc0000000000 R14: ffff88803902c000 R15: 0000000000000005 FS: 00007f803bdb4700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe0b9b691b8 CR3: 0000000080b2d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: resolve_pseudo_ldimm64+0x67f/0x1270 kernel/bpf/verifier.c:12709 bpf_check+0x2606/0x13b70 kernel/bpf/verifier.c:15007 bpf_prog_load+0x1288/0x1b80 kernel/bpf/syscall.c:2575 __sys_bpf+0x3d3/0x6c0 kernel/bpf/syscall.c:4917 __do_sys_bpf kernel/bpf/syscall.c:5021 [inline] __se_sys_bpf kernel/bpf/syscall.c:5019 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5019 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+0x46/0xb0 RIP: 0033:0x7f803ac89109 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:00007f803bdb4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f803ad9c030 RCX: 00007f803ac89109 RDX: 0000000000000022 RSI: 0000000020000440 RDI: 0000000000000005 RBP: 00007f803ace305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc86597eef R14: 00007f803bdb4300 R15: 0000000000022000