================================================================================ UBSAN: shift-out-of-bounds in kernel/bpf/core.c:1421:2 shift exponent 248 is too large for 32-bit type 'unsigned int' CPU: 1 PID: 14062 Comm: syz-executor.2 Not tainted 5.12.0-rc5-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:1421 __bpf_prog_run480+0x99/0xe0 kernel/bpf/core.c:1739 bpf_dispatcher_nop_func include/linux/bpf.h:659 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2091 [inline] bpf_trace_run8+0x17d/0x3f0 kernel/trace/bpf_trace.c:2134 __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/0x8e0 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:2117 __do_sys_setsockopt net/socket.c:2128 [inline] __se_sys_setsockopt net/socket.c:2125 [inline] __x64_sys_setsockopt+0xba/0x150 net/socket.c:2125 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x466459 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:00007f2ea5352188 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459 RDX: 0000000000000001 RSI: 0000000000000028 RDI: 0000000000000003 RBP: 00000000004bf9fb R08: 0000000000000112 R09: 0000000000000000 R10: 0000000020000100 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007fff586a73cf R14: 00007f2ea5352300 R15: 0000000000022000 ================================================================================