================================================================================ UBSAN: Undefined behaviour in fs/f2fs/super.c:2227:16 shift exponent 4024684778 is too large for 32-bit type 'int' CPU: 1 PID: 9732 Comm: syz-executor.4 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 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:00007f3b80685a88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f3b80685b20 RCX: 00000000004608aa RDX: 0000000020000040 RSI: 0000000020000100 RDI: 00007f3b80685ae0 RBP: 00007f3b80685ae0 R08: 00007f3b80685b20 R09: 0000000020000040 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000040 R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020000040 ================================================================================ F2FS-fs (loop4): Invalid blocksize (1024), supports only 4KB F2FS-fs (loop4): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop4): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop4): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop4): Invalid blocksize (1024), supports only 4KB F2FS-fs (loop4): Can't find valid F2FS filesystem in 1th superblock F2FS-fs (loop4): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop4): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop4): Invalid blocksize (1024), supports only 4KB F2FS-fs (loop4): Can't find valid F2FS filesystem in 1th superblock audit: type=1400 audit(1602571838.156:55): avc: denied { sys_admin } for pid=9787 comm="syz-executor.0" capability=21 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=cap_userns permissive=1 IPVS: ftp: loaded support on port[0] = 21 device vxlan0 entered promiscuous mode device vxlan0 entered promiscuous mode IPVS: ftp: loaded support on port[0] = 21 syz-executor.1 (9842) used greatest stack depth: 22744 bytes left audit: type=1804 audit(1602571839.736:56): pid=9891 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-testdir890671402/syzkaller.4nnEbK/57/bus" dev="sda1" ino=15933 res=1 audit: type=1804 audit(1602571839.796:57): pid=9895 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.2" name="/root/syzkaller-testdir890671402/syzkaller.4nnEbK/57/bus" dev="sda1" ino=15933 res=1 audit: type=1804 audit(1602571840.116:58): pid=9881 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-testdir890671402/syzkaller.4nnEbK/57/bus" dev="sda1" ino=15933 res=1 audit: type=1804 audit(1602571840.146:59): pid=9881 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.2" name="/root/syzkaller-testdir890671402/syzkaller.4nnEbK/57/bus" dev="sda1" ino=15933 res=1 audit: type=1804 audit(1602571841.096:60): pid=9962 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-testdir890671402/syzkaller.4nnEbK/58/bus" dev="sda1" ino=15939 res=1 audit: type=1804 audit(1602571841.176:61): pid=9962 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.2" name="/root/syzkaller-testdir890671402/syzkaller.4nnEbK/58/bus" dev="sda1" ino=15939 res=1 (unnamed net_device) (uninitialized): option active_slave: mode dependency failed, not supported in mode balance-rr(0) IPVS: ftp: loaded support on port[0] = 21 (unnamed net_device) (uninitialized): option active_slave: mode dependency failed, not supported in mode balance-rr(0) f2fs_msg: 38 callbacks suppressed F2FS-fs (loop4): Unable to read 1th superblock (unnamed net_device) (uninitialized): option active_slave: mode dependency failed, not supported in mode balance-rr(0) F2FS-fs (loop4): Unable to read 2th superblock F2FS-fs (loop4): Unable to read 1th superblock audit: type=1804 audit(1602571842.486:62): pid=10041 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-testdir890671402/syzkaller.4nnEbK/59/bus" dev="sda1" ino=15877 res=1 F2FS-fs (loop4): Unable to read 2th superblock audit: type=1804 audit(1602571842.596:63): pid=10044 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.2" name="/root/syzkaller-testdir890671402/syzkaller.4nnEbK/59/bus" dev="sda1" ino=15877 res=1 F2FS-fs (loop4): Unable to read 1th superblock F2FS-fs (loop4): Unable to read 2th superblock F2FS-fs (loop4): Unable to read 1th superblock F2FS-fs (loop4): Unable to read 2th superblock (unnamed net_device) (uninitialized): option active_slave: mode dependency failed, not supported in mode balance-rr(0) netlink: 44310 bytes leftover after parsing attributes in process `syz-executor.3'. F2FS-fs (loop4): Unable to read 1th superblock F2FS-fs (loop4): Unable to read 2th superblock IPVS: ftp: loaded support on port[0] = 21 (unnamed net_device) (uninitialized): option active_slave: mode dependency failed, not supported in mode balance-rr(0) audit: type=1804 audit(1602571843.756:64): pid=10113 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-testdir112685147/syzkaller.FfH4fY/53/bus" dev="sda1" ino=15942 res=1 audit: type=1804 audit(1602571843.826:65): pid=10114 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-testdir890671402/syzkaller.4nnEbK/60/bus" dev="sda1" ino=15937 res=1 (unnamed net_device) (uninitialized): option active_slave: mode dependency failed, not supported in mode balance-rr(0) (unnamed net_device) (uninitialized): option active_slave: mode dependency failed, not supported in mode balance-rr(0) (unnamed net_device) (uninitialized): option active_slave: mode dependency failed, not supported in mode balance-rr(0) kauditd_printk_skb: 2 callbacks suppressed audit: type=1804 audit(1602571844.846:68): pid=10167 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-testdir890671402/syzkaller.4nnEbK/61/bus" dev="sda1" ino=15943 res=1 (unnamed net_device) (uninitialized): option active_slave: mode dependency failed, not supported in mode balance-rr(0) (unnamed net_device) (uninitialized): option active_slave: mode dependency failed, not supported in mode balance-rr(0) netlink: 14 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 14 bytes leftover after parsing attributes in process `syz-executor.0'. (unnamed net_device) (uninitialized): option active_slave: mode dependency failed, not supported in mode balance-rr(0) audit: type=1804 audit(1602571846.026:69): pid=10219 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-testdir890671402/syzkaller.4nnEbK/62/bus" dev="sda1" ino=15901 res=1 (unnamed net_device) (uninitialized): option active_slave: mode dependency failed, not supported in mode balance-rr(0) audit: type=1804 audit(1602571846.806:70): pid=10240 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-testdir112685147/syzkaller.FfH4fY/56/bus" dev="sda1" ino=15956 res=1 netlink: 14 bytes leftover after parsing attributes in process `syz-executor.0'.