================================================================================
UBSAN: shift-out-of-bounds in kernel/bpf/verifier.c:13571:63
shift exponent 1073741824 is too large for 32-bit type 's32' (aka 'int')
CPU: 1 PID: 354 Comm: syz-executor.0 Not tainted 6.7.0-rc6-syzkaller-gceb6a6f023fd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x151/0x1c0 lib/dump_stack.c:106
dump_stack+0x15/0x20 lib/dump_stack.c:113
ubsan_epilogue lib/ubsan.c:217 [inline]
__ubsan_handle_shift_out_of_bounds+0x3c6/0x450 lib/ubsan.c:387
scalar32_min_max_arsh+0x622/0x6c0 kernel/bpf/verifier.c:13571
adjust_scalar_min_max_vals kernel/bpf/verifier.c:13759 [inline]
adjust_reg_min_max_vals+0x3d16/0x64c0 kernel/bpf/verifier.c:13860
check_alu_op kernel/bpf/verifier.c:14092 [inline]
do_check+0x92b7/0xe960 kernel/bpf/verifier.c:17517
do_check_common+0x7f4/0xf20 kernel/bpf/verifier.c:20177
do_check_main+0x43/0x130 kernel/bpf/verifier.c:20240
bpf_check+0x7414/0x188c0 kernel/bpf/verifier.c:20877
bpf_prog_load+0x11c9/0x1c20 kernel/bpf/syscall.c:2716
__sys_bpf+0x307/0x660 kernel/bpf/syscall.c:5383
__do_sys_bpf kernel/bpf/syscall.c:5487 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5485 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5485
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f4a1547cba9
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:00007f4a161fb0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f4a1559bf80 RCX: 00007f4a1547cba9
RDX: 0000000000000048 RSI: 00000000200054c0 RDI: 0000000000000005
RBP: 00007f4a154c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f4a1559bf80 R15: 00007ffec5b7fa88
================================================================================
================================================================================
UBSAN: shift-out-of-bounds in kernel/bpf/verifier.c:13572:63
shift exponent 1073741824 is too large for 32-bit type 's32' (aka 'int')
CPU: 0 PID: 354 Comm: syz-executor.0 Not tainted 6.7.0-rc6-syzkaller-gceb6a6f023fd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x151/0x1c0 lib/dump_stack.c:106
dump_stack+0x15/0x20 lib/dump_stack.c:113
ubsan_epilogue lib/ubsan.c:217 [inline]
__ubsan_handle_shift_out_of_bounds+0x3c6/0x450 lib/ubsan.c:387
scalar32_min_max_arsh+0x676/0x6c0 kernel/bpf/verifier.c:13572
adjust_scalar_min_max_vals kernel/bpf/verifier.c:13759 [inline]
adjust_reg_min_max_vals+0x3d16/0x64c0 kernel/bpf/verifier.c:13860
check_alu_op kernel/bpf/verifier.c:14092 [inline]
do_check+0x92b7/0xe960 kernel/bpf/verifier.c:17517
do_check_common+0x7f4/0xf20 kernel/bpf/verifier.c:20177
do_check_main+0x43/0x130 kernel/bpf/verifier.c:20240
bpf_check+0x7414/0x188c0 kernel/bpf/verifier.c:20877
bpf_prog_load+0x11c9/0x1c20 kernel/bpf/syscall.c:2716
__sys_bpf+0x307/0x660 kernel/bpf/syscall.c:5383
__do_sys_bpf kernel/bpf/syscall.c:5487 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5485 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5485
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f4a1547cba9
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:00007f4a161fb0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f4a1559bf80 RCX: 00007f4a1547cba9
RDX: 0000000000000048 RSI: 00000000200054c0 RDI: 0000000000000005
RBP: 00007f4a154c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f4a1559bf80 R15: 00007ffec5b7fa88
================================================================================