WARNING: CPU: 1 PID: 23814 at kernel/bpf/verifier.c:12623 check_map_prog_compatibility+0x78e/0x940 kernel/bpf/verifier.c:12623 Modules linked in: CPU: 1 PID: 23814 Comm: syz-executor.5 Not tainted 6.0.0-rc3-syzkaller-00007-gdcf8e5633e2e #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 dd 75 0c 01 48 c7 c7 40 ff 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:ffffc9000a7570c8 EFLAGS: 00010246 RAX: aa89853c388da800 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc90012061000 RSI: 00000000000048d4 RDI: 00000000000048d5 RBP: ffff888034f70830 R08: ffffffff816d5c8d R09: ffffed10173667f1 R10: ffffed10173667f1 R11: 1ffff110173667f0 R12: ffff888034f70800 R13: dffffc0000000000 R14: ffff888077888000 R15: 0000000000000011 FS: 00007ff0103fe700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c6670ff000 CR3: 000000003acf0000 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: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:0x7ff011489279 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:00007ff0103fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007ff01159bf80 RCX: 00007ff011489279 RDX: 0000000000000080 RSI: 0000000020000440 RDI: 0000000000000005 RBP: 00007ff0114e32e9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdb7a4619f R14: 00007ff0103fe300 R15: 0000000000022000