bisecting fixing commit since 6500aa436df40a46998f7a56a32e8199a3513e6d building syzkaller on 442206d76b974cca2d83ec763d4cf5ee829eb7d6 testing commit 6500aa436df40a46998f7a56a32e8199a3513e6d compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 2466bdafab35954ed7ca2b98b12789be6da9973aece758db25d56561f80c91ca all runs: crashed: INFO: task hung in __fuse_request_send testing current HEAD b172b44fcb1771e083aad806fa96f3f60e2ddfac testing commit b172b44fcb1771e083aad806fa96f3f60e2ddfac compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 61f3738f2d916d84da2f1ce3fe5134952c44e6822c2c12e8e137c88dbf034cb1 all runs: crashed: INFO: task hung in __fuse_request_send revisions tested: 2, total time: 38m32.458127809s (build: 22m56.884315162s, test: 14m19.953812392s) the crash still happens on HEAD commit msg: Linux 4.19.206 crash: INFO: task hung in __fuse_request_send 8021q: adding VLAN 0 to HW filter on device batadv0 8021q: adding VLAN 0 to HW filter on device batadv0 IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready 8021q: adding VLAN 0 to HW filter on device batadv0 INFO: task syz-executor.3:6549 blocked for more than 140 seconds. Not tainted 4.19.206-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27224 6549 5651 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0xdb5/0x1d40 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 request_wait_answer+0x2fe/0x620 fs/fuse/dev.c:485 __fuse_request_send+0xff/0x190 fs/fuse/dev.c:505 fuse_request_send+0x41/0x80 fs/fuse/dev.c:518 fuse_simple_request+0x2b4/0x610 fs/fuse/dev.c:576 fuse_lookup_name+0x244/0x590 fs/fuse/dir.c:330 fuse_lookup+0xf3/0x3b0 fs/fuse/dir.c:368 __lookup_slow+0x216/0x400 fs/namei.c:1672 lookup_slow+0x51/0x70 fs/namei.c:1689 walk_component+0x697/0x11b0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat.isra.43+0x180/0x850 fs/namei.c:2319 filename_lookup.part.57+0x160/0x360 fs/namei.c:2349 filename_lookup fs/namei.c:2342 [inline] user_path_at_empty+0x39/0x40 fs/namei.c:2609 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0xbe/0x150 fs/stat.c:185 vfs_stat include/linux/fs.h:3132 [inline] __do_sys_newstat+0x85/0xe0 fs/stat.c:337 __se_sys_newstat fs/stat.c:333 [inline] __x64_sys_newstat+0x4f/0x70 fs/stat.c:333 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x460b89 Code: Bad RIP value. RSP: 002b:00007f5c72bf41a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000460b89 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000580 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f7168 R14: 00000000004c16e3 R15: 00007f5c72bf46bc INFO: task syz-executor.3:6552 blocked for more than 140 seconds. Not tainted 4.19.206-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28536 6552 5651 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0xdb5/0x1d40 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x5c7/0xbe0 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x53/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 fuse_notify_delete fs/fuse/dev.c:1585 [inline] fuse_notify fs/fuse/dev.c:1819 [inline] fuse_dev_do_write+0xba9/0x2400 fs/fuse/dev.c:1894 fuse_dev_write+0x12a/0x1b0 fs/fuse/dev.c:1978 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 vfs_write+0x150/0x4d0 fs/read_write.c:549 ksys_write+0x103/0x260 fs/read_write.c:599 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x460b89 Code: Bad RIP value. RSP: 002b:00007f5c72bd31a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000052bfa8 RCX: 0000000000460b89 RDX: 000000000000002e RSI: 0000000020000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f8200 R14: 00000000004b4d98 R15: 00007f5c72bd36bc INFO: task syz-executor.3:6553 blocked for more than 140 seconds. Not tainted 4.19.206-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28824 6553 5651 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0xdb5/0x1d40 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x5c7/0xbe0 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x53/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] lock_mount+0x82/0x290 fs/namespace.c:2075 do_add_mount+0x22/0x310 fs/namespace.c:2439 do_new_mount fs/namespace.c:2506 [inline] do_mount+0x128f/0x2340 fs/namespace.c:2822 ksys_mount+0xb1/0xd0 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3049 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x460b89 Code: Bad RIP value. RSP: 002b:00007f5c72bb21a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000052c050 RCX: 0000000000460b89 RDX: 0000000020000000 RSI: 0000000020000180 RDI: 0000000000000000 RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f25c0 R14: 00000000004b1a00 R15: 00007f5c72bb26bc INFO: task syz-executor.3:6589 blocked for more than 140 seconds. Not tainted 4.19.206-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D26776 6589 5651 0x00000006 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0xdb5/0x1d40 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x5c7/0xbe0 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x53/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] lock_mount+0x82/0x290 fs/namespace.c:2075 do_add_mount+0x22/0x310 fs/namespace.c:2439 do_new_mount fs/namespace.c:2506 [inline] do_mount+0x128f/0x2340 fs/namespace.c:2822 ksys_mount+0xb1/0xd0 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3049 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x460b89 Code: Bad RIP value. RSP: 002b:00007f5c72b911a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000052c0f8 RCX: 0000000000460b89 RDX: 0000000020000240 RSI: 0000000020000200 RDI: 0000000000000000 RBP: 0000000000000005 R08: 0000000020000400 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f2680 R14: 00000000004b19d4 R15: 00007f5c72b916bc INFO: task syz-executor.3:6590 blocked for more than 140 seconds. Not tainted 4.19.206-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28120 6590 5651 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0xdb5/0x1d40 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x21c/0x3e0 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x49/0xb0 kernel/locking/rwsem.c:26 inode_lock_shared include/linux/fs.h:758 [inline] lookup_slow+0x43/0x70 fs/namei.c:1688 walk_component+0x697/0x11b0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat.isra.43+0x180/0x850 fs/namei.c:2319 filename_lookup.part.57+0x160/0x360 fs/namei.c:2349 filename_lookup fs/namei.c:2342 [inline] user_path_at_empty+0x39/0x40 fs/namei.c:2609 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0xbe/0x150 fs/stat.c:185 vfs_stat include/linux/fs.h:3132 [inline] __do_sys_newstat+0x85/0xe0 fs/stat.c:337 __se_sys_newstat fs/stat.c:333 [inline] __x64_sys_newstat+0x4f/0x70 fs/stat.c:333 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x460b89 Code: Bad RIP value. RSP: 002b:00007f5c72b701a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 000000000052c1a0 RCX: 0000000000460b89 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000580 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f7168 R14: 00000000004c16e3 R15: 00007f5c72b706bc INFO: task syz-executor.0:6555 blocked for more than 140 seconds. Not tainted 4.19.206-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D27240 6555 5646 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0xdb5/0x1d40 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 request_wait_answer+0x2fe/0x620 fs/fuse/dev.c:485 __fuse_request_send+0xff/0x190 fs/fuse/dev.c:505 fuse_request_send+0x41/0x80 fs/fuse/dev.c:518 fuse_simple_request+0x2b4/0x610 fs/fuse/dev.c:576 fuse_lookup_name+0x244/0x590 fs/fuse/dir.c:330 fuse_lookup+0xf3/0x3b0 fs/fuse/dir.c:368 __lookup_slow+0x216/0x400 fs/namei.c:1672 lookup_slow+0x51/0x70 fs/namei.c:1689 walk_component+0x697/0x11b0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat.isra.43+0x180/0x850 fs/namei.c:2319 filename_lookup.part.57+0x160/0x360 fs/namei.c:2349 filename_lookup fs/namei.c:2342 [inline] user_path_at_empty+0x39/0x40 fs/namei.c:2609 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0xbe/0x150 fs/stat.c:185 vfs_stat include/linux/fs.h:3132 [inline] __do_sys_newstat+0x85/0xe0 fs/stat.c:337 __se_sys_newstat fs/stat.c:333 [inline] __x64_sys_newstat+0x4f/0x70 fs/stat.c:333 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x460b89 Code: Bad RIP value. RSP: 002b:00007fc4fd4a11a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000460b89 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000580 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f7168 R14: 00000000004c16e3 R15: 00007fc4fd4a16bc INFO: task syz-executor.0:6563 blocked for more than 140 seconds. Not tainted 4.19.206-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28920 6563 5646 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0xdb5/0x1d40 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x5c7/0xbe0 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x53/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 fuse_notify_delete fs/fuse/dev.c:1585 [inline] fuse_notify fs/fuse/dev.c:1819 [inline] fuse_dev_do_write+0xba9/0x2400 fs/fuse/dev.c:1894 fuse_dev_write+0x12a/0x1b0 fs/fuse/dev.c:1978 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 vfs_write+0x150/0x4d0 fs/read_write.c:549 ksys_write+0x103/0x260 fs/read_write.c:599 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x460b89 Code: Bad RIP value. RSP: 002b:00007fc4fd4801a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000052bfa8 RCX: 0000000000460b89 RDX: 000000000000002e RSI: 0000000020000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f8200 R14: 00000000004b4d98 R15: 00007fc4fd4806bc INFO: task syz-executor.0:6568 blocked for more than 140 seconds. Not tainted 4.19.206-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28504 6568 5646 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0xdb5/0x1d40 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x5c7/0xbe0 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x53/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] lock_mount+0x82/0x290 fs/namespace.c:2075 do_add_mount+0x22/0x310 fs/namespace.c:2439 do_new_mount fs/namespace.c:2506 [inline] do_mount+0x128f/0x2340 fs/namespace.c:2822 ksys_mount+0xb1/0xd0 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3049 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x460b89 Code: Bad RIP value. RSP: 002b:00007fc4fd45f1a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000052c050 RCX: 0000000000460b89 RDX: 0000000020000000 RSI: 0000000020000180 RDI: 0000000000000000 RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f25c0 R14: 00000000004b1a00 R15: 00007fc4fd45f6bc INFO: task syz-executor.0:6599 blocked for more than 140 seconds. Not tainted 4.19.206-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D27640 6599 5646 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0xdb5/0x1d40 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x5c7/0xbe0 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x53/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] lock_mount+0x82/0x290 fs/namespace.c:2075 do_add_mount+0x22/0x310 fs/namespace.c:2439 do_new_mount fs/namespace.c:2506 [inline] do_mount+0x128f/0x2340 fs/namespace.c:2822 ksys_mount+0xb1/0xd0 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3049 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x460b89 Code: Bad RIP value. RSP: 002b:00007fc4fd43e1a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000052c0f8 RCX: 0000000000460b89 RDX: 0000000020000240 RSI: 0000000020000200 RDI: 0000000000000000 RBP: 0000000000000005 R08: 0000000020000400 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f2680 R14: 00000000004b19d4 R15: 00007fc4fd43e6bc INFO: task syz-executor.0:6600 blocked for more than 140 seconds. Not tainted 4.19.206-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D29176 6600 5646 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0xdb5/0x1d40 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x21c/0x3e0 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x49/0xb0 kernel/locking/rwsem.c:26 inode_lock_shared include/linux/fs.h:758 [inline] lookup_slow+0x43/0x70 fs/namei.c:1688 walk_component+0x697/0x11b0 fs/namei.c:1811 lookup_last fs/namei.c:2274 [inline] path_lookupat.isra.43+0x180/0x850 fs/namei.c:2319 filename_lookup.part.57+0x160/0x360 fs/namei.c:2349 filename_lookup fs/namei.c:2342 [inline] user_path_at_empty+0x39/0x40 fs/namei.c:2609 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0xbe/0x150 fs/stat.c:185 vfs_stat include/linux/fs.h:3132 [inline] __do_sys_newstat+0x85/0xe0 fs/stat.c:337 __se_sys_newstat fs/stat.c:333 [inline] __x64_sys_newstat+0x4f/0x70 fs/stat.c:333 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x460b89 Code: Bad RIP value. RSP: 002b:00007fc4fd41d1a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 000000000052c1a0 RCX: 0000000000460b89 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000580 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004f7168 R14: 00000000004c16e3 R15: 00007fc4fd41d6bc Showing all locks held in the system: 1 lock held by khungtaskd/1042: #0: 000000003d3f5000 (rcu_read_lock){....}, at: debug_show_all_locks+0x5b/0x27a kernel/locking/lockdep.c:4443 1 lock held by in:imklog/5327: #0: 00000000cd4ec6e0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xa7/0xd0 fs/file.c:767 2 locks held by syz-executor.3/6549: #0: 00000000b66ce7b1 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000b66ce7b1 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 #1: 00000000a61c1743 (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 2 locks held by syz-executor.3/6552: #0: 00000000a40fcb7d (&fc->killsb){.+.+}, at: fuse_notify_delete fs/fuse/dev.c:1582 [inline] #0: 00000000a40fcb7d (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1819 [inline] #0: 00000000a40fcb7d (&fc->killsb){.+.+}, at: fuse_dev_do_write+0x19e0/0x2400 fs/fuse/dev.c:1894 #1: 00000000b66ce7b1 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000b66ce7b1 (&type->i_mutex_dir_key#8){++++}, at: fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 1 lock held by syz-executor.3/6553: #0: 00000000b66ce7b1 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000b66ce7b1 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2075 1 lock held by syz-executor.3/6589: #0: 00000000b66ce7b1 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000b66ce7b1 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2075 1 lock held by syz-executor.3/6590: #0: 00000000b66ce7b1 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000b66ce7b1 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 2 locks held by syz-executor.0/6555: #0: 00000000c35fc8f8 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000c35fc8f8 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 #1: 000000008585aff4 (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 2 locks held by syz-executor.0/6563: #0: 0000000063b3b82f (&fc->killsb){.+.+}, at: fuse_notify_delete fs/fuse/dev.c:1582 [inline] #0: 0000000063b3b82f (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1819 [inline] #0: 0000000063b3b82f (&fc->killsb){.+.+}, at: fuse_dev_do_write+0x19e0/0x2400 fs/fuse/dev.c:1894 #1: 00000000c35fc8f8 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000c35fc8f8 (&type->i_mutex_dir_key#8){++++}, at: fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 1 lock held by syz-executor.0/6568: #0: 00000000c35fc8f8 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000c35fc8f8 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2075 1 lock held by syz-executor.0/6599: #0: 00000000c35fc8f8 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000c35fc8f8 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2075 1 lock held by syz-executor.0/6600: #0: 00000000c35fc8f8 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000c35fc8f8 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 2 locks held by syz-executor.2/6561: #0: 000000002d77215b (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 000000002d77215b (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 #1: 00000000c1745c2c (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 1 lock held by syz-executor.2/6569: #0: 000000002d77215b (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000002d77215b (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2075 2 locks held by syz-executor.2/6581: #0: 000000001e06735e (&fc->killsb){.+.+}, at: fuse_notify_delete fs/fuse/dev.c:1582 [inline] #0: 000000001e06735e (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1819 [inline] #0: 000000001e06735e (&fc->killsb){.+.+}, at: fuse_dev_do_write+0x19e0/0x2400 fs/fuse/dev.c:1894 #1: 000000002d77215b (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 000000002d77215b (&type->i_mutex_dir_key#8){++++}, at: fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 1 lock held by syz-executor.2/6605: #0: 000000002d77215b (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000002d77215b (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2075 1 lock held by syz-executor.2/6606: #0: 000000002d77215b (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 000000002d77215b (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 2 locks held by syz-executor.1/6572: #0: 00000000911bcadc (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000911bcadc (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 #1: 000000008a04c72a (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 1 lock held by syz-executor.1/6588: #0: 00000000911bcadc (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000911bcadc (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2075 2 locks held by syz-executor.1/6597: #0: 000000003b5e12cb (&fc->killsb){.+.+}, at: fuse_notify_delete fs/fuse/dev.c:1582 [inline] #0: 000000003b5e12cb (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1819 [inline] #0: 000000003b5e12cb (&fc->killsb){.+.+}, at: fuse_dev_do_write+0x19e0/0x2400 fs/fuse/dev.c:1894 #1: 00000000911bcadc (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000911bcadc (&type->i_mutex_dir_key#8){++++}, at: fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 1 lock held by syz-executor.1/6611: #0: 00000000911bcadc (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000911bcadc (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2075 1 lock held by syz-executor.1/6612: #0: 00000000911bcadc (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000911bcadc (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 2 locks held by syz-executor.5/6573: #0: 000000009def3ba5 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 000000009def3ba5 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 #1: 000000004f0a5169 (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 2 locks held by syz-executor.5/6587: #0: 00000000afb045f8 (&fc->killsb){.+.+}, at: fuse_notify_delete fs/fuse/dev.c:1582 [inline] #0: 00000000afb045f8 (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1819 [inline] #0: 00000000afb045f8 (&fc->killsb){.+.+}, at: fuse_dev_do_write+0x19e0/0x2400 fs/fuse/dev.c:1894 #1: 000000009def3ba5 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 000000009def3ba5 (&type->i_mutex_dir_key#8){++++}, at: fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 1 lock held by syz-executor.5/6596: #0: 000000009def3ba5 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000009def3ba5 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2075 1 lock held by syz-executor.5/6615: #0: 000000009def3ba5 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 000000009def3ba5 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 1 lock held by syz-executor.5/6616: #0: 000000009def3ba5 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000009def3ba5 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2075 2 locks held by syz-executor.4/6582: #0: 000000000083b55f (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 000000000083b55f (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 #1: 00000000e7c625ae (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 2 locks held by syz-executor.4/6595: #0: 0000000071d57f43 (&fc->killsb){.+.+}, at: fuse_notify_delete fs/fuse/dev.c:1582 [inline] #0: 0000000071d57f43 (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1819 [inline] #0: 0000000071d57f43 (&fc->killsb){.+.+}, at: fuse_dev_do_write+0x19e0/0x2400 fs/fuse/dev.c:1894 #1: 000000000083b55f (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 000000000083b55f (&type->i_mutex_dir_key#8){++++}, at: fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 1 lock held by syz-executor.4/6598: #0: 000000000083b55f (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000000083b55f (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2075 1 lock held by syz-executor.4/6621: #0: 000000000083b55f (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000000083b55f (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2075 1 lock held by syz-executor.4/6622: #0: 000000000083b55f (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 000000000083b55f (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1042 Comm: khungtaskd Not tainted 4.19.206-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+0x123/0x171 lib/dump_stack.c:118 nmi_cpu_backtrace.cold.4+0x3e/0x76 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0xe6/0x120 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x5c3/0xb40 kernel/hung_task.c:287 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9 Comm: ksoftirqd/0 Not tainted 4.19.206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lookup_object lib/debugobjects.c:154 [inline] RIP: 0010:debug_object_active_state lib/debugobjects.c:727 [inline] RIP: 0010:debug_object_active_state+0x1b3/0x3b0 lib/debugobjects.c:713 Code: 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 18 41 83 c6 01 49 89 f9 49 c1 e9 03 41 80 3c 01 00 0f 85 10 01 00 00 4c 3b 7b 18 74 7d <48> 89 df 48 c1 ef 03 80 3c 07 00 0f 85 26 01 00 00 48 8b 1b 48 85 RSP: 0018:ffff8881f56cfbe0 EFLAGS: 00000006 RAX: dffffc0000000000 RBX: ffff8881d13d2b28 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff88199a80 RDI: ffff8881d13d2b40 RBP: ffff8881f56cfca8 R08: fffffbfff13aec02 R09: 1ffff1103a27a568 R10: fffffbfff13aec01 R11: ffffffff89d7600b R12: 1ffff1103ead9f80 R13: ffffffff89d76008 R14: 0000000000000002 R15: ffff8881e346b780 FS: 0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f09da60d000 CR3: 000000000806d004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_rcu_head_unqueue kernel/rcu/rcu.h:202 [inline] rcu_do_batch kernel/rcu/tree.c:2583 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2897 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2864 [inline] rcu_process_callbacks+0xc8a/0x19a0 kernel/rcu/tree.c:2881 __do_softirq+0x25f/0x919 kernel/softirq.c:292 run_ksoftirqd kernel/softirq.c:653 [inline] run_ksoftirqd+0x94/0x100 kernel/softirq.c:645 smpboot_thread_fn+0x55f/0x8a0 kernel/smpboot.c:164 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 ---------------- Code disassembly (best guess): 0: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 7: fc ff df a: 48 8d 7b 18 lea 0x18(%rbx),%rdi e: 41 83 c6 01 add $0x1,%r14d 12: 49 89 f9 mov %rdi,%r9 15: 49 c1 e9 03 shr $0x3,%r9 19: 41 80 3c 01 00 cmpb $0x0,(%r9,%rax,1) 1e: 0f 85 10 01 00 00 jne 0x134 24: 4c 3b 7b 18 cmp 0x18(%rbx),%r15 28: 74 7d je 0xa7 * 2a: 48 89 df mov %rbx,%rdi <-- trapping instruction 2d: 48 c1 ef 03 shr $0x3,%rdi 31: 80 3c 07 00 cmpb $0x0,(%rdi,%rax,1) 35: 0f 85 26 01 00 00 jne 0x161 3b: 48 8b 1b mov (%rbx),%rbx 3e: 48 rex.W 3f: 85 .byte 0x85