bisecting fixing commit since b172b44fcb1771e083aad806fa96f3f60e2ddfac building syzkaller on d236a457274375e5273ac4e958722659929c469f testing commit b172b44fcb1771e083aad806fa96f3f60e2ddfac compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: ec31ce619f0865353db198de060e4bc6b0b1a5d0a82b8b146675f0b9074f9245 all runs: crashed: INFO: task hung in fuse_reverse_inval_entry testing current HEAD c2276d585654e8d573366c29c565043ec36adf63 testing commit c2276d585654e8d573366c29c565043ec36adf63 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 9cfecc12a33b142db4e3b9f4d4ae645ff6731de378a7341b79a1a76facb2be9e all runs: crashed: INFO: task hung in fuse_reverse_inval_entry revisions tested: 2, total time: 37m31.869613008s (build: 24m27.120505722s, test: 12m22.598567727s) the crash still happens on HEAD commit msg: Linux 4.19.208 crash: INFO: task hung in fuse_reverse_inval_entry Bluetooth: hci0: command 0x0406 tx timeout Bluetooth: hci3: command 0x0406 tx timeout Bluetooth: hci1: command 0x0406 tx timeout ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 INFO: task syz-executor.3:9857 blocked for more than 140 seconds. Not tainted 4.19.208-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27672 9857 8463 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 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+0x3bb/0x780 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/0x5c0 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+0xbad/0x2480 fs/fuse/dev.c:1894 fuse_dev_write+0x121/0x1a0 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:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f08874fb188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000029 RSI: 00000000200043c0 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fffc24559bf R14: 00007f08874fb300 R15: 0000000000022000 INFO: task syz-executor.3:9882 blocked for more than 140 seconds. Not tainted 4.19.208-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28216 9882 8463 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 request_wait_answer+0x2fe/0x630 fs/fuse/dev.c:485 __fuse_request_send+0xfe/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_hash+0xf0/0x150 fs/namei.c:1547 filename_create+0x179/0x400 fs/namei.c:3639 user_path_create fs/namei.c:3696 [inline] do_mkdirat+0xae/0x220 fs/namei.c:3834 __do_sys_mkdirat fs/namei.c:3853 [inline] __se_sys_mkdirat fs/namei.c:3851 [inline] __x64_sys_mkdirat+0x71/0xb0 fs/namei.c:3851 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f08874da188 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000020004380 RDI: ffffffffffffff9c RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007fffc24559bf R14: 00007f08874da300 R15: 0000000000022000 INFO: task syz-executor.3:9983 blocked for more than 140 seconds. Not tainted 4.19.208-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D29448 9983 8463 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 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+0x3bb/0x780 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/0x280 fs/namespace.c:2075 do_add_mount+0x22/0x300 fs/namespace.c:2439 do_new_mount fs/namespace.c:2506 [inline] do_mount+0x12cd/0x2630 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:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f08874b9188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665f9 RDX: 0000000020000100 RSI: 00000000200000c0 RDI: 0000000000000000 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007fffc24559bf R14: 00007f08874b9300 R15: 0000000000022000 INFO: task syz-executor.3:9984 blocked for more than 140 seconds. Not tainted 4.19.208-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D26264 9984 8463 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 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+0x3bb/0x780 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/0x280 fs/namespace.c:2075 do_add_mount+0x22/0x300 fs/namespace.c:2439 do_new_mount fs/namespace.c:2506 [inline] do_mount+0x12cd/0x2630 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:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f0887498188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c1a8 RCX: 00000000004665f9 RDX: 0000000020002100 RSI: 00000000200020c0 RDI: 0000000000000000 RBP: 00000000004bfcc4 R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c1a8 R13: 00007fffc24559bf R14: 00007f0887498300 R15: 0000000000022000 INFO: task syz-executor.3:9986 blocked for more than 140 seconds. Not tainted 4.19.208-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D29608 9986 8463 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 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+0x3bb/0x780 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_nested+0x57/0x90 kernel/locking/rwsem.c:194 inode_lock_nested include/linux/fs.h:783 [inline] filename_create+0x14d/0x400 fs/namei.c:3638 user_path_create fs/namei.c:3696 [inline] do_mkdirat+0xae/0x220 fs/namei.c:3834 __do_sys_mkdirat fs/namei.c:3853 [inline] __se_sys_mkdirat fs/namei.c:3851 [inline] __x64_sys_mkdirat+0x71/0xb0 fs/namei.c:3851 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f0887456188 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 000000000056c318 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000020004380 RDI: ffffffffffffff9c RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c318 R13: 00007fffc24559bf R14: 00007f0887456300 R15: 0000000000022000 INFO: task syz-executor.2:9885 blocked for more than 140 seconds. Not tainted 4.19.208-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D27848 9885 8464 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 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+0x3bb/0x780 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/0x5c0 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+0xbad/0x2480 fs/fuse/dev.c:1894 fuse_dev_write+0x121/0x1a0 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:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f311f95d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000029 RSI: 00000000200043c0 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd4b4cd67f R14: 00007f311f95d300 R15: 0000000000022000 INFO: task syz-executor.2:9910 blocked for more than 140 seconds. Not tainted 4.19.208-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29208 9910 8464 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 kernel/sched/core.c:3517 schedule+0x7f/0x1b0 kernel/sched/core.c:3561 request_wait_answer+0x2fe/0x630 fs/fuse/dev.c:485 __fuse_request_send+0xfe/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_hash+0xf0/0x150 fs/namei.c:1547 filename_create+0x179/0x400 fs/namei.c:3639 user_path_create fs/namei.c:3696 [inline] do_mkdirat+0xae/0x220 fs/namei.c:3834 __do_sys_mkdirat fs/namei.c:3853 [inline] __se_sys_mkdirat fs/namei.c:3851 [inline] __x64_sys_mkdirat+0x71/0xb0 fs/namei.c:3851 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f311f93c188 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000020004380 RDI: ffffffffffffff9c RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffd4b4cd67f R14: 00007f311f93c300 R15: 0000000000022000 INFO: task syz-executor.2:9990 blocked for more than 140 seconds. Not tainted 4.19.208-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29448 9990 8464 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 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+0x3bb/0x780 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/0x280 fs/namespace.c:2075 do_add_mount+0x22/0x300 fs/namespace.c:2439 do_new_mount fs/namespace.c:2506 [inline] do_mount+0x12cd/0x2630 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:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f311f91b188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665f9 RDX: 0000000020000100 RSI: 00000000200000c0 RDI: 0000000000000000 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007ffd4b4cd67f R14: 00007f311f91b300 R15: 0000000000022000 INFO: task syz-executor.2:9992 blocked for more than 140 seconds. Not tainted 4.19.208-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28664 9992 8464 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 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+0x3bb/0x780 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_nested+0x57/0x90 kernel/locking/rwsem.c:194 inode_lock_nested include/linux/fs.h:783 [inline] filename_create+0x14d/0x400 fs/namei.c:3638 user_path_create fs/namei.c:3696 [inline] do_mkdirat+0xae/0x220 fs/namei.c:3834 __do_sys_mkdirat fs/namei.c:3853 [inline] __se_sys_mkdirat fs/namei.c:3851 [inline] __x64_sys_mkdirat+0x71/0xb0 fs/namei.c:3851 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f311f8d9188 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 000000000056c260 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000020004380 RDI: ffffffffffffff9c RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c260 R13: 00007ffd4b4cd67f R14: 00007f311f8d9300 R15: 0000000000022000 INFO: task syz-executor.5:9953 blocked for more than 140 seconds. Not tainted 4.19.208-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D27464 9953 8468 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x80c/0x1f70 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+0x3bb/0x780 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/0x5c0 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+0xbad/0x2480 fs/fuse/dev.c:1894 fuse_dev_write+0x121/0x1a0 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:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f3b4ccd9188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000029 RSI: 00000000200043c0 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffef47da95f R14: 00007f3b4ccd9300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1571: #0: 000000007b7c950e (rcu_read_lock){....}, at: debug_show_all_locks+0x5b/0x27a kernel/locking/lockdep.c:4443 2 locks held by syz-executor.3/9857: #0: 000000005889f7c3 (&fc->killsb){.+.+}, at: fuse_notify_inval_entry fs/fuse/dev.c:1532 [inline] #0: 000000005889f7c3 (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1810 [inline] #0: 000000005889f7c3 (&fc->killsb){.+.+}, at: fuse_dev_do_write+0xb60/0x2480 fs/fuse/dev.c:1894 #1: 0000000031a5dc42 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000031a5dc42 (&type->i_mutex_dir_key#9){+.+.}, at: fuse_reverse_inval_entry+0x9a/0x5c0 fs/fuse/dir.c:987 3 locks held by syz-executor.3/9882: #0: 00000000d9a604bd (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000d9a604bd (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 0000000031a5dc42 (&type->i_mutex_dir_key#8/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 0000000031a5dc42 (&type->i_mutex_dir_key#8/1){+.+.}, at: filename_create+0x14d/0x400 fs/namei.c:3638 #2: 00000000773a685f (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 1 lock held by syz-executor.3/9983: #0: 0000000031a5dc42 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 0000000031a5dc42 (&type->i_mutex_dir_key#9){+.+.}, at: lock_mount+0x82/0x280 fs/namespace.c:2075 1 lock held by syz-executor.3/9984: #0: 0000000031a5dc42 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 0000000031a5dc42 (&type->i_mutex_dir_key#9){+.+.}, at: lock_mount+0x82/0x280 fs/namespace.c:2075 2 locks held by syz-executor.3/9986: #0: 00000000d9a604bd (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000d9a604bd (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 0000000031a5dc42 (&type->i_mutex_dir_key#8/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 0000000031a5dc42 (&type->i_mutex_dir_key#8/1){+.+.}, at: filename_create+0x14d/0x400 fs/namei.c:3638 2 locks held by syz-executor.2/9885: #0: 000000002286070f (&fc->killsb){.+.+}, at: fuse_notify_inval_entry fs/fuse/dev.c:1532 [inline] #0: 000000002286070f (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1810 [inline] #0: 000000002286070f (&fc->killsb){.+.+}, at: fuse_dev_do_write+0xb60/0x2480 fs/fuse/dev.c:1894 #1: 00000000372823c1 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000372823c1 (&type->i_mutex_dir_key#9){+.+.}, at: fuse_reverse_inval_entry+0x9a/0x5c0 fs/fuse/dir.c:987 3 locks held by syz-executor.2/9910: #0: 000000005b30b70e (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000005b30b70e (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 00000000372823c1 (&type->i_mutex_dir_key#8/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 00000000372823c1 (&type->i_mutex_dir_key#8/1){+.+.}, at: filename_create+0x14d/0x400 fs/namei.c:3638 #2: 000000000ceb6240 (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 1 lock held by syz-executor.2/9990: #0: 00000000372823c1 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000372823c1 (&type->i_mutex_dir_key#9){+.+.}, at: lock_mount+0x82/0x280 fs/namespace.c:2075 2 locks held by syz-executor.2/9992: #0: 000000005b30b70e (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000005b30b70e (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 00000000372823c1 (&type->i_mutex_dir_key#8/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 00000000372823c1 (&type->i_mutex_dir_key#8/1){+.+.}, at: filename_create+0x14d/0x400 fs/namei.c:3638 2 locks held by syz-executor.5/9953: #0: 00000000d24265d7 (&fc->killsb){.+.+}, at: fuse_notify_inval_entry fs/fuse/dev.c:1532 [inline] #0: 00000000d24265d7 (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1810 [inline] #0: 00000000d24265d7 (&fc->killsb){.+.+}, at: fuse_dev_do_write+0xb60/0x2480 fs/fuse/dev.c:1894 #1: 00000000953fecc8 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000953fecc8 (&type->i_mutex_dir_key#9){+.+.}, at: fuse_reverse_inval_entry+0x9a/0x5c0 fs/fuse/dir.c:987 3 locks held by syz-executor.5/9962: #0: 00000000ace4f5c5 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000ace4f5c5 (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 00000000953fecc8 (&type->i_mutex_dir_key#8/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 00000000953fecc8 (&type->i_mutex_dir_key#8/1){+.+.}, at: filename_create+0x14d/0x400 fs/namei.c:3638 #2: 00000000b105ecee (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 1 lock held by syz-executor.5/9994: #0: 00000000953fecc8 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000953fecc8 (&type->i_mutex_dir_key#9){+.+.}, at: lock_mount+0x82/0x280 fs/namespace.c:2075 1 lock held by syz-executor.5/9995: #0: 00000000953fecc8 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000953fecc8 (&type->i_mutex_dir_key#9){+.+.}, at: lock_mount+0x82/0x280 fs/namespace.c:2075 2 locks held by syz-executor.0/9969: #0: 000000004e7a82f9 (&fc->killsb){.+.+}, at: fuse_notify_inval_entry fs/fuse/dev.c:1532 [inline] #0: 000000004e7a82f9 (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1810 [inline] #0: 000000004e7a82f9 (&fc->killsb){.+.+}, at: fuse_dev_do_write+0xb60/0x2480 fs/fuse/dev.c:1894 #1: 00000000d438c6a0 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000d438c6a0 (&type->i_mutex_dir_key#9){+.+.}, at: fuse_reverse_inval_entry+0x9a/0x5c0 fs/fuse/dir.c:987 3 locks held by syz-executor.0/9980: #0: 00000000aa7c1037 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000aa7c1037 (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 00000000d438c6a0 (&type->i_mutex_dir_key#8/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 00000000d438c6a0 (&type->i_mutex_dir_key#8/1){+.+.}, at: filename_create+0x14d/0x400 fs/namei.c:3638 #2: 000000000f5abafd (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 1 lock held by syz-executor.0/10000: #0: 00000000d438c6a0 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000d438c6a0 (&type->i_mutex_dir_key#9){+.+.}, at: lock_mount+0x82/0x280 fs/namespace.c:2075 1 lock held by syz-executor.0/10001: #0: 00000000d438c6a0 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000d438c6a0 (&type->i_mutex_dir_key#9){+.+.}, at: lock_mount+0x82/0x280 fs/namespace.c:2075 2 locks held by syz-executor.1/9970: #0: 00000000f25e113b (&fc->killsb){.+.+}, at: fuse_notify_inval_entry fs/fuse/dev.c:1532 [inline] #0: 00000000f25e113b (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1810 [inline] #0: 00000000f25e113b (&fc->killsb){.+.+}, at: fuse_dev_do_write+0xb60/0x2480 fs/fuse/dev.c:1894 #1: 00000000ac0540a9 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000ac0540a9 (&type->i_mutex_dir_key#9){+.+.}, at: fuse_reverse_inval_entry+0x9a/0x5c0 fs/fuse/dir.c:987 3 locks held by syz-executor.1/9981: #0: 00000000688cdedd (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000688cdedd (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 00000000ac0540a9 (&type->i_mutex_dir_key#8/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 00000000ac0540a9 (&type->i_mutex_dir_key#8/1){+.+.}, at: filename_create+0x14d/0x400 fs/namei.c:3638 #2: 000000003b694863 (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 1 lock held by syz-executor.1/10006: #0: 00000000ac0540a9 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000ac0540a9 (&type->i_mutex_dir_key#9){+.+.}, at: lock_mount+0x82/0x280 fs/namespace.c:2075 1 lock held by syz-executor.1/10007: #0: 00000000ac0540a9 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000ac0540a9 (&type->i_mutex_dir_key#9){+.+.}, at: lock_mount+0x82/0x280 fs/namespace.c:2075 2 locks held by syz-executor.4/9976: #0: 0000000010dd528f (&fc->killsb){.+.+}, at: fuse_notify_inval_entry fs/fuse/dev.c:1532 [inline] #0: 0000000010dd528f (&fc->killsb){.+.+}, at: fuse_notify fs/fuse/dev.c:1810 [inline] #0: 0000000010dd528f (&fc->killsb){.+.+}, at: fuse_dev_do_write+0xb60/0x2480 fs/fuse/dev.c:1894 #1: 0000000085bdff70 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000085bdff70 (&type->i_mutex_dir_key#9){+.+.}, at: fuse_reverse_inval_entry+0x9a/0x5c0 fs/fuse/dir.c:987 3 locks held by syz-executor.4/9982: #0: 00000000d38169f2 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000d38169f2 (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 0000000085bdff70 (&type->i_mutex_dir_key#8/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 0000000085bdff70 (&type->i_mutex_dir_key#8/1){+.+.}, at: filename_create+0x14d/0x400 fs/namei.c:3638 #2: 000000009566b515 (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 1 lock held by syz-executor.4/10012: #0: 0000000085bdff70 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 0000000085bdff70 (&type->i_mutex_dir_key#9){+.+.}, at: lock_mount+0x82/0x280 fs/namespace.c:2075 2 locks held by syz-executor.4/10014: #0: 00000000d38169f2 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000d38169f2 (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 0000000085bdff70 (&type->i_mutex_dir_key#8/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 0000000085bdff70 (&type->i_mutex_dir_key#8/1){+.+.}, at: filename_create+0x14d/0x400 fs/namei.c:3638 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1571 Comm: khungtaskd Not tainted 4.19.208-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+0x17c/0x226 lib/dump_stack.c:118 nmi_cpu_backtrace.cold.0+0x3c/0x78 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0xf6/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10 Comm: rcu_preempt Not tainted 4.19.208-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x56/0x90 kernel/locking/spinlock.c:192 Code: 91 89 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 3a 48 83 3d fb 7a eb 01 00 74 1f fb 66 0f 1f 44 00 00 01 00 00 00 e8 e0 ab 96 f9 65 8b 05 19 35 5c 78 85 c0 74 0d 5b RSP: 0018:ffff8880b59bfd68 EFLAGS: 00000286 RAX: dffffc0000000000 RBX: ffffffff89980a80 RCX: 0000000000000000 RDX: 1ffffffff13224a3 RSI: 0000000000000001 RDI: ffffffff89912518 RBP: ffff8880b59bfd70 R08: fffffbfff1330151 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: ffffffff89980a80 R14: 1ffffffff133015a R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6082e1b000 CR3: 00000000afd95000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_gp_cleanup kernel/rcu/tree.c:2096 [inline] rcu_gp_kthread+0x12bc/0x23e0 kernel/rcu/tree.c:2244 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 7: fc ff df a: 48 89 fa mov %rdi,%rdx d: 48 c1 ea 03 shr $0x3,%rdx 11: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 15: 75 3a jne 0x51 17: 48 83 3d fb 7a eb 01 cmpq $0x0,0x1eb7afb(%rip) # 0x1eb7b1a 1e: 00 1f: 74 1f je 0x40 21: fb sti 22: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) * 28: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction 2d: e8 e0 ab 96 f9 callq 0xf996ac12 32: 65 8b 05 19 35 5c 78 mov %gs:0x785c3519(%rip),%eax # 0x785c3552 39: 85 c0 test %eax,%eax 3b: 74 0d je 0x4a 3d: 5b pop %rbx