bisecting fixing commit since 1722257b8ececec9b3b83a8b14058f8209d78071 building syzkaller on 1ba81399e2d03b53a7e631c4ab05f25af1fb1911 testing commit 1722257b8ececec9b3b83a8b14058f8209d78071 with gcc (GCC) 8.4.1 20210217 kernel signature: 542616361e0ff9dcf12117db141dea024994dffd224a062b10f26644f03e68bd all runs: crashed: INFO: task hung in fuse_flush testing current HEAD 9f84340f012ee60c12aacc03662bcdd67419a31a testing commit 9f84340f012ee60c12aacc03662bcdd67419a31a with gcc (GCC) 8.4.1 20210217 kernel signature: e07d5155260c5f41edae11ab5c63cfb6f77b9605a606bbded6352ba99c1d8127 run #0: crashed: INFO: task hung in fuse_flush run #1: crashed: INFO: task hung in fuse_launder_page run #2: crashed: INFO: task hung in fuse_launder_page run #3: crashed: INFO: task hung in fuse_launder_page run #4: crashed: INFO: task hung in fuse_launder_page run #5: crashed: INFO: task hung in fuse_launder_page run #6: crashed: INFO: task hung in fuse_launder_page run #7: crashed: INFO: task hung in fuse_flush run #8: crashed: INFO: task hung in fuse_flush run #9: crashed: INFO: task hung in fuse_flush revisions tested: 2, total time: 28m7.086684763s (build: 16m1.224400657s, test: 11m44.181755167s) the crash still happens on HEAD commit msg: Linux 4.19.196 crash: INFO: task hung in fuse_flush Bluetooth: hci2: command 0x0406 tx timeout Bluetooth: hci4: 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.5:9855 blocked for more than 140 seconds. Not tainted 4.19.196-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28232 9855 8467 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_flush+0x1a2/0x600 fs/fuse/file.c:421 filp_close+0x9a/0x120 fs/open.c:1162 __close_fd+0x100/0x1a0 fs/file.c:636 __do_sys_close fs/open.c:1181 [inline] __se_sys_close+0x3f/0x80 fs/open.c:1179 __x64_sys_close+0x2c/0x40 fs/open.c:1179 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4193eb Code: Bad RIP value. RSP: 002b:00007ffc5fff8410 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00000000004193eb RDX: 0000001b2ce2014c RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2ce20150 R10: 001a4b47d6959c1f R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 000000000000c768 INFO: task syz-executor.5:9859 blocked for more than 140 seconds. Not tainted 4.19.196-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D26760 9859 8467 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 fuse_wait_on_page_writeback fs/fuse/file.c:383 [inline] fuse_wait_on_page_writeback+0xee/0x130 fs/fuse/file.c:379 fuse_launder_page fs/fuse/file.c:2033 [inline] fuse_launder_page+0x92/0xc0 fs/fuse/file.c:2026 do_launder_page mm/truncate.c:658 [inline] invalidate_inode_pages2_range+0x677/0xdd0 mm/truncate.c:730 invalidate_inode_pages2+0x12/0x20 mm/truncate.c:771 fuse_finish_open+0x234/0x4d0 fs/fuse/file.c:182 fuse_open_common+0x1e4/0x240 fs/fuse/file.c:222 fuse_open+0xb/0x10 fs/fuse/file.c:286 do_dentry_open+0x3f1/0x1020 fs/open.c:796 vfs_open+0x9a/0xc0 fs/open.c:902 do_last fs/namei.c:3421 [inline] path_openat+0x925/0x2900 fs/namei.c:3537 do_filp_open+0x177/0x250 fs/namei.c:3567 do_sys_open+0x1dc/0x350 fs/open.c:1085 __do_sys_open fs/open.c:1103 [inline] __se_sys_open fs/open.c:1098 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1098 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665d9 Code: Bad RIP value. RSP: 002b:00007f15e5add188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000080380 RDI: 0000000020000100 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffc5fff83af R14: 00007f15e5add300 R15: 0000000000022000 INFO: task syz-executor.2:9884 blocked for more than 140 seconds. Not tainted 4.19.196-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28232 9884 8459 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_flush+0x1a2/0x600 fs/fuse/file.c:421 filp_close+0x9a/0x120 fs/open.c:1162 __close_fd+0x100/0x1a0 fs/file.c:636 __do_sys_close fs/open.c:1181 [inline] __se_sys_close+0x3f/0x80 fs/open.c:1179 __x64_sys_close+0x2c/0x40 fs/open.c:1179 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4193eb Code: Bad RIP value. RSP: 002b:00007ffe3b61b4a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00000000004193eb RDX: 0000001b2c52014c RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2c520150 R10: 001d675e429a34a4 R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 000000000000c7d0 INFO: task syz-executor.2:9888 blocked for more than 140 seconds. Not tainted 4.19.196-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D27848 9888 8459 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 fuse_wait_on_page_writeback fs/fuse/file.c:383 [inline] fuse_wait_on_page_writeback+0xee/0x130 fs/fuse/file.c:379 fuse_launder_page fs/fuse/file.c:2033 [inline] fuse_launder_page+0x92/0xc0 fs/fuse/file.c:2026 do_launder_page mm/truncate.c:658 [inline] invalidate_inode_pages2_range+0x677/0xdd0 mm/truncate.c:730 invalidate_inode_pages2+0x12/0x20 mm/truncate.c:771 fuse_finish_open+0x234/0x4d0 fs/fuse/file.c:182 fuse_open_common+0x1e4/0x240 fs/fuse/file.c:222 fuse_open+0xb/0x10 fs/fuse/file.c:286 do_dentry_open+0x3f1/0x1020 fs/open.c:796 vfs_open+0x9a/0xc0 fs/open.c:902 do_last fs/namei.c:3421 [inline] path_openat+0x925/0x2900 fs/namei.c:3537 do_filp_open+0x177/0x250 fs/namei.c:3567 do_sys_open+0x1dc/0x350 fs/open.c:1085 __do_sys_open fs/open.c:1103 [inline] __se_sys_open fs/open.c:1098 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1098 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665d9 Code: Bad RIP value. RSP: 002b:00007f76f5197188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000080380 RDI: 0000000020000100 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffe3b61b43f R14: 00007f76f5197300 R15: 0000000000022000 INFO: task syz-executor.3:9945 blocked for more than 140 seconds. Not tainted 4.19.196-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27384 9945 8461 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_flush+0x1a2/0x600 fs/fuse/file.c:421 filp_close+0x9a/0x120 fs/open.c:1162 __close_fd+0x100/0x1a0 fs/file.c:636 __do_sys_close fs/open.c:1181 [inline] __se_sys_close+0x3f/0x80 fs/open.c:1179 __x64_sys_close+0x2c/0x40 fs/open.c:1179 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4193eb Code: Bad RIP value. RSP: 002b:00007fffabcd2df0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00000000004193eb RDX: 0000001b2c62014c RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2c620150 R10: 00071ff9ea3b3a72 R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 000000000000c8cd INFO: task syz-executor.3:9947 blocked for more than 140 seconds. Not tainted 4.19.196-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27800 9947 8461 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 fuse_wait_on_page_writeback fs/fuse/file.c:383 [inline] fuse_wait_on_page_writeback+0xee/0x130 fs/fuse/file.c:379 fuse_launder_page fs/fuse/file.c:2033 [inline] fuse_launder_page+0x92/0xc0 fs/fuse/file.c:2026 do_launder_page mm/truncate.c:658 [inline] invalidate_inode_pages2_range+0x677/0xdd0 mm/truncate.c:730 invalidate_inode_pages2+0x12/0x20 mm/truncate.c:771 fuse_finish_open+0x234/0x4d0 fs/fuse/file.c:182 fuse_open_common+0x1e4/0x240 fs/fuse/file.c:222 fuse_open+0xb/0x10 fs/fuse/file.c:286 do_dentry_open+0x3f1/0x1020 fs/open.c:796 vfs_open+0x9a/0xc0 fs/open.c:902 do_last fs/namei.c:3421 [inline] path_openat+0x925/0x2900 fs/namei.c:3537 do_filp_open+0x177/0x250 fs/namei.c:3567 do_sys_open+0x1dc/0x350 fs/open.c:1085 __do_sys_open fs/open.c:1103 [inline] __se_sys_open fs/open.c:1098 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1098 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665d9 Code: Bad RIP value. RSP: 002b:00007f4dd63ce188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000080380 RDI: 0000000020000100 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fffabcd2d8f R14: 00007f4dd63ce300 R15: 0000000000022000 INFO: task syz-executor.1:9961 blocked for more than 140 seconds. Not tainted 4.19.196-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28232 9961 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_flush+0x1a2/0x600 fs/fuse/file.c:421 filp_close+0x9a/0x120 fs/open.c:1162 __close_fd+0x100/0x1a0 fs/file.c:636 __do_sys_close fs/open.c:1181 [inline] __se_sys_close+0x3f/0x80 fs/open.c:1179 __x64_sys_close+0x2c/0x40 fs/open.c:1179 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4193eb Code: Bad RIP value. RSP: 002b:00007ffcde9abd20 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00000000004193eb RDX: 0000001b2cc2014c RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2cc20150 R10: 000b9fce28aef963 R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 000000000000c963 INFO: task syz-executor.1:9966 blocked for more than 140 seconds. Not tainted 4.19.196-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D27976 9966 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 fuse_wait_on_page_writeback fs/fuse/file.c:383 [inline] fuse_wait_on_page_writeback+0xee/0x130 fs/fuse/file.c:379 fuse_launder_page fs/fuse/file.c:2033 [inline] fuse_launder_page+0x92/0xc0 fs/fuse/file.c:2026 do_launder_page mm/truncate.c:658 [inline] invalidate_inode_pages2_range+0x677/0xdd0 mm/truncate.c:730 invalidate_inode_pages2+0x12/0x20 mm/truncate.c:771 fuse_finish_open+0x234/0x4d0 fs/fuse/file.c:182 fuse_open_common+0x1e4/0x240 fs/fuse/file.c:222 fuse_open+0xb/0x10 fs/fuse/file.c:286 do_dentry_open+0x3f1/0x1020 fs/open.c:796 vfs_open+0x9a/0xc0 fs/open.c:902 do_last fs/namei.c:3421 [inline] path_openat+0x925/0x2900 fs/namei.c:3537 do_filp_open+0x177/0x250 fs/namei.c:3567 do_sys_open+0x1dc/0x350 fs/open.c:1085 __do_sys_open fs/open.c:1103 [inline] __se_sys_open fs/open.c:1098 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1098 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665d9 Code: 6e 6f 6e 65 75 b4 31 c0 e9 5e ff ff ff 0f 1f 40 00 48 83 f8 05 75 1f 48 8b 4c 24 30 81 39 63 72 61 73 75 96 80 79 04 68 75 90 0b 00 00 00 66 90 e9 35 ff ff ff 48 83 f8 06 75 3d 48 8b 4c 24 RSP: 002b:00007f666d678188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000080380 RDI: 0000000020000100 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffcde9abcbf R14: 00007f666d678300 R15: 0000000000022000 INFO: task syz-executor.4:9963 blocked for more than 140 seconds. Not tainted 4.19.196-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28232 9963 8465 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_flush+0x1a2/0x600 fs/fuse/file.c:421 filp_close+0x9a/0x120 fs/open.c:1162 __close_fd+0x100/0x1a0 fs/file.c:636 __do_sys_close fs/open.c:1181 [inline] __se_sys_close+0x3f/0x80 fs/open.c:1179 __x64_sys_close+0x2c/0x40 fs/open.c:1179 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4193eb Code: 80 ff 13 0f 85 15 05 00 00 48 89 b4 24 88 00 00 00 0f b7 7e 32 66 0f 1f 84 00 00 00 00 00 90 66 f7 c7 00 80 0f 85 3a 04 00 00 <0f> b7 4e 30 66 83 f9 01 0f 85 84 03 00 00 0f b6 7e 14 0f 1f 00 40 RSP: 002b:00007ffea6ab3610 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00000000004193eb RDX: 0000001b2ca2014c RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2ca20150 R10: 000bf835387527ab R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 000000000000c96f INFO: task syz-executor.4:9967 blocked for more than 140 seconds. Not tainted 4.19.196-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D27688 9967 8465 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 fuse_wait_on_page_writeback fs/fuse/file.c:383 [inline] fuse_wait_on_page_writeback+0xee/0x130 fs/fuse/file.c:379 fuse_launder_page fs/fuse/file.c:2033 [inline] fuse_launder_page+0x92/0xc0 fs/fuse/file.c:2026 do_launder_page mm/truncate.c:658 [inline] invalidate_inode_pages2_range+0x677/0xdd0 mm/truncate.c:730 invalidate_inode_pages2+0x12/0x20 mm/truncate.c:771 fuse_finish_open+0x234/0x4d0 fs/fuse/file.c:182 fuse_open_common+0x1e4/0x240 fs/fuse/file.c:222 fuse_open+0xb/0x10 fs/fuse/file.c:286 do_dentry_open+0x3f1/0x1020 fs/open.c:796 vfs_open+0x9a/0xc0 fs/open.c:902 do_last fs/namei.c:3421 [inline] path_openat+0x925/0x2900 fs/namei.c:3537 do_filp_open+0x177/0x250 fs/namei.c:3567 do_sys_open+0x1dc/0x350 fs/open.c:1085 __do_sys_open fs/open.c:1103 [inline] __se_sys_open fs/open.c:1098 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1098 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665d9 Code: 6e 6f 6e 65 75 b4 31 c0 e9 5e ff ff ff 0f 1f 40 00 48 83 f8 05 75 1f 48 8b 4c 24 30 81 39 63 72 61 73 75 96 80 79 04 68 75 90 0b 00 00 00 66 90 e9 35 ff ff ff 48 83 f8 06 75 3d 48 8b 4c 24 RSP: 002b:00007f84ffaf4188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000080380 RDI: 0000000020000100 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffea6ab35af R14: 00007f84ffaf4300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1570: #0: 000000003f8f83ff (rcu_read_lock){....}, at: debug_show_all_locks+0x5b/0x27a kernel/locking/lockdep.c:4443 1 lock held by syz-executor.5/9855: #0: 0000000042872590 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 0000000042872590 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_flush+0x1a2/0x600 fs/fuse/file.c:421 2 locks held by syz-executor.5/9859: #0: 000000004b4315e6 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000004b4315e6 (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 0000000042872590 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000042872590 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_open_common+0x14d/0x240 fs/fuse/file.c:215 1 lock held by syz-executor.2/9884: #0: 00000000a13e3d8a (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000a13e3d8a (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_flush+0x1a2/0x600 fs/fuse/file.c:421 2 locks held by syz-executor.2/9888: #0: 00000000bf7c5027 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000bf7c5027 (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 00000000a13e3d8a (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000a13e3d8a (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_open_common+0x14d/0x240 fs/fuse/file.c:215 1 lock held by syz-executor.3/9945: #0: 000000005015f6e0 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000005015f6e0 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_flush+0x1a2/0x600 fs/fuse/file.c:421 2 locks held by syz-executor.3/9947: #0: 00000000f156acda (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000f156acda (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 000000005015f6e0 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 000000005015f6e0 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_open_common+0x14d/0x240 fs/fuse/file.c:215 1 lock held by syz-executor.1/9961: #0: 0000000003414428 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 0000000003414428 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_flush+0x1a2/0x600 fs/fuse/file.c:421 2 locks held by syz-executor.1/9966: #0: 000000008fc327ac (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000008fc327ac (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 0000000003414428 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000003414428 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_open_common+0x14d/0x240 fs/fuse/file.c:215 1 lock held by syz-executor.4/9963: #0: 00000000e71c6032 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000e71c6032 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_flush+0x1a2/0x600 fs/fuse/file.c:421 2 locks held by syz-executor.4/9967: #0: 00000000274ad8d6 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000274ad8d6 (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 00000000e71c6032 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000e71c6032 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_open_common+0x14d/0x240 fs/fuse/file.c:215 1 lock held by syz-executor.0/9965: #0: 00000000ab5a8667 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000ab5a8667 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_flush+0x1a2/0x600 fs/fuse/file.c:421 2 locks held by syz-executor.0/9971: #0: 00000000ad585409 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000ad585409 (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 00000000ab5a8667 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000ab5a8667 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_open_common+0x14d/0x240 fs/fuse/file.c:215 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1570 Comm: khungtaskd Not tainted 4.19.196-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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9201 Comm: kworker/u4:5 Not tainted 4.19.196-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:86 [inline] RIP: 0010:do_raw_spin_lock+0xdb/0x240 kernel/locking/spinlock_debug.c:113 Code: 8b 53 08 65 8b 05 25 61 ba 7e 39 c2 0f 84 8b 00 00 00 be 04 00 00 00 48 89 df e8 00 6e 44 00 31 c0 ba 01 00 00 00 f0 0f b1 13 <85> c0 0f 85 8c 00 00 00 65 44 8b 35 f5 60 ba 7e 48 b8 00 00 00 00 RSP: 0018:ffff8880a481fc40 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880a5231428 RCX: ffffffff81472020 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8880a5231428 RBP: ffff8880a481fc68 R08: ffffed1014a46286 R09: ffffed1014a46285 R10: ffffed1014a46285 R11: ffff8880a523142b R12: ffff8880a5231430 R13: ffff8880a5231438 R14: ffff8880aa1a8e18 R15: ffff8880a52ed900 FS: 0000000000000000(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9f35430000 CR3: 00000000b4387000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline] _raw_spin_lock_bh+0x39/0x40 kernel/locking/spinlock.c:168 spin_lock_bh include/linux/spinlock.h:334 [inline] batadv_nc_purge_paths+0xc0/0x2c0 net/batman-adv/network-coding.c:453 batadv_nc_worker+0x225/0x630 net/batman-adv/network-coding.c:733 process_one_work+0x7b9/0x15a0 kernel/workqueue.c:2153 worker_thread+0x85/0xb60 kernel/workqueue.c:2296 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415