================================================================================ UBSAN: Undefined behaviour in drivers/usb/gadget/udc/dummy_hcd.c:2302:33 shift exponent 16403 is too large for 32-bit type 'int' CPU: 1 PID: 10878 Comm: syz-executor.5 Not tainted 4.19.147-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+0x1a/0xbf drivers/usb/gadget/udc/dummy_hcd.c:2302 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:0x45e179 Code: 3d b2 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 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ff2b5389c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000001afc0 RCX: 000000000045e179 RDX: 0000000020000000 RSI: 00000000c0185500 RDI: 0000000000000003 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffd40f4b87f R14: 00007ff2b538a9c0 R15: 000000000118cf4c ================================================================================ autofs4:pid:10949:validate_dev_ioctl: invalid path supplied for cmd(0x0000937e) autofs4:pid:10953:validate_dev_ioctl: invalid path supplied for cmd(0x0000937e) autofs4:pid:10959:validate_dev_ioctl: invalid path supplied for cmd(0x0000937e) autofs4:pid:10972:validate_dev_ioctl: invalid path supplied for cmd(0x0000937e) 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'. EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop5): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs (loop5): orphan cleanup on readonly fs EXT4-fs error (device loop5): ext4_orphan_get:1257: comm syz-executor.5: bad orphan inode 33554432 EXT4-fs (loop5): mounted filesystem without journal. Opts: inode_readahead_blks=0x0000000000400000,,errors=continue audit: type=1800 audit(1601119746.383:15): pid=11179 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.1" name="file0" dev="sda1" ino=16185 res=0 audit: type=1804 audit(1601119746.383:16): pid=11179 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir638036061/syzkaller.9eqX9G/97/file0" dev="sda1" ino=16185 res=1 EXT4-fs (loop5): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs (loop5): orphan cleanup on readonly fs audit: type=1800 audit(1601119746.773:17): pid=11199 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.1" name="file0" dev="sda1" ino=16178 res=0 EXT4-fs error (device loop5): ext4_orphan_get:1257: comm syz-executor.5: bad orphan inode 33554432 audit: type=1804 audit(1601119746.803:18): pid=11199 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir638036061/syzkaller.9eqX9G/98/file0" dev="sda1" ino=16178 res=1 EXT4-fs (loop5): mounted filesystem without journal. Opts: inode_readahead_blks=0x0000000000400000,,errors=continue audit: type=1800 audit(1601119746.823:19): pid=11203 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.2" name="file0" dev="sda1" ino=16189 res=0 audit: type=1804 audit(1601119746.833:20): pid=11203 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir219948810/syzkaller.wzlsZS/112/file0" dev="sda1" ino=16189 res=1 audit: type=1800 audit(1601119747.233:21): pid=11219 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.2" name="file0" dev="sda1" ino=16185 res=0 EXT4-fs (loop5): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) audit: type=1804 audit(1601119747.243:22): pid=11219 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir219948810/syzkaller.wzlsZS/113/file0" dev="sda1" ino=16185 res=1 EXT4-fs (loop5): orphan cleanup on readonly fs EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs error (device loop5): ext4_orphan_get:1257: comm syz-executor.5: bad orphan inode 33554432 audit: type=1800 audit(1601119747.263:23): pid=11216 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.1" name="file0" dev="sda1" ino=16186 res=0 EXT4-fs (loop5): mounted filesystem without journal. Opts: inode_readahead_blks=0x0000000000400000,,errors=continue audit: type=1804 audit(1601119747.273:24): pid=11221 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir638036061/syzkaller.9eqX9G/99/file0" dev="sda1" ino=16186 res=1 EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop5): ext4_check_descriptors: Checksum for group 0 failed (60935!=0) EXT4-fs (loop5): orphan cleanup on readonly fs EXT4-fs error (device loop5): ext4_orphan_get:1257: comm syz-executor.5: bad orphan inode 33554432 EXT4-fs (loop5): mounted filesystem without journal. Opts: inode_readahead_blks=0x0000000000400000,,errors=continue openvswitch: netlink: Message has 4 unknown bytes. openvswitch: netlink: Message has 4 unknown bytes. openvswitch: netlink: Message has 4 unknown bytes. overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. openvswitch: netlink: Message has 4 unknown bytes. overlayfs: unrecognized mount option "./file1" or missing value overlayfs: filesystem on './bus' not supported as upperdir overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. device bond1 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): bond1: link is not ready 8021q: adding VLAN 0 to HW filter on device bond1 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. device bond2 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): bond2: link is not ready 8021q: adding VLAN 0 to HW filter on device bond2