================================================================================ UBSAN: Undefined behaviour in drivers/usb/gadget/udc/dummy_hcd.c:2131:32 shift exponent 768 is too large for 32-bit type 'int' CPU: 0 PID: 15617 Comm: syz-executor.1 Not tainted 4.19.150-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x22c/0x33e lib/dump_stack.c:118 ubsan_epilogue+0xe/0x3a lib/ubsan.c:161 __ubsan_handle_shift_out_of_bounds.cold+0x1c4/0x250 lib/ubsan.c:422 dummy_hub_control.cold+0xa3/0xbf drivers/usb/gadget/udc/dummy_hcd.c:2131 rh_call_control drivers/usb/core/hcd.c:679 [inline] rh_urb_enqueue drivers/usb/core/hcd.c:838 [inline] usb_hcd_submit_urb+0xb7e/0x20d0 drivers/usb/core/hcd.c:1651 usb_submit_urb+0xba2/0x13b0 drivers/usb/core/urb.c:571 usb_start_wait_urb+0x108/0x2b0 drivers/usb/core/message.c:57 usb_internal_control_msg drivers/usb/core/message.c:101 [inline] usb_control_msg+0x31c/0x4a0 drivers/usb/core/message.c:152 proc_control+0x360/0x6d0 drivers/usb/core/devio.c:1143 usbdev_do_ioctl+0x15fc/0x3580 drivers/usb/core/devio.c:2423 usbdev_ioctl+0x21/0x30 drivers/usb/core/devio.c:2580 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45de59 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f628a392c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000001afc0 RCX: 000000000045de59 RDX: 0000000020000000 RSI: 00000000c0185500 RDI: 0000000000000003 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffc1a58bb7f R14: 00007f628a3939c0 R15: 000000000118bf2c ================================================================================ input: syz0 as /devices/virtual/input/input8 attempt to access beyond end of device loop3: rw=4096, want=2064, limit=267 input: syz0 as /devices/virtual/input/input9 BTRFS error (device loop3): failed to read chunk root BTRFS error (device loop3): open_ctree failed BTRFS info (device loop3): enabling auto defrag BTRFS info (device loop3): metadata ratio 32768 BTRFS info (device loop3): disk space caching is enabled BTRFS info (device loop3): has skinny extents attempt to access beyond end of device loop3: rw=4096, want=2064, limit=267 BTRFS error (device loop3): failed to read chunk root BTRFS error (device loop3): open_ctree failed BTRFS info (device loop3): enabling auto defrag BTRFS info (device loop3): metadata ratio 32768 BTRFS info (device loop3): disk space caching is enabled BTRFS info (device loop3): has skinny extents attempt to access beyond end of device loop3: rw=4096, want=2064, limit=267 BTRFS error (device loop3): failed to read chunk root BTRFS error (device loop3): open_ctree failed ================================================================================ UBSAN: Undefined behaviour in drivers/vhost/vhost.c:116:62 load of value 148 is not a valid value for type '_Bool' CPU: 0 PID: 15872 Comm: syz-executor.4 Not tainted 4.19.150-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x22c/0x33e lib/dump_stack.c:118 ubsan_epilogue+0xe/0x3a lib/ubsan.c:161 __ubsan_handle_load_invalid_value.cold+0x63/0x6f lib/ubsan.c:454 vhost_init_is_le drivers/vhost/vhost.c:116 [inline] vhost_reset_is_le drivers/vhost/vhost.c:143 [inline] vhost_vq_reset.constprop.0.cold+0x15/0x1a drivers/vhost/vhost.c:325 vhost_dev_init+0x442/0x780 drivers/vhost/vhost.c:463 vhost_vsock_dev_open+0x1c9/0x310 drivers/vhost/vsock.c:629 misc_open+0x372/0x4a0 drivers/char/misc.c:141 chrdev_open+0x266/0x770 fs/char_dev.c:423 do_dentry_open+0x4aa/0x1160 fs/open.c:796 do_last fs/namei.c:3421 [inline] path_openat+0x7d5/0x2e90 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45de59 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f88dc4c3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000024840 RCX: 000000000045de59 RDX: 0000000000000002 RSI: 00000000200003c0 RDI: ffffffffffffff9c RBP: 000000000118bf68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007fff05f2b77f R14: 00007f88dc4c49c0 R15: 000000000118bf2c ================================================================================ ptrace attach of "/root/syz-executor.1"[15873] was attempted by "/root/syz-executor.1"[15885]