================================================================================ UBSAN: Undefined behaviour in arch/x86/kvm/pmu_intel.c:310:12 shift exponent 121 is too large for 64-bit type 'long long unsigned int' CPU: 0 PID: 24301 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 intel_pmu_refresh.cold+0x56/0xa0 arch/x86/kvm/pmu_intel.c:310 kvm_update_cpuid+0x6d9/0xaf0 arch/x86/kvm/cpuid.c:147 kvm_vcpu_ioctl_set_cpuid+0x6ab/0x970 arch/x86/kvm/cpuid.c:232 kvm_arch_vcpu_ioctl+0xea3/0x2e10 arch/x86/kvm/x86.c:3921 kvm_vcpu_ioctl+0x8af/0xe30 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2975 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:0x45de59 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:00007f8755f8dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000011f00 RCX: 000000000045de59 RDX: 0000000020000440 RSI: 000000004008ae8a RDI: 0000000000000005 RBP: 000000000118c008 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bfd4 R13: 00007ffe4a1816ff R14: 00007f8755f8e9c0 R15: 000000000118bfd4 ================================================================================ bridge0: port 2(bridge_slave_1) entered disabled state bridge0: port 1(bridge_slave_0) entered disabled state device bridge0 entered promiscuous mode f2fs_msg: 10 callbacks suppressed F2FS-fs (loop1): Unable to read 2th superblock F2FS-fs (loop1): Unrecognized mount option "myode=Qdapt>dT?N@ivek('[2Z_~@2}hWZ£p0YFc8ϼi" or missing value F2FS-fs (loop1): Unable to read 2th superblock F2FS-fs (loop1): Unrecognized mount option "myode=Qdapt>dT?N@ivek('[2Z_~@2}hWZ£p0YFc8ϼi" or missing value F2FS-fs (loop1): Unable to read 2th superblock F2FS-fs (loop1): Unrecognized mount option "myode=Qdapt>dT?N@ivek('[2Z_~@2}hWZ£p0YFc8ϼi" or missing value F2FS-fs (loop1): Magic Mismatch, valid(0xf2f52010) - read(0x0) F2FS-fs (loop1): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop1): Unrecognized mount option "myode=Qdapt>dT?N@ivek('[2Z_~@2}hWZ£p0YFc8ϼi" or missing value nla_parse: 5 callbacks suppressed netlink: 14 bytes leftover after parsing attributes in process `syz-executor.2'. EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated bridge0: port 2(bridge_slave_1) entered blocking state bridge0: port 2(bridge_slave_1) entered forwarding state bridge0: port 1(bridge_slave_0) entered blocking state bridge0: port 1(bridge_slave_0) entered forwarding state EXT4-fs (loop1): get root inode failed EXT4-fs (loop1): mount failed EXT4-fs error (device loop1): ext4_fill_super:4448: inode #2: comm syz-executor.1: iget: root inode unallocated IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready EXT4-fs (loop1): get root inode failed EXT4-fs (loop1): mount failed bridge0: port 2(bridge_slave_1) entered disabled state bridge0: port 1(bridge_slave_0) entered disabled state audit: type=1800 audit(1603093612.393:85): pid=24367 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.5" name="bus" dev="sda1" ino=16305 res=0 audit: type=1800 audit(1603093612.423:86): pid=24272 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.5" name="bus" dev="sda1" ino=16305 res=0 audit: type=1800 audit(1603093612.423:87): pid=24369 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.5" name="bus" dev="sda1" ino=16305 res=0 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. EXT4-fs error (device loop4): ext4_fill_super:4448: inode #2: comm syz-executor.4: iget: root inode unallocated netlink: 4 bytes leftover after parsing attributes in process `syz-executor.5'. EXT4-fs (loop4): get root inode failed EXT4-fs (loop4): mount failed EXT4-fs error (device loop4): ext4_fill_super:4448: inode #2: comm syz-executor.4: iget: root inode unallocated EXT4-fs (loop4): get root inode failed EXT4-fs (loop4): mount failed (syz-executor.4,24428,1):ocfs2_fill_super:1023 ERROR: superblock probe failed! (syz-executor.4,24428,1):ocfs2_fill_super:1225 ERROR: status = -22 team0: Port device team_slave_0 removed netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. (syz-executor.4,24442,0):ocfs2_fill_super:1023 ERROR: superblock probe failed! IPv6: ADDRCONF(NETDEV_UP): macvlan2: link is not ready (syz-executor.4,24442,0):ocfs2_fill_super:1225 ERROR: status = -22 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.5'. program syz-executor.4 is using a deprecated SCSI ioctl, please convert it to SG_IO sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0 netlink: 40 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 40 bytes leftover after parsing attributes in process `syz-executor.1'. batman_adv: batadv: cannot create tp meter kthread overlayfs: upperdir is in-use as upperdir/workdir of another mount, mount with '-o index=off' to override exclusive upperdir protection. EXT4-fs (loop4): couldn't mount RDWR because of unsupported optional features (340000) EXT4-fs (loop4): couldn't mount as ext2 due to feature incompatibilities EXT4-fs (loop4): couldn't mount RDWR because of unsupported optional features (340000) EXT4-fs (loop4): couldn't mount as ext2 due to feature incompatibilities netlink: 8 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor.2'. XFS (loop5): Invalid superblock magic number IPv4: Oversized IP packet from 127.0.0.1 IPv4: Oversized IP packet from 127.0.0.1 isofs_fill_super: root inode is not a directory. Corrupted media? IPVS: ftp: loaded support on port[0] = 21 isofs_fill_super: root inode is not a directory. Corrupted media? isofs_fill_super: root inode is not a directory. Corrupted media? gfs2: fsid=dctcp: Trying to join cluster "lock_nolock", "dctcp" netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. isofs_fill_super: root inode is not a directory. Corrupted media? gfs2: fsid=dctcp: Now mounting FS... isofs_fill_super: root inode is not a directory. Corrupted media? gfs2: not a GFS2 filesystem gfs2: fsid=dctcp: can't read superblock netlink: 8 bytes leftover after parsing attributes in process `syz-executor.1'. gfs2: fsid=dctcp: can't read superblock: -22 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor.1'. isofs_fill_super: root inode is not a directory. Corrupted media? isofs_fill_super: root inode is not a directory. Corrupted media?