================================================================================ UBSAN: Undefined behaviour in arch/x86/kernel/uprobes.c:276:56 index 4 is out of range for type 'insn_byte_t [4]' CPU: 0 PID: 10923 Comm: syz-executor.5 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_out_of_bounds.cold+0x63/0x6f lib/ubsan.c:383 is_prefix_bad arch/x86/kernel/uprobes.c:276 [inline] uprobe_init_insn arch/x86/kernel/uprobes.c:299 [inline] arch_uprobe_analyze_insn+0x9d8/0xaa0 arch/x86/kernel/uprobes.c:868 prepare_uprobe kernel/events/uprobes.c:611 [inline] install_breakpoint kernel/events/uprobes.c:654 [inline] uprobe_mmap+0x8c2/0xa70 kernel/events/uprobes.c:1096 mmap_region+0x552/0x1510 mm/mmap.c:1803 do_mmap+0x8e8/0x1080 mm/mmap.c:1530 do_mmap_pgoff include/linux/mm.h:2326 [inline] vm_mmap_pgoff+0x197/0x200 mm/util.c:357 ksys_mmap_pgoff+0x2d1/0x660 mm/mmap.c:1580 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:00007efef1cf6c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000021400 RCX: 000000000045de59 RDX: 0000000000000000 RSI: 0000000000003000 RDI: 0000000020007000 RBP: 000000000118bf78 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000412 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffd258220af R14: 00007efef1cf79c0 R15: 000000000118bf2c ================================================================================ FAT-fs (loop5): bogus number of reserved sectors FAT-fs (loop5): Can't find a valid FAT filesystem FAT-fs (loop3): Unrecognized mount option "smackfstransmute= " or missing value FAT-fs (loop5): bogus number of reserved sectors FAT-fs (loop5): Can't find a valid FAT filesystem FAT-fs (loop3): Unrecognized mount option "smackfstransmute= " or missing value kvm [11123]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x40000049 data 0x200000000000fffe kvm [11123]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x4000008a data 0x200000000000ffae FAT-fs (loop5): bogus number of reserved sectors FAT-fs (loop5): Can't find a valid FAT filesystem FAT-fs (loop5): bogus number of reserved sectors FAT-fs (loop5): Can't find a valid FAT filesystem netlink: 48 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor.4'. ptrace attach of "/root/syz-executor.3"[11267] was attempted by "/root/syz-executor.3"[11275] FAT-fs (loop5): Unrecognized mount option "smackfstransmute= " or missing value FAT-fs (loop5): Unrecognized mount option "smackfstransmute= " or missing value kvm [11334]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x40000042 data 0xfffe kvm [11334]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x40000062 data 0xff89 kvm [11338]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x4000000a kvm [11334]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x4000001e data 0xff37 kvm [11338]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000014 kvm [11334]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x4000004a data 0xff92 kvm [11338]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000028 kvm [11334]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x40000025 data 0xff63 kvm [11338]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000050 kvm [11334]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x4000003d data 0xff54 kvm [11338]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000042 kvm [11392]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x40000042 data 0xfffe kvm [11392]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x40000062 data 0xff89 FAT-fs (loop5): Unrecognized mount option "smackfstransmute= " or missing value ptrace attach of "/root/syz-executor.3"[11439] was attempted by "/root/syz-executor.3"[11450] FAT-fs (loop5): Unrecognized mount option "euid=00000000000000000000" or missing value FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem FAT-fs (loop3): bogus number of reserved sectors FAT-fs (loop3): Can't find a valid FAT filesystem 9pnet: p9_fd_create_tcp (11588): problem connecting socket to 127.0.0.1 9pnet: p9_fd_create_tcp (11601): problem connecting socket to 127.0.0.1 FAT-fs (loop2): Unrecognized mount option "euid=00000000000000000000" or missing value FAT-fs (loop2): Unrecognized mount option "euid=00000000000000000000" or missing value kvm_hv_set_msr: 28 callbacks suppressed kvm [11658]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x40000006 data 0x1 kvm [11658]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x40000006 data 0x47 kvm [11658]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x40000006 data 0x25 kvm [11658]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x40000005 data 0x48 kvm [11658]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x40000004 data 0x137 FAT-fs (loop2): bogus number of reserved sectors FAT-fs (loop2): Can't find a valid FAT filesystem kvm [11696]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000056 kvm [11696]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x4000005b FAT-fs (loop2): bogus number of reserved sectors FAT-fs (loop2): Can't find a valid FAT filesystem kvm [11696]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x4000000c FAT-fs (loop4): Unrecognized mount option "subj_type=rpfilter" or missing value FAT-fs (loop4): Unrecognized mount option "subj_type=rpfilter" or missing value kvm [11747]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000056 kvm [11747]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x4000005b kvm [11747]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x4000000c kvm [11775]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000056 kvm [11775]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x4000005b