================================================================================ UBSAN: Undefined behaviour in arch/x86/kernel/uprobes.c:276:56 index 4 is out of range for type 'insn_byte_t [4]' gfs2: not a GFS2 filesystem CPU: 0 PID: 8581 Comm: syz-executor.1 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:00007f75cf1dfc78 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: 00007fffd872912f R14: 00007f75cf1e09c0 R15: 000000000118bf2c ================================================================================ gfs2: not a GFS2 filesystem gfs2: not a GFS2 filesystem FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) audit: type=1400 audit(1601922538.346:15): avc: denied { create } for pid=8660 comm="syz-executor.5" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dccp_socket permissive=1 gfs2: not a GFS2 filesystem FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) ntfs: (device loop1): read_ntfs_boot_sector(): Primary boot sector is invalid. ntfs: (device loop1): read_ntfs_boot_sector(): Could not find a valid backup boot sector. gfs2: not a GFS2 filesystem ntfs: (device loop1): ntfs_fill_super(): Not an NTFS volume. FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) gfs2: not a GFS2 filesystem FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) audit: type=1800 audit(1601922539.246:16): pid=8662 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.2" name="cpuacct.usage_user" dev="sda1" ino=15815 res=0 gfs2: not a GFS2 filesystem EXT4-fs error (device loop1): ext4_ext_check_inode:498: inode #3: comm syz-executor.1: pblk 0 bad header/extent: invalid magic - magic 0, entries 0, max 0(0), depth 0(0) EXT4-fs error (device loop1): ext4_quota_enable:5835: comm syz-executor.1: Bad quota inode # 3 EXT4-fs warning (device loop1): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop1): mount failed gfs2: invalid mount option: quot gfs2: can't parse mount arguments EXT4-fs error (device loop1): ext4_ext_check_inode:498: inode #3: comm syz-executor.1: pblk 0 bad header/extent: invalid magic - magic 0, entries 0, max 0(0), depth 0(0) audit: type=1800 audit(1601922539.846:17): pid=8790 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.4" name="file0" dev="sda1" ino=15825 res=0 EXT4-fs error (device loop1): ext4_quota_enable:5835: comm syz-executor.1: Bad quota inode # 3 gfs2: not a GFS2 filesystem audit: type=1800 audit(1601922539.876:18): pid=8790 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.4" name="file0" dev="sda1" ino=15825 res=0 EXT4-fs warning (device loop1): ext4_enable_quotas:5872: Failed to enable quota tracking (type=0, err=-117). Please run e2fsck to fix. EXT4-fs (loop1): mount failed gfs2: not a GFS2 filesystem netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. gfs2: not a GFS2 filesystem gfs2: invalid mount option: quota=ac gfs2: can't parse mount arguments netlink: 131070 bytes leftover after parsing attributes in process `syz-executor.4'. gfs2: invalid mount option: quota=ac gfs2: can't parse mount arguments IPv6: ADDRCONF(NETDEV_UP): bond1: link is not ready 8021q: adding VLAN 0 to HW filter on device bond1 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 131070 bytes leftover after parsing attributes in process `syz-executor.4'. IPv6: ADDRCONF(NETDEV_UP): bond2: link is not ready 8021q: adding VLAN 0 to HW filter on device bond2 gfs2: invalid mount option: quota=ac gfs2: can't parse mount arguments gfs2: not a GFS2 filesystem IPv6: ADDRCONF(NETDEV_UP): bond3: link is not ready 8021q: adding VLAN 0 to HW filter on device bond3 gfs2: invalid mount option: quota=ac gfs2: can't parse mount arguments gfs2: invalid mount option: quota=ac gfs2: can't parse mount arguments overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. gfs2: invalid mount option: quota=ac gfs2: can't parse mount arguments overlayfs: lowerdir is in-use as upperdir/workdir of another mount, mount with '-o index=off' to override exclusive upperdir protection. gfs2: invalid mount option: quota=accou gfs2: can't parse mount arguments IPv6: ADDRCONF(NETDEV_UP): bond4: link is not ready 8021q: adding VLAN 0 to HW filter on device bond4 IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready gfs2: invalid mount option: quota=accou IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready gfs2: can't parse mount arguments IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready gfs2: invalid mount option: quota=accou gfs2: can't parse mount arguments REISERFS warning (device loop2): super-6502 reiserfs_getopt: unknown mount option "fsuuid=4" IPVS: ftp: loaded support on port[0] = 21 gfs2: invalid mount option: quota=accoun gfs2: can't parse mount arguments IPv6: ADDRCONF(NETDEV_UP): bond5: link is not ready 8021q: adding VLAN 0 to HW filter on device bond5 IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready gfs2: invalid mount option: quota=accoun gfs2: can't parse mount arguments IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready device bridge_slave_0 left promiscuous mode bridge0: port 1(bridge_slave_0) entered disabled state gfs2: invalid mount option: quota=accoun gfs2: can't parse mount arguments audit: type=1326 audit(1601922546.527:19): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=9235 comm="syz-executor.0" exe="/root/syz-executor.0" sig=31 arch=c000003e syscall=228 compat=0 ip=0x460c8a code=0xffff0000 device bridge_slave_1 left promiscuous mode bridge0: port 2(bridge_slave_1) entered disabled state bond0: Releasing backup interface bond_slave_0 IPVS: ftp: loaded support on port[0] = 21 audit: type=1326 audit(1601922547.137:20): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=9235 comm="syz-executor.0" exe="/root/syz-executor.0" sig=31 arch=c000003e syscall=228 compat=0 ip=0x460c8a code=0xffff0000 bond0: Releasing backup interface bond_slave_1