================================================================================ UBSAN: Undefined behaviour in arch/x86/kvm/pmu_intel.c:299:45 shift exponent 194 is too large for 64-bit type 'long long unsigned int' CPU: 1 PID: 21456 Comm: syz-executor.2 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+0x9b/0xa0 arch/x86/kvm/pmu_intel.c:299 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 netlink: 'syz-executor.1': attribute type 1 has an invalid length. 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:00007f9381500c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000011f40 RCX: 000000000045de59 RDX: 0000000020000540 RSI: 000000004008ae90 RDI: 0000000000000006 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c IPv6: ADDRCONF(NETDEV_UP): veth37: link is not ready R13: 00007fff6223f94f R14: 00007f93815019c0 R15: 000000000118bf2c ================================================================================ ================================================================================ UBSAN: Undefined behaviour in arch/x86/kvm/pmu_intel.c:301:13 shift exponent 248 is too large for 64-bit type 'long long unsigned int' CPU: 1 PID: 21456 Comm: syz-executor.2 Not tainted 4.19.152-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 team0: Port device veth37 added 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_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 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. 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:00007f9381500c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000011f40 RCX: 000000000045de59 RDX: 0000000020000540 RSI: 000000004008ae90 RDI: 0000000000000006 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007fff6223f94f R14: 00007f93815019c0 R15: 000000000118bf2c ================================================================================ IPv6: ADDRCONF(NETDEV_UP): veth39: link is not ready ================================================================================ UBSAN: Undefined behaviour in arch/x86/kvm/pmu_intel.c:310:12 shift exponent 164 is too large for 64-bit type 'long long unsigned int' CPU: 1 PID: 21456 Comm: syz-executor.2 Not tainted 4.19.152-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: team0: Port device veth39 added __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 netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond20 (uninitialized): Released all slaves 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:00007f9381500c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000011f40 RCX: 000000000045de59 RDX: 0000000020000540 RSI: 000000004008ae90 RDI: 0000000000000006 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007fff6223f94f R14: 00007f93815019c0 R15: 000000000118bf2c ================================================================================ netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers instead. IPv6: ADDRCONF(NETDEV_UP): veth41: link is not ready team0: Port device veth41 added netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond20 (uninitialized): Released all slaves netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 'syz-executor.1': attribute type 1 has an invalid length. IPv6: ADDRCONF(NETDEV_UP): veth43: link is not ready team0: Port device veth43 added netlink: 'syz-executor.1': attribute type 1 has an invalid length. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. IPv6: ADDRCONF(NETDEV_UP): veth45: link is not ready team0: Port device veth45 added netlink: 'syz-executor.1': attribute type 1 has an invalid length. netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond23 (uninitialized): Released all slaves IPv6: ADDRCONF(NETDEV_UP): veth47: link is not ready team0: Port device veth47 added bond23 (uninitialized): Released all slaves IPv6: ADDRCONF(NETDEV_UP): veth49: link is not ready team0: Port device veth49 added ptrace attach of "/root/syz-executor.4"[21814] was attempted by "/root/syz-executor.4"[21820] bond23 (uninitialized): Released all slaves IPv6: ADDRCONF(NETDEV_UP): veth51: link is not ready team0: Port device veth51 added IPv6: ADDRCONF(NETDEV_UP): veth53: link is not ready team0: Port device veth53 added nla_parse: 4 callbacks suppressed netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. IPv6: ADDRCONF(NETDEV_UP): veth55: link is not ready team0: Port device veth55 added netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. IPv6: ADDRCONF(NETDEV_UP): veth57: link is not ready team0: Port device veth57 added validate_nla: 2 callbacks suppressed netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond23 (uninitialized): Released all slaves netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. IPv6: ADDRCONF(NETDEV_UP): veth59: link is not ready team0: Port device veth59 added netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond23 (uninitialized): Released all slaves netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. IPv6: ADDRCONF(NETDEV_UP): veth61: link is not ready team0: Port device veth61 added REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond23 (uninitialized): Released all slaves netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. IPv6: ADDRCONF(NETDEV_UP): veth63: link is not ready team0: Port device veth63 added REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond23 (uninitialized): Released all slaves netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. IPv6: ADDRCONF(NETDEV_UP): veth65: link is not ready team0: Port device veth65 added REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond23 (uninitialized): Released all slaves netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 IPv6: ADDRCONF(NETDEV_UP): veth67: link is not ready team0: Port device veth67 added netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond23 (uninitialized): Released all slaves REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 netlink: 'syz-executor.1': attribute type 1 has an invalid length. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. IPv6: ADDRCONF(NETDEV_UP): veth69: link is not ready team0: Port device veth69 added netlink: 'syz-executor.1': attribute type 1 has an invalid length. REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. IPv6: ADDRCONF(NETDEV_UP): veth71: link is not ready team0: Port device veth71 added netlink: 'syz-executor.1': attribute type 1 has an invalid length. REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 netlink: 'syz-executor.1': attribute type 1 has an invalid length. REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 nla_parse: 5 callbacks suppressed netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 bond32 (uninitialized): Released all slaves netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 validate_nla: 6 callbacks suppressed netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond32 (uninitialized): Released all slaves netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond32 (uninitialized): Released all slaves netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 netlink: 'syz-executor.1': attribute type 1 has an invalid length. bond32 (uninitialized): Released all slaves netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'.