================================================================================ UBSAN: Undefined behaviour in fs/ext4/super.c:3763:25 shift exponent 50331648 is too large for 32-bit type 'int' CPU: 1 PID: 26747 Comm: syz-executor.2 Not tainted 4.19.152-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 ext4_fill_super.cold+0x33b/0x4ea fs/ext4/super.c:3763 mount_bdev+0x2fc/0x3b0 fs/super.c:1158 mount_fs+0xa3/0x318 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2469 [inline] do_mount+0x51c/0x2f10 fs/namespace.c:2799 ksys_mount+0xcf/0x130 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3026 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4608aa Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f778e256a88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f778e256b20 RCX: 00000000004608aa RDX: 0000000020000000 RSI: 00000000200005c0 RDI: 00007f778e256ae0 RBP: 00007f778e256ae0 R08: 00007f778e256b20 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 00000000200005c0 R14: 0000000020000200 R15: 0000000020000380 ================================================================================ EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop2): Unrecognized mount option "0000000000000000000000301777777777777777777777" or missing value audit: type=1800 audit(1603044467.090:41): pid=26768 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.3" name="bus" dev="sda1" ino=17456 res=0 EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop2): unsupported inode size: 0 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1176 EXT4-fs (loop2): blocksize: 1024 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1177 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1178 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1179 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1180 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1181 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1182 audit: type=1800 audit(1603044467.450:42): pid=26813 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.3" name="bus" dev="sda1" ino=17456 res=0 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1183 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1184 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1185 EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs error (device loop2): ext4_readdir:241: inode #2: block 37: comm syz-executor.2: path /root/syzkaller-testdir997529282/syzkaller.gi6yqZ/1161/file0: bad entry in directory: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0, size=1024 EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs error (device loop2): ext4_readdir:241: inode #2: block 37: comm syz-executor.2: path /root/syzkaller-testdir997529282/syzkaller.gi6yqZ/1162/file0: bad entry in directory: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0, size=1024 EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue IPVS: ftp: loaded support on port[0] = 21 EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue UDF-fs: bad mount option "rootdir=00000000000000000008" or missing value EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1176 EXT4-fs (loop2): Unrecognized mount option "%8Im!B w" or missing value EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1177 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1178 UDF-fs: bad mount option "rootdir=00000000000000000008" or missing value EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1179 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1180 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1181 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1182 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1183 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1184 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1185 EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue Unknown ioctl 1074283779 EXT4-fs (loop2): Unrecognized mount option "L" or missing value EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1176 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1177 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1178 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1179 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1180 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1181 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1182 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1183 EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs error (device loop2): ext4_readdir:241: inode #2: block 37: comm syz-executor.2: path /root/syzkaller-testdir997529282/syzkaller.gi6yqZ/1167/file0: bad entry in directory: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0, size=1024 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1184 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1185 EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop2): Unrecognized mount option "w_" or missing value EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop2): Unrecognized mount option "x_" or missing value EXT4-fs error (device loop2): ext4_fill_super:4448: inode #2: comm syz-executor.2: iget: root inode unallocated FAT-fs (loop3): bogus number of reserved sectors EXT4-fs (loop2): get root inode failed EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop2): mount failed FAT-fs (loop3): Can't find a valid FAT filesystem FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem EXT4-fs (loop2): Unrecognized mount option "./file0" or missing value EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop2): bad geometry: block count 256 exceeds size of device (128 blocks) EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1176 EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1177 EXT4-fs error (device loop2): ext4_readdir:241: inode #2: block 37: comm syz-executor.2: path /root/syzkaller-testdir997529282/syzkaller.gi6yqZ/1175/file0: bad entry in directory: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0, size=1024 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1178 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1179 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1180 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1181 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1182 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1183 EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1184 EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs error (device loop4): ext4_group_add_blocks:5061: comm syz-executor.4: bit already cleared for block 1185 EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue