================================================================================
UBSAN: shift-out-of-bounds in kernel/bpf/verifier.c:8028:63
shift exponent 1073741824 is too large for 32-bit type 's32' (aka 'int')
CPU: 1 PID: 332 Comm: syz-executor.0 Not tainted 5.15.183-syzkaller-1080537-g56993594bfa4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:88
dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
dump_stack+0x15/0x20 lib/dump_stack.c:113
ubsan_epilogue+0xe/0x40 lib/ubsan.c:151
__ubsan_handle_shift_out_of_bounds+0x37c/0x400 lib/ubsan.c:321
scalar32_min_max_arsh+0x38d/0x660 kernel/bpf/verifier.c:8028
adjust_scalar_min_max_vals kernel/bpf/verifier.c:8216 [inline]
adjust_reg_min_max_vals+0x4112/0x6380 kernel/bpf/verifier.c:8317
check_alu_op kernel/bpf/verifier.c:8488 [inline]
do_check+0x8af8/0xea60 kernel/bpf/verifier.c:11239
do_check_common+0xff5/0x19a0 kernel/bpf/verifier.c:13457
do_check_main kernel/bpf/verifier.c:13520 [inline]
bpf_check+0x32c6/0xf330 kernel/bpf/verifier.c:14091
bpf_prog_load+0x1042/0x1550 kernel/bpf/syscall.c:2328
__sys_bpf+0x4c3/0x730 kernel/bpf/syscall.c:4633
__do_sys_bpf kernel/bpf/syscall.c:4737 [inline]
__se_sys_bpf kernel/bpf/syscall.c:4735 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:4735
x64_sys_call+0x4b9/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:322
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f87970a9ba9
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:00007f8796c2c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f87971c8f80 RCX: 00007f87970a9ba9
RDX: 0000000000000048 RSI: 00000000200054c0 RDI: 0000000000000005
RBP: 00007f87970f547a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f87971c8f80 R15: 00007ffc3f15e968
================================================================================
================================================================================
UBSAN: shift-out-of-bounds in kernel/bpf/verifier.c:8029:63
shift exponent 1073741824 is too large for 32-bit type 's32' (aka 'int')
CPU: 0 PID: 332 Comm: syz-executor.0 Not tainted 5.15.183-syzkaller-1080537-g56993594bfa4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:88
dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106
dump_stack+0x15/0x20 lib/dump_stack.c:113
ubsan_epilogue+0xe/0x40 lib/ubsan.c:151
__ubsan_handle_shift_out_of_bounds+0x37c/0x400 lib/ubsan.c:321
scalar32_min_max_arsh+0x3e3/0x660 kernel/bpf/verifier.c:8029
adjust_scalar_min_max_vals kernel/bpf/verifier.c:8216 [inline]
adjust_reg_min_max_vals+0x4112/0x6380 kernel/bpf/verifier.c:8317
check_alu_op kernel/bpf/verifier.c:8488 [inline]
do_check+0x8af8/0xea60 kernel/bpf/verifier.c:11239
do_check_common+0xff5/0x19a0 kernel/bpf/verifier.c:13457
do_check_main kernel/bpf/verifier.c:13520 [inline]
bpf_check+0x32c6/0xf330 kernel/bpf/verifier.c:14091
bpf_prog_load+0x1042/0x1550 kernel/bpf/syscall.c:2328
__sys_bpf+0x4c3/0x730 kernel/bpf/syscall.c:4633
__do_sys_bpf kernel/bpf/syscall.c:4737 [inline]
__se_sys_bpf kernel/bpf/syscall.c:4735 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:4735
x64_sys_call+0x4b9/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:322
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f87970a9ba9
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:00007f8796c2c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f87971c8f80 RCX: 00007f87970a9ba9
RDX: 0000000000000048 RSI: 00000000200054c0 RDI: 0000000000000005
RBP: 00007f87970f547a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f87971c8f80 R15: 00007ffc3f15e968
================================================================================