================================================================================ UBSAN: Undefined behaviour in arch/x86/kernel/uprobes.c:276:56 index 4 is out of range for type 'insn_byte_t [4]' CPU: 1 PID: 15985 Comm: syz-executor.2 Not tainted 4.19.149-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:0x45de29 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:00007faa36e41c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000021400 RCX: 000000000045de29 RDX: 0000000000000000 RSI: 0000000000003000 RDI: 0000000020007000 RBP: 000000000118bf78 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000412 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffdf946664f R14: 00007faa36e429c0 R15: 000000000118bf2c ================================================================================ xt_CT: netfilter: NOTRACK target is deprecated, use CT instead or upgrade iptables EXT4-fs error (device loop0): ext4_ext_check_inode:498: inode #3: comm syz-executor.0: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 0(0) EXT4-fs error (device loop0): ext4_quota_enable:5835: comm syz-executor.0: Bad quota inode # 3 EXT4-fs warning (device loop0): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. Bluetooth: hci2: command 0x0406 tx timeout Bluetooth: hci3: command 0x0406 tx timeout EXT4-fs (loop0): mount failed Bluetooth: hci0: command 0x0406 tx timeout Bluetooth: hci1: command 0x0406 tx timeout Bluetooth: hci4: command 0x0406 tx timeout Bluetooth: hci5: command 0x0406 tx timeout EXT4-fs error (device loop0): ext4_ext_check_inode:498: inode #3: comm syz-executor.0: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 0(0) audit: type=1804 audit(2809919799.718:26): pid=16026 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir624404301/syzkaller.YOOpz4/619/bus" dev="sda1" ino=16484 res=1 EXT4-fs error (device loop0): ext4_quota_enable:5835: comm syz-executor.0: Bad quota inode # 3 EXT4-fs warning (device loop0): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. audit: type=1804 audit(2809919799.758:27): pid=16026 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir624404301/syzkaller.YOOpz4/619/bus" dev="sda1" ino=16484 res=1 EXT4-fs (loop0): mount failed audit: type=1804 audit(2809919799.928:28): pid=16031 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir624404301/syzkaller.YOOpz4/619/bus" dev="sda1" ino=16484 res=1 audit: type=1804 audit(2809919800.078:29): pid=16026 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir624404301/syzkaller.YOOpz4/619/bus" dev="sda1" ino=16484 res=1 audit: type=1804 audit(2809919800.098:30): pid=16026 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir624404301/syzkaller.YOOpz4/619/bus" dev="sda1" ino=16484 res=1 audit: type=1804 audit(2809919800.138:31): pid=16026 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir624404301/syzkaller.YOOpz4/619/bus" dev="sda1" ino=16484 res=1 EXT4-fs error (device loop0): ext4_ext_check_inode:498: inode #3: comm syz-executor.0: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 0(0) EXT4-fs error (device loop0): ext4_quota_enable:5835: comm syz-executor.0: Bad quota inode # 3 EXT4-fs warning (device loop0): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop0): mount failed audit: type=1804 audit(2809919800.618:32): pid=16058 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir624404301/syzkaller.YOOpz4/620/bus" dev="sda1" ino=16082 res=1 EXT4-fs error (device loop0): ext4_ext_check_inode:498: inode #3: comm syz-executor.0: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 0(0) audit: type=1804 audit(2809919800.628:33): pid=16058 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir624404301/syzkaller.YOOpz4/620/bus" dev="sda1" ino=16082 res=1 EXT4-fs error (device loop0): ext4_quota_enable:5835: comm syz-executor.0: Bad quota inode # 3 audit: type=1804 audit(2809919800.878:34): pid=16058 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir624404301/syzkaller.YOOpz4/620/bus" dev="sda1" ino=16082 res=1 EXT4-fs warning (device loop0): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. audit: type=1804 audit(2809919801.188:35): pid=16081 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir624404301/syzkaller.YOOpz4/621/bus" dev="sda1" ino=16099 res=1 EXT4-fs (loop0): mount failed EXT4-fs error (device loop0): ext4_ext_check_inode:498: inode #3: comm syz-executor.0: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 0(0) EXT4-fs error (device loop0): ext4_quota_enable:5835: comm syz-executor.0: Bad quota inode # 3 EXT4-fs warning (device loop0): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop0): mount failed EXT4-fs error (device loop0): ext4_ext_check_inode:498: inode #3: comm syz-executor.0: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 0(0) EXT4-fs error (device loop0): ext4_quota_enable:5835: comm syz-executor.0: Bad quota inode # 3 EXT4-fs warning (device loop0): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop0): mount failed EXT4-fs error (device loop0): ext4_ext_check_inode:498: inode #3: comm syz-executor.0: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 0(0) EXT4-fs error (device loop0): ext4_quota_enable:5835: comm syz-executor.0: Bad quota inode # 3 EXT4-fs warning (device loop0): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop0): mount failed EXT4-fs error (device loop0): ext4_ext_check_inode:498: inode #3: comm syz-executor.0: pblk 0 bad header/extent: invalid extent entries - magic f30a, entries 1, max 4(4), depth 0(0) EXT4-fs error (device loop0): ext4_quota_enable:5835: comm syz-executor.0: Bad quota inode # 3 EXT4-fs warning (device loop0): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop0): mount failed device bridge_slave_0 left promiscuous mode bridge3: port 1(bridge_slave_0) entered disabled state batman_adv: batadv0: Interface deactivated: batadv_slave_0 batman_adv: batadv0: Removing interface: batadv_slave_0 batman_adv: batadv0: Interface deactivated: batadv_slave_1 batman_adv: batadv0: Removing interface: batadv_slave_1 device bridge_slave_1 left promiscuous mode bridge0: port 2(bridge_slave_1) entered disabled state device veth1_macvtap left promiscuous mode device veth0_macvtap left promiscuous mode device veth1_vlan left promiscuous mode device veth0_vlan left promiscuous mode