================================================================================ 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: 9905 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+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:0x45de29 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:00007fb744307c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000001afc0 RCX: 000000000045de29 RDX: 0000000020000000 RSI: 00000000c0185500 RDI: 0000000000000003 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffd18d2e5df R14: 00007fb7443089c0 R15: 000000000118bf2c ================================================================================ kauditd_printk_skb: 5 callbacks suppressed audit: type=1804 audit(1602115481.797:112): pid=10014 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir284730222/syzkaller.vBXzXB/47/file0" dev="sda1" ino=15982 res=1 audit: type=1804 audit(1602115481.957:113): pid=10011 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir176007602/syzkaller.mgl2kX/49/file1/file0" dev="loop0" ino=72 res=1 audit: type=1804 audit(1602115482.167:114): pid=10025 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir311070257/syzkaller.9eHkXp/37/file0" dev="sda1" ino=15992 res=1 audit: type=1804 audit(1602115483.047:115): pid=10054 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir311070257/syzkaller.9eHkXp/38/file1/file0" dev="sda1" ino=15735 res=1 audit: type=1804 audit(1602115483.247:116): pid=10064 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir176007602/syzkaller.mgl2kX/50/file1/file0" dev="loop0" ino=73 res=1 audit: type=1804 audit(1602115483.577:117): pid=10072 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir284730222/syzkaller.vBXzXB/48/file0" dev="sda1" ino=16002 res=1 audit: type=1804 audit(1602115484.257:118): pid=10087 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir017432784/syzkaller.iVqd6N/31/file1/file0" dev="loop5" ino=74 res=1 audit: type=1804 audit(1602115484.337:119): pid=10099 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir311070257/syzkaller.9eHkXp/39/file1/file0" dev="loop3" ino=75 res=1 audit: type=1804 audit(1602115484.377:120): pid=10102 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir284730222/syzkaller.vBXzXB/49/file0" dev="sda1" ino=16002 res=1 audit: type=1804 audit(1602115484.967:121): pid=10124 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-testdir146971688/syzkaller.J3AlMd/47/file0" dev="sda1" ino=16015 res=1 NILFS (loop5): broken superblock, retrying with spare superblock (blocksize = 1024) NILFS (loop5): mounting unchecked fs NILFS (loop5): recovery complete NILFS (loop5): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds F2FS-fs (loop2): Invalid blocksize (1), supports only 4KB F2FS-fs (loop2): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop2): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop2): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop2): Invalid blocksize (1), supports only 4KB F2FS-fs (loop2): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop2): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop2): Can't find valid F2FS filesystem in 2th superblock ldm_parse_privhead(): Cannot find PRIVHEAD structure. LDM database is corrupt. Aborting. ldm_validate_privheads(): Cannot find PRIVHEAD 1. loop5: p2 < > p4 loop5: p4 size 2097152 extends beyond EOD, truncated kauditd_printk_skb: 5 callbacks suppressed audit: type=1804 audit(1602115486.997:127): pid=10200 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-testdir146971688/syzkaller.J3AlMd/49/file0" dev="sda1" ino=16013 res=1 audit: type=1804 audit(1602115487.507:128): pid=10213 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir284730222/syzkaller.vBXzXB/52/file0" dev="sda1" ino=16001 res=1 audit: type=1804 audit(1602115487.767:129): pid=10214 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir311070257/syzkaller.9eHkXp/42/file1/file0" dev="loop3" ino=77 res=1 audit: type=1804 audit(1602115488.248:130): pid=10236 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir311070257/syzkaller.9eHkXp/43/file1/file0" dev="loop3" ino=78 res=1 audit: type=1804 audit(1602115488.948:131): pid=10244 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir284730222/syzkaller.vBXzXB/53/file1/file0" dev="loop4" ino=79 res=1 audit: type=1804 audit(1602115489.118:132): pid=10260 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir311070257/syzkaller.9eHkXp/44/file1/file0" dev="loop3" ino=80 res=1 audit: type=1804 audit(1602115490.098:133): pid=10284 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir284730222/syzkaller.vBXzXB/54/file0" dev="sda1" ino=16025 res=1