------------[ cut here ]------------ UBSAN: shift-out-of-bounds in net/atm/common.c:381:10 shift exponent -1 is negative CPU: 1 UID: 0 PID: 5922 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x30 lib/ubsan.c:233 __ubsan_handle_shift_out_of_bounds+0x279/0x2a0 lib/ubsan.c:494 __vcc_connect net/atm/common.c:381 [inline] vcc_connect.cold+0xe0/0x123 net/atm/common.c:498 pvc_bind+0x33f/0x460 net/atm/pvc.c:52 __sys_bind_socket net/socket.c:1945 [inline] __sys_bind_socket net/socket.c:1937 [inline] __sys_bind+0x1a9/0x260 net/socket.c:1976 __do_sys_bind net/socket.c:1981 [inline] __se_sys_bind net/socket.c:1979 [inline] __ia32_sys_bind+0x71/0xb0 net/socket.c:1979 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:79 [inline] __do_fast_syscall_32+0x13a/0x8b0 arch/x86/entry/syscall_32.c:291 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:316 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7fb6fec Code: Unable to access opcode bytes at 0xf7fb6fc2. RSP: 002b:00000000ff8357bc EFLAGS: 00000296 ORIG_RAX: 0000000000000169 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000080000100 RDX: 000000000000000c RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---[ end trace ]---