================================================================================ 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: 13056 Comm: syz-executor.3 Not tainted 5.12.0-rc3-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 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:644 [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_connect+0xab/0xe0 net/vmw_vsock/virtio_transport_common.c:631 vsock_stream_connect+0x381/0xc00 net/vmw_vsock/af_vsock.c:1332 __sys_connect_file+0x155/0x1a0 net/socket.c:1837 __sys_connect+0x161/0x190 net/socket.c:1854 __do_sys_connect net/socket.c:1864 [inline] __se_sys_connect net/socket.c:1861 [inline] __x64_sys_connect+0x6f/0xb0 net/socket.c:1861 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:00007f4d46f8a188 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459 RDX: 0000000000000010 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffd11f83e8f R14: 00007f4d46f8a300 R15: 0000000000022000 ================================================================================