bisecting fixing commit since 6500aa436df40a46998f7a56a32e8199a3513e6d building syzkaller on 442206d76b974cca2d83ec763d4cf5ee829eb7d6 testing commit 6500aa436df40a46998f7a56a32e8199a3513e6d with gcc (GCC) 8.1.0 kernel signature: eabff0c0258422bf8481fc4cdeab05dcdb7af436fffc06da46e9bf5ca7135eac all runs: crashed: INFO: task hung in __fuse_request_send testing current HEAD c14d30dc9987047b439b03d6e6db7d54d9f7f180 testing commit c14d30dc9987047b439b03d6e6db7d54d9f7f180 with gcc (GCC) 8.1.0 kernel signature: 61d31d1bdd902cbda27e78a35abf297bc060c35254b9693eac4bc2c3fe108bcd all runs: crashed: INFO: task hung in __fuse_request_send revisions tested: 2, total time: 33m32.236273057s (build: 18m31.115300639s, test: 13m39.273813139s) the crash still happens on HEAD commit msg: Linux 4.19.139 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.2:7140 blocked for more than 140 seconds. Not tainted 4.19.139-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D26936 7140 6243 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x78c/0x1c10 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+0x694/0x2320 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:3129 [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:0x459349 Code: Bad RIP value. RSP: 002b:00007fdc0c826c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459349 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000580 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdc0c8276d4 R13: 00000000004e537b R14: 00000000004de6c8 R15: 00000000ffffffff INFO: task syz-executor.2:7145 blocked for more than 140 seconds. Not tainted 4.19.139-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28616 7145 6243 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x78c/0x1c10 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+0x5c6/0xbf0 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:1569 [inline] fuse_notify fs/fuse/dev.c:1803 [inline] fuse_dev_do_write+0xb7d/0x2350 fs/fuse/dev.c:1878 fuse_dev_write+0x12a/0x1b0 fs/fuse/dev.c:1962 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:0x459349 Code: Bad RIP value. RSP: 002b:00007fdc0c805c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459349 RDX: 000000000000002e RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdc0c8066d4 R13: 00000000004c8b23 R14: 00000000004df760 R15: 00000000ffffffff INFO: task syz-executor.2:7146 blocked for more than 140 seconds. Not tainted 4.19.139-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28888 7146 6243 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x78c/0x1c10 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+0x5c6/0xbf0 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:2039 do_add_mount+0x22/0x310 fs/namespace.c:2416 do_new_mount fs/namespace.c:2483 [inline] do_mount+0x1290/0x2410 fs/namespace.c:2799 ksys_mount+0xba/0xe0 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3026 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459349 Code: Bad RIP value. RSP: 002b:00007fdc0c7e4c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000459349 RDX: 0000000020000000 RSI: 0000000020000180 RDI: 0000000000000000 RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 00007fdc0c7e56d4 R13: 00000000004c578b R14: 00000000004d9b20 R15: 00000000ffffffff INFO: task syz-executor.2:7148 blocked for more than 140 seconds. Not tainted 4.19.139-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D27544 7148 6243 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x78c/0x1c10 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+0x5c6/0xbf0 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:2039 do_add_mount+0x22/0x310 fs/namespace.c:2416 do_new_mount fs/namespace.c:2483 [inline] do_mount+0x1290/0x2410 fs/namespace.c:2799 ksys_mount+0xba/0xe0 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3026 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459349 Code: Bad RIP value. RSP: 002b:00007fdc0c7a2c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000459349 RDX: 0000000020000240 RSI: 0000000020000200 RDI: 0000000000000000 RBP: 000000000075c1c0 R08: 0000000020000400 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdc0c7a36d4 R13: 00000000004c575f R14: 00000000004d9be0 R15: 00000000ffffffff INFO: task syz-executor.2:7149 blocked for more than 140 seconds. Not tainted 4.19.139-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29144 7149 6243 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x78c/0x1c10 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+0x694/0x2320 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:3129 [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:0x459349 Code: Bad RIP value. RSP: 002b:00007fdc0c781c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459349 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000580 RBP: 000000000075c268 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdc0c7826d4 R13: 00000000004e537b R14: 00000000004de6c8 R15: 00000000ffffffff INFO: task syz-executor.3:7153 blocked for more than 140 seconds. Not tainted 4.19.139-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27016 7153 6254 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x78c/0x1c10 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+0x694/0x2320 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:3129 [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:0x459349 Code: Bad RIP value. RSP: 002b:00007f6c5a406c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459349 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000580 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6c5a4076d4 R13: 00000000004e537b R14: 00000000004de6c8 R15: 00000000ffffffff INFO: task syz-executor.3:7162 blocked for more than 140 seconds. Not tainted 4.19.139-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D29608 7162 6254 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x78c/0x1c10 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+0x5c6/0xbf0 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:2039 do_add_mount+0x22/0x310 fs/namespace.c:2416 do_new_mount fs/namespace.c:2483 [inline] do_mount+0x1290/0x2410 fs/namespace.c:2799 ksys_mount+0xba/0xe0 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3026 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459349 Code: Bad RIP value. RSP: 002b:00007f6c5a3e5c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000459349 RDX: 0000000020000000 RSI: 0000000020000180 RDI: 0000000000000000 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 00007f6c5a3e66d4 R13: 00000000004c578b R14: 00000000004d9b20 R15: 00000000ffffffff INFO: task syz-executor.3:7167 blocked for more than 140 seconds. Not tainted 4.19.139-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28920 7167 6254 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x78c/0x1c10 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+0x5c6/0xbf0 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:1569 [inline] fuse_notify fs/fuse/dev.c:1803 [inline] fuse_dev_do_write+0xb7d/0x2350 fs/fuse/dev.c:1878 fuse_dev_write+0x12a/0x1b0 fs/fuse/dev.c:1962 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:0x459349 Code: Bad RIP value. RSP: 002b:00007f6c5a3c4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459349 RDX: 000000000000002e RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6c5a3c56d4 R13: 00000000004c8b23 R14: 00000000004df760 R15: 00000000ffffffff INFO: task syz-executor.3:7188 blocked for more than 140 seconds. Not tainted 4.19.139-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27960 7188 6254 0x00000006 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x78c/0x1c10 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+0x5c6/0xbf0 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:2039 do_add_mount+0x22/0x310 fs/namespace.c:2416 do_new_mount fs/namespace.c:2483 [inline] do_mount+0x1290/0x2410 fs/namespace.c:2799 ksys_mount+0xba/0xe0 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3026 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459349 Code: Bad RIP value. RSP: 002b:00007f6c5a3a3c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000459349 RDX: 0000000020000240 RSI: 0000000020000200 RDI: 0000000000000000 RBP: 000000000075c118 R08: 0000000020000400 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6c5a3a46d4 R13: 00000000004c575f R14: 00000000004d9be0 R15: 00000000ffffffff INFO: task syz-executor.3:7189 blocked for more than 140 seconds. Not tainted 4.19.139-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D29144 7189 6254 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x78c/0x1c10 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+0x694/0x2320 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:3129 [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:0x459349 Code: Bad RIP value. RSP: 002b:00007f6c5a382c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459349 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000580 RBP: 000000000075c1c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6c5a3836d4 R13: 00000000004e537b R14: 00000000004de6c8 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1038: #0: 000000009cca04a8 (rcu_read_lock){....}, at: debug_show_all_locks+0x5b/0x27a kernel/locking/lockdep.c:4442 1 lock held by in:imklog/5763: #0: 000000007c3200b1 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xa7/0xd0 fs/file.c:767 2 locks held by syz-executor.2/7140: #0: 000000009cf2e6f3 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 000000009cf2e6f3 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 #1: 0000000024c12067 (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 2 locks held by syz-executor.2/7145: #0: 00000000096e6476 (&fc->killsb){.+.+}, at: fuse_notify_delete fs/fuse/dev.c:1566 [inline] #0: 00000000096e6476 (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1803 [inline] #0: 00000000096e6476 (&fc->killsb){.+.+}, at: fuse_dev_do_write+0x19c5/0x2350 fs/fuse/dev.c:1878 #1: 000000009cf2e6f3 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 000000009cf2e6f3 (&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/7146: #0: 000000009cf2e6f3 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000009cf2e6f3 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.2/7148: #0: 000000009cf2e6f3 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000009cf2e6f3 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.2/7149: #0: 000000009cf2e6f3 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 000000009cf2e6f3 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 2 locks held by syz-executor.3/7153: #0: 00000000189b4e3a (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000189b4e3a (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 #1: 000000008a949ff1 (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 1 lock held by syz-executor.3/7162: #0: 00000000189b4e3a (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000189b4e3a (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 2 locks held by syz-executor.3/7167: #0: 000000003fb56a85 (&fc->killsb){.+.+}, at: fuse_notify_delete fs/fuse/dev.c:1566 [inline] #0: 000000003fb56a85 (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1803 [inline] #0: 000000003fb56a85 (&fc->killsb){.+.+}, at: fuse_dev_do_write+0x19c5/0x2350 fs/fuse/dev.c:1878 #1: 00000000189b4e3a (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000189b4e3a (&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/7188: #0: 00000000189b4e3a (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000189b4e3a (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.3/7189: #0: 00000000189b4e3a (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000189b4e3a (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 2 locks held by syz-executor.1/7156: #0: 000000003c9341b6 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 000000003c9341b6 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 #1: 00000000ef8f95d1 (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 1 lock held by syz-executor.1/7164: #0: 000000003c9341b6 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000003c9341b6 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 2 locks held by syz-executor.1/7168: #0: 00000000ec2d2dcf (&fc->killsb){.+.+}, at: fuse_notify_delete fs/fuse/dev.c:1566 [inline] #0: 00000000ec2d2dcf (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1803 [inline] #0: 00000000ec2d2dcf (&fc->killsb){.+.+}, at: fuse_dev_do_write+0x19c5/0x2350 fs/fuse/dev.c:1878 #1: 000000003c9341b6 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 000000003c9341b6 (&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/7190: #0: 000000003c9341b6 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 000000003c9341b6 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 1 lock held by syz-executor.1/7191: #0: 000000003c9341b6 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000003c9341b6 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 2 locks held by syz-executor.5/7172: #0: 00000000a26b6e00 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000a26b6e00 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 #1: 000000004a17ddb4 (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 2 locks held by syz-executor.5/7182: #0: 00000000cb44e928 (&fc->killsb){.+.+}, at: fuse_notify_delete fs/fuse/dev.c:1566 [inline] #0: 00000000cb44e928 (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1803 [inline] #0: 00000000cb44e928 (&fc->killsb){.+.+}, at: fuse_dev_do_write+0x19c5/0x2350 fs/fuse/dev.c:1878 #1: 00000000a26b6e00 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000a26b6e00 (&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/7199: #0: 00000000a26b6e00 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000a26b6e00 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.5/7204: #0: 00000000a26b6e00 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000a26b6e00 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.5/7205: #0: 00000000a26b6e00 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000a26b6e00 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 2 locks held by syz-executor.4/7173: #0: 00000000e2e94366 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000e2e94366 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 #1: 0000000082b1bc9c (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 1 lock held by syz-executor.4/7186: #0: 00000000e2e94366 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000e2e94366 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 2 locks held by syz-executor.4/7200: #0: 00000000b1bfe7c1 (&fc->killsb){.+.+}, at: fuse_notify_delete fs/fuse/dev.c:1566 [inline] #0: 00000000b1bfe7c1 (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1803 [inline] #0: 00000000b1bfe7c1 (&fc->killsb){.+.+}, at: fuse_dev_do_write+0x19c5/0x2350 fs/fuse/dev.c:1878 #1: 00000000e2e94366 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000e2e94366 (&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/7206: #0: 00000000e2e94366 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 00000000e2e94366 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 1 lock held by syz-executor.4/7207: #0: 00000000e2e94366 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000e2e94366 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 2 locks held by syz-executor.0/7177: #0: 000000005a8da198 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 000000005a8da198 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 #1: 00000000c14cd45e (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 2 locks held by syz-executor.0/7187: #0: 00000000f3659328 (&fc->killsb){.+.+}, at: fuse_notify_delete fs/fuse/dev.c:1566 [inline] #0: 00000000f3659328 (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1803 [inline] #0: 00000000f3659328 (&fc->killsb){.+.+}, at: fuse_dev_do_write+0x19c5/0x2350 fs/fuse/dev.c:1878 #1: 000000005a8da198 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 000000005a8da198 (&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/7201: #0: 000000005a8da198 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000005a8da198 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.0/7215: #0: 000000005a8da198 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000005a8da198 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.0/7216: #0: 000000005a8da198 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 000000005a8da198 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1688 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1038 Comm: khungtaskd Not tainted 4.19.139-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/0x177 lib/dump_stack.c:118 nmi_cpu_backtrace.cold.4+0x3e/0x76 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0xe6/0x11a 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+0x324/0x3e0 kernel/kthread.c:246 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: 3518 Comm: systemd-journal Not tainted 4.19.139-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0033:0x7f8d1af8f390 Code: 68 49 01 00 00 e9 50 eb ff ff ff 25 7a ef 1d 00 68 4a 01 00 00 e9 40 eb ff ff ff 25 72 ef 1d 00 68 4b 01 00 00 e9 30 eb ff ff 25 6a ef 1d 00 68 4c 01 00 00 e9 20 eb ff ff ff 25 62 ef 1d 00 RSP: 002b:00007ffdebd3d118 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 000055d2f7d4e7c0 RCX: 0000000000000000 RDX: 00000000ffffffff RSI: 0000000000000000 RDI: 000055d2f7d42270 RBP: 0000000000000000 R08: 000055d2f7d4d3b0 R09: 00000000ffffff00 R10: 0000000000000030 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000fffffffe R14: 00007ffdebd3d410 R15: 000055d2f7d4e7c0 FS: 00007f8d1b3878c0 GS: 0000000000000000