================================================================================ UBSAN: shift-out-of-bounds in kernel/bpf/core.c:1414:2 shift exponent 248 is too large for 32-bit type 'unsigned int' CPU: 0 PID: 25249 Comm: syz-executor.3 Not tainted 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 ubsan_epilogue+0xb/0x5a lib/ubsan.c:148 __ubsan_handle_shift_out_of_bounds.cold+0xb1/0x181 lib/ubsan.c:327 ___bpf_prog_run.cold+0x20f/0x56c kernel/bpf/core.c:1414 __bpf_prog_run480+0x91/0xd0 kernel/bpf/core.c:1732 bpf_dispatcher_nop_func include/linux/bpf.h:684 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1780 [inline] bpf_trace_run8+0x17d/0x3f0 kernel/trace/bpf_trace.c:1823 __bpf_trace_virtio_transport_alloc_pkt+0x208/0x250 include/trace/events/vsock_virtio_transport_common.h:36 trace_virtio_transport_alloc_pkt include/trace/events/vsock_virtio_transport_common.h:36 [inline] virtio_transport_alloc_pkt+0x6b6/0x8d0 net/vmw_vsock/virtio_transport_common.c:79 virtio_transport_send_pkt_info+0x2c3/0x5e0 net/vmw_vsock/virtio_transport_common.c:209 virtio_transport_send_credit_update net/vmw_vsock/virtio_transport_common.c:282 [inline] virtio_transport_notify_buffer_size+0x14b/0x1d0 net/vmw_vsock/virtio_transport_common.c:499 vsock_update_buffer_size+0x181/0x220 net/vmw_vsock/af_vsock.c:1533 vsock_stream_setsockopt+0x449/0x7a0 net/vmw_vsock/af_vsock.c:1588 __sys_setsockopt+0x2db/0x610 net/socket.c:2104 __do_sys_setsockopt net/socket.c:2115 [inline] __se_sys_setsockopt net/socket.c:2112 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2112 do_syscall_64+0x31/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0d02950188 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000001 RSI: 0000000000000028 RDI: 0000000000000003 RBP: 00000000004bfcb9 R08: 0000000000000112 R09: 0000000000000000 R10: 0000000020000100 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffcd482dbff R14: 00007f0d02950300 R15: 0000000000022000 ================================================================================