================================================================================ UBSAN: Undefined behaviour in fs/ext4/super.c:3763:25 shift exponent 45 is too large for 32-bit type 'int' CPU: 0 PID: 2753 Comm: syz-executor.5 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:00007f6602f99a88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f6602f99b20 RCX: 00000000004608aa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f6602f99ae0 RBP: 00007f6602f99ae0 R08: 00007f6602f99b20 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020014a00 ================================================================================ EXT4-fs (loop0): bad geometry: block count 6815744 exceeds size of device (512 blocks) EXT4-fs (loop4): bad geometry: block count 6816000 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 6815744 exceeds size of device (512 blocks) EXT4-fs (loop5): Unsupported filesystem blocksize 8388608 (45 log_block_size) EXT4-fs (loop5): Unsupported filesystem blocksize 8388608 (45 log_block_size) EXT4-fs (loop0): bad geometry: block count 6816000 exceeds size of device (512 blocks) EXT4-fs (loop4): bad geometry: block count 6881280 exceeds size of device (512 blocks) EXT4-fs (loop5): Unsupported filesystem blocksize 0 (63 log_block_size) EXT4-fs (loop4): bad geometry: block count 6881280 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 6816000 exceeds size of device (512 blocks) EXT4-fs (loop5): Unsupported filesystem blocksize 0 (63 log_block_size) EXT4-fs (loop4): bad geometry: block count 6881536 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 6881280 exceeds size of device (512 blocks) EXT4-fs (loop4): bad geometry: block count 6881536 exceeds size of device (512 blocks) EXT4-fs (loop5): Invalid log block size: 64 EXT4-fs (loop0): bad geometry: block count 6881280 exceeds size of device (512 blocks) EXT4-fs (loop5): Invalid log block size: 64 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.3'. EXT4-fs (loop4): bad geometry: block count 6946816 exceeds size of device (512 blocks) EXT4-fs (loop5): Unsupported filesystem blocksize 0 (254 log_block_size) device bridge2 entered promiscuous mode netlink: 4 bytes leftover after parsing attributes in process `syz-executor.3'. EXT4-fs (loop0): bad geometry: block count 6881536 exceeds size of device (512 blocks) EXT4-fs (loop5): Unsupported filesystem blocksize 0 (254 log_block_size) EXT4-fs (loop4): bad geometry: block count 6946816 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 6881536 exceeds size of device (512 blocks) EXT4-fs (loop5): #clusters per group too big: 32768 EXT4-fs (loop5): #clusters per group too big: 32768 EXT4-fs (loop4): bad geometry: block count 6947072 exceeds size of device (512 blocks) EXT4-fs (loop4): bad geometry: block count 6947072 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 6946816 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 6946816 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop4): bad geometry: block count 7012352 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop0): bad geometry: block count 6947072 exceeds size of device (512 blocks) EXT4-fs (loop4): bad geometry: block count 7012352 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 6947072 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs (loop4): bad geometry: block count 7012608 exceeds size of device (512 blocks) EXT4-fs (loop4): bad geometry: block count 7012608 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop0): bad geometry: block count 7012352 exceeds size of device (512 blocks) EXT4-fs (loop5): mount failed EXT4-fs (loop0): bad geometry: block count 7012352 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs (loop4): bad geometry: block count 7077888 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop4): bad geometry: block count 7077888 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 7012608 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 7012608 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs (loop4): bad geometry: block count 7078144 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop4): bad geometry: block count 7078144 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 7077888 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop0): bad geometry: block count 7077888 exceeds size of device (512 blocks) EXT4-fs (loop4): bad geometry: block count 7143424 exceeds size of device (512 blocks) EXT4-fs (loop4): bad geometry: block count 7143424 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop0): bad geometry: block count 7078144 exceeds size of device (512 blocks) EXT4-fs (loop5): mount failed EXT4-fs (loop0): bad geometry: block count 7078144 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop4): bad geometry: block count 7143680 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 7143424 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 7143424 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs (loop4): bad geometry: block count 7208960 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.3'. EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop0): bad geometry: block count 7143680 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs (loop4): bad geometry: block count 7209216 exceeds size of device (512 blocks) EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop0): bad geometry: block count 7208960 exceeds size of device (512 blocks) EXT4-fs (loop4): bad geometry: block count 7209216 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 7208960 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop4): bad geometry: block count 7274496 exceeds size of device (512 blocks) EXT4-fs (loop4): bad geometry: block count 7274496 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs (loop0): bad geometry: block count 7274496 exceeds size of device (512 blocks) EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop0): bad geometry: block count 7274496 exceeds size of device (512 blocks) EXT4-fs (loop5): mount failed EXT4-fs (loop4): bad geometry: block count 7274752 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop4): bad geometry: block count 7340032 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop0): bad geometry: block count 7274752 exceeds size of device (512 blocks) EXT4-fs (loop4): bad geometry: block count 7340032 exceeds size of device (512 blocks) EXT4-fs (loop5): mount failed EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop0): bad geometry: block count 7340032 exceeds size of device (512 blocks) EXT4-fs (loop4): bad geometry: block count 7340288 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 7340032 exceeds size of device (512 blocks) EXT4-fs (loop4): bad geometry: block count 7340288 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 7340288 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop0): bad geometry: block count 7340288 exceeds size of device (512 blocks) EXT4-fs (loop4): bad geometry: block count 7405568 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop4): bad geometry: block count 7405568 exceeds size of device (512 blocks) EXT4-fs (loop5): mount failed EXT4-fs (loop0): bad geometry: block count 7405568 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 7405568 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop4): bad geometry: block count 7405824 exceeds size of device (512 blocks) EXT4-fs (loop5): mount failed EXT4-fs (loop4): bad geometry: block count 7405824 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 7405824 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs (loop4): bad geometry: block count 7471104 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop0): bad geometry: block count 7405824 exceeds size of device (512 blocks) EXT4-fs (loop4): bad geometry: block count 7471104 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop4): bad geometry: block count 7471360 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 7471104 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs (loop4): bad geometry: block count 7536640 exceeds size of device (512 blocks) EXT4-fs (loop0): bad geometry: block count 7471104 exceeds size of device (512 blocks) EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop4): bad geometry: block count 7536640 exceeds size of device (512 blocks) EXT4-fs error (device loop5): ext4_ext_check_inode:498: inode #3: comm syz-executor.5: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 113(113) EXT4-fs error (device loop5): ext4_quota_enable:5835: comm syz-executor.5: Bad quota inode # 3 EXT4-fs warning (device loop5): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed EXT4-fs (loop0): bad geometry: block count 7471360 exceeds size of device (512 blocks)