================================================================================ UBSAN: Undefined behaviour in arch/x86/kvm/pmu_intel.c:299:45 shift exponent 134 is too large for 64-bit type 'long long unsigned int' CPU: 0 PID: 8844 Comm: syz-executor.0 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 intel_pmu_refresh.cold+0x9b/0xa0 arch/x86/kvm/pmu_intel.c:299 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:00007fcc9b7eac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000011f00 RCX: 000000000045de59 RDX: 0000000020000380 RSI: 000000004008ae8a RDI: 0000000000000005 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffc16e9f01f R14: 00007fcc9b7eb9c0 R15: 000000000118bf2c ================================================================================ ================================================================================ UBSAN: Undefined behaviour in arch/x86/kvm/pmu_intel.c:301:13 shift exponent 113 is too large for 64-bit type 'long long unsigned int' CPU: 0 PID: 8844 Comm: syz-executor.0 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 intel_pmu_refresh.cold+0x75/0xa0 arch/x86/kvm/pmu_intel.c:301 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:00007fcc9b7eac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000011f00 RCX: 000000000045de59 RDX: 0000000020000380 RSI: 000000004008ae8a RDI: 0000000000000005 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffc16e9f01f R14: 00007fcc9b7eb9c0 R15: 000000000118bf2c ================================================================================ hfs: can't find a HFS filesystem on dev loop0 hfs: can't find a HFS filesystem on dev loop0 audit: type=1804 audit(1602916151.205:10): pid=9068 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-testdir020628263/syzkaller.ZFZNON/39/bus" dev="sda1" ino=15828 res=1 audit: type=1804 audit(1602916151.375:11): pid=9074 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-testdir020628263/syzkaller.ZFZNON/39/bus" dev="sda1" ino=15828 res=1 audit: type=1804 audit(1602916152.525:12): pid=9130 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-testdir020628263/syzkaller.ZFZNON/39/bus" dev="sda1" ino=15828 res=1 audit: type=1804 audit(1602916152.685:13): pid=9134 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-testdir020628263/syzkaller.ZFZNON/39/bus" dev="sda1" ino=15828 res=1 audit: type=1804 audit(1602916152.685:14): pid=9133 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-testdir020628263/syzkaller.ZFZNON/39/bus" dev="sda1" ino=15828 res=1 syz-executor.0 (9147) used greatest stack depth: 23080 bytes left netlink: 16 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1804 audit(1602916153.845:15): pid=9267 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-testdir639500725/syzkaller.VtRp7b/47/bus" dev="sda1" ino=15858 res=1 audit: type=1804 audit(1602916153.875:16): pid=9267 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-testdir639500725/syzkaller.VtRp7b/47/bus" dev="sda1" ino=15858 res=1 BTRFS: device fsid f90cac8b-044b-4fa8-8bee-4b8d3da88dc2 devid 1 transid 7 /dev/loop3 netlink: 16 bytes leftover after parsing attributes in process `syz-executor.0'. BTRFS error (device loop3): superblock checksum mismatch BTRFS error (device loop3): open_ctree failed BTRFS error (device loop3): superblock checksum mismatch audit: type=1804 audit(1602916154.545:17): pid=9310 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-testdir639500725/syzkaller.VtRp7b/47/bus" dev="sda1" ino=15858 res=1 BTRFS error (device loop3): open_ctree failed netlink: 8 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 16 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 16 bytes leftover after parsing attributes in process `syz-executor.0'.