================================================================================ UBSAN: shift-out-of-bounds in kernel/bpf/verifier.c:8050:63 shift exponent 1073741824 is too large for 32-bit type 's32' (aka 'int') CPU: 1 PID: 3971 Comm: syz-executor.0 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:151 [inline] __ubsan_handle_shift_out_of_bounds+0x3bf/0x420 lib/ubsan.c:321 scalar32_min_max_arsh+0x564/0x5f0 kernel/bpf/verifier.c:8050 adjust_scalar_min_max_vals kernel/bpf/verifier.c:8238 [inline] adjust_reg_min_max_vals+0x3d1d/0x6360 kernel/bpf/verifier.c:8339 check_alu_op kernel/bpf/verifier.c:8510 [inline] do_check+0x94e4/0xf310 kernel/bpf/verifier.c:11258 do_check_common+0x844/0x1070 kernel/bpf/verifier.c:13482 do_check_main kernel/bpf/verifier.c:13545 [inline] bpf_check+0xcb80/0x12d00 kernel/bpf/verifier.c:14116 bpf_prog_load+0x12b3/0x1b60 kernel/bpf/syscall.c:2353 __sys_bpf+0x343/0x670 kernel/bpf/syscall.c:4651 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fb1c84cdba9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb1c784f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fb1c85ecf80 RCX: 00007fb1c84cdba9 RDX: 0000000000000048 RSI: 00000000200054c0 RDI: 0000000000000005 RBP: 00007fb1c851947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fb1c85ecf80 R15: 00007ffcf600cb18 ================================================================================