bisecting fixing commit since 3c8c23092588a23bf1856a64f58c37f477a413be building syzkaller on bc5434be1a615eca6d901c20b026712bd9697fd4 testing commit 3c8c23092588a23bf1856a64f58c37f477a413be with gcc (GCC) 8.4.1 20210217 kernel signature: f1d32300689893b6a19da919fa3d626f5ca48b67b0e9155a37d345486e37434e all runs: crashed: INFO: task hung in fuse_flush testing current HEAD 1722257b8ececec9b3b83a8b14058f8209d78071 testing commit 1722257b8ececec9b3b83a8b14058f8209d78071 with gcc (GCC) 8.4.1 20210217 kernel signature: de7a1a33f4fc26c392b982ae59bc98a8f7e588f0727e69367692cc9bb1e479a3 all runs: crashed: INFO: task hung in fuse_flush revisions tested: 2, total time: 30m37.115845896s (build: 18m14.339256159s, test: 11m51.004797141s) the crash still happens on HEAD commit msg: Linux 4.19.193 crash: INFO: task hung in fuse_flush Bluetooth: hci2: command 0x0406 tx timeout Bluetooth: hci3: command 0x0406 tx timeout Bluetooth: hci5: command 0x0406 tx timeout ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 INFO: task syz-executor.2:9824 blocked for more than 140 seconds. Not tainted 4.19.193-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28232 9824 8448 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:0x41940b Code: Bad RIP value. RSP: 002b:00007ffc7eac8f60 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 000000000041940b RDX: 0000001b3362014c RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b33620150 R10: 000f71c12efa4522 R11: 0000000000000293 R12: 000000000056c9e0 R13: 000000000056c9e0 R14: 000000000056bf60 R15: 000000000000c5fc INFO: task syz-executor.2:9830 blocked for more than 140 seconds. Not tainted 4.19.193-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D26440 9830 8448 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:0x4665f9 Code: Bad RIP value. RSP: 002b:00007fdc6d46b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000080380 RDI: 0000000020000100 RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffc7eac8eff R14: 00007fdc6d46b300 R15: 0000000000022000 INFO: task syz-executor.1:9839 blocked for more than 140 seconds. Not tainted 4.19.193-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28232 9839 8443 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:0x41940b Code: Bad RIP value. RSP: 002b:00007fffee81b430 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 000000000041940b RDX: 0000001b3342014c RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b33420150 R10: 0011008b93d33f31 R11: 0000000000000293 R12: 000000000056c9e0 R13: 000000000056c9e0 R14: 000000000056bf60 R15: 000000000000c630 INFO: task syz-executor.1:9843 blocked for more than 140 seconds. Not tainted 4.19.193-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D27976 9843 8443 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:0x4665f9 Code: Bad RIP value. RSP: 002b:00007f980e890188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000080380 RDI: 0000000020000100 RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007fffee81b3cf R14: 00007f980e890300 R15: 0000000000022000 INFO: task syz-executor.3:9903 blocked for more than 140 seconds. Not tainted 4.19.193-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D28232 9903 8441 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:0x41940b Code: Bad RIP value. RSP: 002b:00007ffc898e1360 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 000000000041940b RDX: 0000001b3332014c RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b33320150 R10: 001842e0d089cc93 R11: 0000000000000293 R12: 000000000056c9e0 R13: 000000000056c9e0 R14: 000000000056bf60 R15: 000000000000c724 INFO: task syz-executor.3:9912 blocked for more than 140 seconds. Not tainted 4.19.193-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27800 9912 8441 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:0x4665f9 Code: 61 73 75 96 80 79 04 68 75 90 b8 0b 00 00 00 66 90 e9 35 ff ff ff 48 83 f8 06 75 3d 48 8b 4c 24 30 81 39 73 69 6e 67 75 0e 66 <81> 79 04 6c 65 66 90 0f 84 0f ff ff ff 81 39 73 79 73 74 0f 85 57 RSP: 002b:00007f96faead188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000080380 RDI: 0000000020000100 RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffc898e12ff R14: 00007f96faead300 R15: 0000000000022000 INFO: task syz-executor.0:9945 blocked for more than 140 seconds. Not tainted 4.19.193-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28168 9945 8447 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:0x41940b Code: 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 f6 c7 01 0f 84 31 02 00 00 b8 <48> 00 00 00 48 85 c9 0f 86 5e 03 00 00 48 8b 3c 06 48 89 bc 24 80 RSP: 002b:00007ffe86e2fb80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 000000000041940b RDX: 0000001b3382014c RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b33820150 R10: 001cf91b92ff8932 R11: 0000000000000293 R12: 000000000056c9e0 R13: 000000000056c9e0 R14: 000000000056bf60 R15: 000000000000c7c2 INFO: task syz-executor.0:9947 blocked for more than 140 seconds. Not tainted 4.19.193-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D27800 9947 8447 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:0x4665f9 Code: 61 73 75 96 80 79 04 68 75 90 b8 0b 00 00 00 66 90 e9 35 ff ff ff 48 83 f8 06 75 3d 48 8b 4c 24 30 81 39 73 69 6e 67 75 0e 66 <81> 79 04 6c 65 66 90 0f 84 0f ff ff ff 81 39 73 79 73 74 0f 85 57 RSP: 002b:00007f2949f64188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000080380 RDI: 0000000020000100 RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffe86e2fb1f R14: 00007f2949f64300 R15: 0000000000022000 INFO: task syz-executor.5:9950 blocked for more than 140 seconds. Not tainted 4.19.193-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28232 9950 8450 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:0x41940b Code: 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 f6 c7 01 0f 84 31 02 00 00 b8 <48> 00 00 00 48 85 c9 0f 86 5e 03 00 00 48 8b 3c 06 48 89 bc 24 80 RSP: 002b:00007ffc6d296140 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 000000000041940b RDX: 0000001b33a2014c RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b33a20150 R10: 0000d2cfbcf815c9 R11: 0000000000000293 R12: 000000000056c9e0 R13: 000000000056c9e0 R14: 000000000056bf60 R15: 000000000000c7f9 INFO: task syz-executor.5:9954 blocked for more than 140 seconds. Not tainted 4.19.193-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D27800 9954 8450 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:0x4665f9 Code: 61 73 75 96 80 79 04 68 75 90 b8 0b 00 00 00 66 90 e9 35 ff ff ff 48 83 f8 06 75 3d 48 8b 4c 24 30 81 39 73 69 6e 67 75 0e 66 <81> 79 04 6c 65 66 90 0f 84 0f ff ff ff 81 39 73 79 73 74 0f 85 57 RSP: 002b:00007f23d3e52188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000000080380 RDI: 0000000020000100 RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffc6d2960df R14: 00007f23d3e52300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:1/23: #0: 00000000246a877a (&rq->lock){-.-.}, at: idle_balance kernel/sched/fair.c:9701 [inline] #0: 00000000246a877a (&rq->lock){-.-.}, at: pick_next_task_fair+0x1006/0x1540 kernel/sched/fair.c:6840 #1: 00000000d248b33a (rcu_read_lock){....}, at: cpu_of kernel/sched/sched.h:921 [inline] #1: 00000000d248b33a (rcu_read_lock){....}, at: __update_idle_core+0x3c/0x3f0 kernel/sched/fair.c:6057 1 lock held by khungtaskd/1570: #0: 00000000d248b33a (rcu_read_lock){....}, at: debug_show_all_locks+0x5b/0x27a kernel/locking/lockdep.c:4443 2 locks held by in:imklog/7761: #0: 0000000069efef0c (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xa7/0xd0 fs/file.c:767 #1: 00000000d248b33a (rcu_read_lock){....}, at: is_bpf_text_address+0x0/0xe0 kernel/bpf/core.c:532 1 lock held by syz-executor.2/9824: #0: 00000000aec3e734 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000aec3e734 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_flush+0x1a2/0x600 fs/fuse/file.c:421 2 locks held by syz-executor.2/9830: #0: 00000000a47bc6a9 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000a47bc6a9 (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 00000000aec3e734 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000aec3e734 (&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/9839: #0: 000000009150c374 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000009150c374 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_flush+0x1a2/0x600 fs/fuse/file.c:421 2 locks held by syz-executor.1/9843: #0: 000000000f3fc3b5 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000000f3fc3b5 (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 000000009150c374 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 000000009150c374 (&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/9903: #0: 00000000b0462eba (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000b0462eba (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_flush+0x1a2/0x600 fs/fuse/file.c:421 2 locks held by syz-executor.3/9912: #0: 00000000fdb9f73e (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000fdb9f73e (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 00000000b0462eba (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000b0462eba (&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/9945: #0: 0000000070591c4d (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 0000000070591c4d (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_flush+0x1a2/0x600 fs/fuse/file.c:421 2 locks held by syz-executor.0/9947: #0: 00000000c0eb4613 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000c0eb4613 (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 0000000070591c4d (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000070591c4d (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_open_common+0x14d/0x240 fs/fuse/file.c:215 1 lock held by syz-executor.5/9950: #0: 0000000008dbc272 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 0000000008dbc272 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_flush+0x1a2/0x600 fs/fuse/file.c:421 2 locks held by syz-executor.5/9954: #0: 000000009cc573a3 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000009cc573a3 (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 0000000008dbc272 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000008dbc272 (&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/9955: #0: 0000000071e8e961 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 0000000071e8e961 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_flush+0x1a2/0x600 fs/fuse/file.c:421 2 locks held by syz-executor.4/9957: #0: 000000008a02ca64 (sb_writers#14){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000008a02ca64 (sb_writers#14){.+.+}, at: mnt_want_write+0x3c/0xa0 fs/namespace.c:360 #1: 0000000071e8e961 (&sb->s_type->i_mutex_key#21){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000071e8e961 (&sb->s_type->i_mutex_key#21){+.+.}, at: fuse_open_common+0x14d/0x240 fs/fuse/file.c:215 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1570 Comm: khungtaskd Not tainted 4.19.193-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: 23 Comm: kworker/u4:1 Not tainted 4.19.193-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:batadv_nc_purge_paths+0xd4/0x2c0 net/batman-adv/network-coding.c:454 Code: 45 d0 4d 6b e4 38 4c 03 60 08 4c 89 e7 4c 89 65 c0 e8 50 4a 3c 00 4c 89 f2 48 c1 ea 03 80 3c 1a 00 0f 85 69 01 00 00 4d 8b 36 <4d> 85 f6 75 1e e9 de 00 00 00 e8 ed 19 b5 fe 85 c0 0f 85 fa 50 39 RSP: 0018:ffff8880b5b97c98 EFLAGS: 00000246 RAX: ffffffff876839a0 RBX: dffffc0000000000 RCX: ffffffff81471420 RDX: 1ffff11012203040 RSI: 0000000000000004 RDI: ffff8880a7f0dec0 RBP: ffff8880b5b97d00 R08: ffffed1014fe1bd9 R09: ffffed1014fe1bd8 R10: ffffed1014fe1bd8 R11: ffff8880a7f0dec3 R12: ffff8880a7f0dec0 R13: ffffffff876844b0 R14: 0000000000000000 R15: ffff8880a9299bc0 FS: 0000000000000000(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f60b43ed000 CR3: 00000000b32ba000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: batadv_nc_worker+0x1f3/0x630 net/batman-adv/network-coding.c:731 process_one_work+0x7b9/0x15a0 kernel/workqueue.c:2152 worker_thread+0x85/0xb60 kernel/workqueue.c:2295 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415