================================================================================ 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: 1 PID: 16484 Comm: syz-executor.5 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:00007f83f8df9c78 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: 00007ffe80269dff R14: 00007f83f8dfa9c0 R15: 000000000118bf2c ================================================================================ netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. SQUASHFS error: squashfs_read_data failed to read block 0x0 squashfs: SQUASHFS error: unable to read squashfs_super_block SQUASHFS error: squashfs_read_data failed to read block 0x0 squashfs: SQUASHFS error: unable to read squashfs_super_block netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. audit: type=1400 audit(1602794751.838:76): avc: denied { relabelto } for pid=16765 comm="syz-executor.1" name="file0" dev="sda1" ino=16908 scontext=system_u:system_r:kernel_t:s0 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0 tclass=lnk_file permissive=1 netlink: 6 bytes leftover after parsing attributes in process `syz-executor.3'. audit: type=1400 audit(1602794751.948:77): avc: denied { unlink } for pid=6520 comm="syz-executor.1" name="file0" dev="sda1" ino=16908 scontext=system_u:system_r:kernel_t:s0 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0 tclass=lnk_file permissive=1 netlink: 6 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 6 bytes leftover after parsing attributes in process `syz-executor.3'. sd 0:0:1:0: [sg0] tag#1701 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK sd 0:0:1:0: [sg0] tag#1701 CDB: Persistent reserve in, read full status sd 0:0:1:0: [sg0] tag#1701 CDB[00]: 5e 83 fa 35 8b aa 83 76 5f 27 cd 60 71 56 a5 e1 sd 0:0:1:0: [sg0] tag#1701 CDB[10]: 17 56 f7 7e c8 7b ef 57 12 b6 f9 6a f3 17 77 f1 sd 0:0:1:0: [sg0] tag#1701 CDB[20]: 4b IPv6: RTM_NEWROUTE with no NLM_F_CREATE or NLM_F_REPLACE IPv6: NLM_F_CREATE should be set when creating new route IPv6: RTM_NEWROUTE with no NLM_F_CREATE or NLM_F_REPLACE netlink: 6 bytes leftover after parsing attributes in process `syz-executor.3'. IPv6: RTM_NEWROUTE with no NLM_F_CREATE or NLM_F_REPLACE netlink: 6 bytes leftover after parsing attributes in process `syz-executor.3'. IPv6: RTM_NEWROUTE with no NLM_F_CREATE or NLM_F_REPLACE kvm [16839]: vcpu0, guest rIP: 0xcc disabled perfctr wrmsr: 0xc1 data 0x0 kvm [16870]: vcpu0, guest rIP: 0xcc disabled perfctr wrmsr: 0xc1 data 0x0 nla_parse: 2 callbacks suppressed netlink: 24 bytes leftover after parsing attributes in process `syz-executor.3'. kvm [16919]: vcpu0, guest rIP: 0xcc disabled perfctr wrmsr: 0xc1 data 0x0 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.3'. kvm [16937]: vcpu0, guest rIP: 0xcc disabled perfctr wrmsr: 0xc1 data 0x0 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.3'. xt_ecn: cannot match TCP bits for non-tcp packets xt_ecn: cannot match TCP bits for non-tcp packets xt_ecn: cannot match TCP bits for non-tcp packets xt_ecn: cannot match TCP bits for non-tcp packets program syz-executor.4 is using a deprecated SCSI ioctl, please convert it to SG_IO sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=17068 comm=syz-executor.4 program syz-executor.4 is using a deprecated SCSI ioctl, please convert it to SG_IO