================================================================================ UBSAN: Undefined behaviour in fs/f2fs/super.c:2227:16 shift exponent 63 is too large for 32-bit type 'int' CPU: 1 PID: 12181 Comm: syz-executor.3 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 sanity_check_raw_super fs/f2fs/super.c:2227 [inline] read_raw_super_block fs/f2fs/super.c:2631 [inline] f2fs_fill_super.cold+0x1f9/0x5fb fs/f2fs/super.c:2842 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:00007f22ff4fba88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f22ff4fbb20 RCX: 00000000004608aa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f22ff4fbae0 RBP: 00007f22ff4fbae0 R08: 00007f22ff4fbb20 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020000080 ================================================================================ f2fs_msg: 482 callbacks suppressed F2FS-fs (loop1): Invalid log sectorsize (66912265) F2FS-fs (loop3): Invalid blocksize (2147483648), supports only 4KB F2FS-fs (loop2): Invalid log sectorsize (822345737) F2FS-fs (loop5): Unable to read 1th superblock F2FS-fs (loop5): Unable to read 2th superblock F2FS-fs (loop5): Unable to read 1th superblock F2FS-fs (loop5): Unable to read 2th superblock F2FS-fs (loop2): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop1): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop1): Magic Mismatch, valid(0xf2f52010) - read(0x0) kauditd_printk_skb: 19 callbacks suppressed audit: type=1804 audit(1603209185.125:579): pid=12400 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir476045827/syzkaller.Qbq3XL/1219/bus" dev="sda1" ino=16376 res=1 audit: type=1804 audit(1603209185.585:580): pid=12453 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-testdir476045827/syzkaller.Qbq3XL/1220/bus" dev="sda1" ino=16366 res=1 audit: type=1804 audit(1603209185.605:581): pid=12453 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir476045827/syzkaller.Qbq3XL/1220/bus" dev="sda1" ino=16366 res=1 nla_parse: 23 callbacks suppressed netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1804 audit(1603209185.765:582): pid=12453 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir476045827/syzkaller.Qbq3XL/1220/bus" dev="sda1" ino=16366 res=1 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1804 audit(1603209186.185:583): pid=12532 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-testdir476045827/syzkaller.Qbq3XL/1221/bus" dev="sda1" ino=16382 res=1 audit: type=1804 audit(1603209186.255:584): pid=12514 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir476045827/syzkaller.Qbq3XL/1221/bus" dev="sda1" ino=16382 res=1 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1804 audit(1603209186.355:585): pid=12532 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir476045827/syzkaller.Qbq3XL/1221/bus" dev="sda1" ino=16382 res=1 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1804 audit(1603209186.695:586): pid=12579 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-testdir476045827/syzkaller.Qbq3XL/1222/bus" dev="sda1" ino=16380 res=1 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1804 audit(1603209186.735:587): pid=12579 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir476045827/syzkaller.Qbq3XL/1222/bus" dev="sda1" ino=16380 res=1 audit: type=1804 audit(1603209186.905:588): pid=12599 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir476045827/syzkaller.Qbq3XL/1222/bus" dev="sda1" ino=16380 res=1 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. f2fs_msg: 494 callbacks suppressed F2FS-fs (loop1): Invalid log sectorsize (318767113) F2FS-fs (loop1): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop1): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop2): Invalid log sectorsize (1073741833) F2FS-fs (loop2): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop1): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop1): Invalid log sectorsize (318767113) F2FS-fs (loop3): Invalid log sectors per block(2293763) log sectorsize(9) F2FS-fs (loop1): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop2): Magic Mismatch, valid(0xf2f52010) - read(0x0) kauditd_printk_skb: 15 callbacks suppressed audit: type=1804 audit(1603209190.295:604): pid=12977 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-testdir476045827/syzkaller.Qbq3XL/1228/bus" dev="sda1" ino=16438 res=1 audit: type=1804 audit(1603209190.315:605): pid=12977 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir476045827/syzkaller.Qbq3XL/1228/bus" dev="sda1" ino=16438 res=1 audit: type=1804 audit(1603209190.415:606): pid=13000 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir476045827/syzkaller.Qbq3XL/1228/bus" dev="sda1" ino=16438 res=1 IPv6: ADDRCONF(NETDEV_UP): veth35: link is not ready team0: Port device veth35 added nla_parse: 25 callbacks suppressed netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1804 audit(1603209191.075:607): pid=13064 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-testdir476045827/syzkaller.Qbq3XL/1230/bus" dev="sda1" ino=16395 res=1 audit: type=1804 audit(1603209191.075:608): pid=13064 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir476045827/syzkaller.Qbq3XL/1230/bus" dev="sda1" ino=16395 res=1 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1804 audit(1603209191.325:609): pid=13064 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-testdir476045827/syzkaller.Qbq3XL/1230/bus" dev="sda1" ino=16395 res=1 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. IPv6: ADDRCONF(NETDEV_UP): veth37: link is not ready team0: Port device veth37 added netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1804 audit(1603209191.895:610): pid=13166 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-testdir476045827/syzkaller.Qbq3XL/1232/bus" dev="sda1" ino=16546 res=1 audit: type=1804 audit(1603209191.905:611): pid=13166 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir476045827/syzkaller.Qbq3XL/1232/bus" dev="sda1" ino=16546 res=1 audit: type=1804 audit(1603209192.025:612): pid=13166 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir476045827/syzkaller.Qbq3XL/1232/bus" dev="sda1" ino=16546 res=1 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1804 audit(1603209192.295:613): pid=13204 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-testdir476045827/syzkaller.Qbq3XL/1233/bus" dev="sda1" ino=16380 res=1