kvm [11277]: vcpu0, guest rIP: 0xcc ignored wrmsr: 0x11e data 0xbe702111 ================================================================================ UBSAN: Undefined behaviour in arch/x86/kvm/pmu_intel.c:310:12 shift exponent 64 is too large for 64-bit type 'long long unsigned int' CPU: 1 PID: 11281 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 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_cpuid2+0x151/0x1c0 arch/x86/kvm/cpuid.c:255 kvm_arch_vcpu_ioctl+0xfc0/0x2e10 arch/x86/kvm/x86.c:3931 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:00007fb8e81abc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000011f40 RCX: 000000000045de59 RDX: 0000000020000480 RSI: 000000004008ae90 RDI: 0000000000000006 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffde161af0f R14: 00007fb8e81ac9c0 R15: 000000000118bf2c ================================================================================ kvm [11326]: vcpu0, guest rIP: 0xcc ignored wrmsr: 0x11e data 0xbe702111 SQUASHFS error: squashfs_read_data failed to read block 0x0 squashfs: SQUASHFS error: unable to read squashfs_super_block SQUASHFS error: squashfs_read_data failed to read block 0x0 squashfs: SQUASHFS error: unable to read squashfs_super_block SQUASHFS error: squashfs_read_data failed to read block 0x0 kvm [11394]: vcpu0, guest rIP: 0xcc ignored wrmsr: 0x11e data 0xbe702111 squashfs: SQUASHFS error: unable to read squashfs_super_block netlink: 'syz-executor.5': attribute type 29 has an invalid length. netlink: 'syz-executor.5': attribute type 29 has an invalid length. SQUASHFS error: squashfs_read_data failed to read block 0x0 squashfs: SQUASHFS error: unable to read squashfs_super_block netlink: 'syz-executor.5': attribute type 29 has an invalid length. netlink: 'syz-executor.5': attribute type 29 has an invalid length. Process accounting resumed SQUASHFS error: squashfs_read_data failed to read block 0x0 squashfs: SQUASHFS error: unable to read squashfs_super_block Process accounting resumed netlink: 'syz-executor.5': attribute type 29 has an invalid length. netlink: 'syz-executor.5': attribute type 29 has an invalid length. netlink: 'syz-executor.5': attribute type 29 has an invalid length. netlink: 'syz-executor.5': attribute type 29 has an invalid length. Process accounting resumed netlink: 'syz-executor.0': attribute type 29 has an invalid length. netlink: 'syz-executor.0': attribute type 29 has an invalid length. SQUASHFS error: squashfs_read_data failed to read block 0x0 squashfs: SQUASHFS error: unable to read squashfs_super_block SQUASHFS error: squashfs_read_data failed to read block 0x0 Process accounting resumed squashfs: SQUASHFS error: unable to read squashfs_super_block Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. Process accounting resumed overlayfs: filesystem on './bus' not supported as upperdir Process accounting resumed Process accounting resumed openvswitch: netlink: Message has 1 unknown bytes. openvswitch: netlink: Message has 1 unknown bytes. input: syz1 as /devices/virtual/input/input5 Process accounting resumed openvswitch: netlink: Message has 1 unknown bytes. input: syz1 as /devices/virtual/input/input7 Process accounting resumed openvswitch: netlink: Message has 1 unknown bytes. input: syz1 as /devices/virtual/input/input8 openvswitch: netlink: Message has 1 unknown bytes. input: syz1 as /devices/virtual/input/input9 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. batman_adv: batadv0: Adding interface: vlan0 batman_adv: batadv0: The MTU of interface vlan0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. batman_adv: batadv0: Not using interface vlan0 (retrying later): interface not active netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.3'. device bond1 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): bond1: link is not ready 8021q: adding VLAN 0 to HW filter on device bond1 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. batman_adv: batadv0: Adding interface: vlan2 batman_adv: batadv0: The MTU of interface vlan2 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. batman_adv: batadv0: Not using interface vlan2 (retrying later): interface not active netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.3'. device bond2 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): bond2: link is not ready 8021q: adding VLAN 0 to HW filter on device bond2 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. batman_adv: batadv0: Adding interface: vlan3 batman_adv: batadv0: The MTU of interface vlan3 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. batman_adv: batadv0: Not using interface vlan3 (retrying later): interface not active device bond3 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): bond3: link is not ready 8021q: adding VLAN 0 to HW filter on device bond3 batman_adv: batadv0: Adding interface: vlan4 batman_adv: batadv0: The MTU of interface vlan4 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. batman_adv: batadv0: Not using interface vlan4 (retrying later): interface not active device bond4 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): bond4: link is not ready 8021q: adding VLAN 0 to HW filter on device bond4