INFO: task syz-executor.1:10107 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28648 10107 8125 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] fuse_flush+0x1fd/0x5b0 fs/fuse/file.c:421 filp_close+0xb4/0x160 fs/open.c:1162 __close_fd+0x133/0x200 fs/file.c:636 __do_sys_close fs/open.c:1181 [inline] __se_sys_close fs/open.c:1179 [inline] __x64_sys_close+0x69/0x100 fs/open.c:1179 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f403c9baf8b Code: Bad RIP value. RSP: 002b:00007ffe60e5a860 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f403c9baf8b RDX: 0000001b2f420000 RSI: 0000001b2f426738 RDI: 0000000000000004 RBP: 00007f403cb2a980 R08: 0000000000000000 R09: 000000003253460c R10: 00155ffdd250dc82 R11: 0000000000000293 R12: 00000000000415c4 R13: 00007ffe60e5a960 R14: 00007f403cb29120 R15: 0000000000000032 INFO: task syz-executor.1:10109 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D27704 10109 8125 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 fuse_wait_on_page_writeback fs/fuse/file.c:383 [inline] fuse_wait_on_page_writeback.isra.0+0x11b/0x170 fs/fuse/file.c:379 fuse_launder_page fs/fuse/file.c:2033 [inline] fuse_launder_page+0xb6/0xe0 fs/fuse/file.c:2026 do_launder_page mm/truncate.c:655 [inline] invalidate_inode_pages2_range+0x795/0x1110 mm/truncate.c:725 fuse_finish_open+0x2e2/0x590 fs/fuse/file.c:182 fuse_open_common+0x236/0x2c0 fs/fuse/file.c:222 do_dentry_open+0x4aa/0x1160 fs/open.c:796 do_last fs/namei.c:3421 [inline] path_openat+0x793/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f403ca090d9 Code: Bad RIP value. RSP: 002b:00007f403af7b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f403cb28f80 RCX: 00007f403ca090d9 RDX: 00000000000000a0 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f403ca64ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe60e5a7ff R14: 00007f403af7b300 R15: 0000000000022000 INFO: task syz-executor.1:10116 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D27880 10116 8125 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 io_schedule+0xb5/0x120 kernel/sched/core.c:5181 wait_on_page_bit_common mm/filemap.c:1123 [inline] __lock_page+0x316/0x460 mm/filemap.c:1296 lock_page include/linux/pagemap.h:484 [inline] invalidate_inode_pages2_range+0xb3f/0x1110 mm/truncate.c:713 fuse_finish_open+0x2e2/0x590 fs/fuse/file.c:182 fuse_open_common+0x254/0x2c0 fs/fuse/file.c:222 do_dentry_open+0x4aa/0x1160 fs/open.c:796 do_last fs/namei.c:3421 [inline] path_openat+0x793/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f403ca090d9 Code: Bad RIP value. RSP: 002b:00007f403af5a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f403cb29050 RCX: 00007f403ca090d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200001c0 RBP: 00007f403ca64ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe60e5a7ff R14: 00007f403af5a300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1571: #0: 00000000a73a7319 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7800: #0: 00000000837325a2 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 3 locks held by kworker/u4:7/9639: #0: 000000007cb9de14 (&rq->lock){-.-.}, at: idle_balance kernel/sched/fair.c:9702 [inline] #0: 000000007cb9de14 (&rq->lock){-.-.}, at: pick_next_task_fair+0x556/0x1570 kernel/sched/fair.c:6841 #1: 00000000a73a7319 (rcu_read_lock){....}, at: cpu_of kernel/sched/sched.h:923 [inline] #1: 00000000a73a7319 (rcu_read_lock){....}, at: __update_idle_core+0x39/0x3e0 kernel/sched/fair.c:6057 #2: 000000007cb9de14 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #2: 000000007cb9de14 (&rq->lock){-.-.}, at: ttwu_queue kernel/sched/core.c:1841 [inline] #2: 000000007cb9de14 (&rq->lock){-.-.}, at: try_to_wake_up+0x6d0/0x1050 kernel/sched/core.c:2052 1 lock held by syz-executor.1/10107: #0: 0000000017da8392 (&sb->s_type->i_mutex_key#27){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 0000000017da8392 (&sb->s_type->i_mutex_key#27){+.+.}, at: fuse_flush+0x1fd/0x5b0 fs/fuse/file.c:421 2 locks held by syz-executor.1/10116: #0: 00000000c638b0c4 (sb_writers#20){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000c638b0c4 (sb_writers#20){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000017da8392 (&sb->s_type->i_mutex_key#27){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000017da8392 (&sb->s_type->i_mutex_key#27){+.+.}, at: fuse_open_common+0x1bc/0x2c0 fs/fuse/file.c:215 1 lock held by syz-executor.5/10726: #0: 00000000cf9d4030 (&sb->s_type->i_mutex_key#27){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 00000000cf9d4030 (&sb->s_type->i_mutex_key#27){+.+.}, at: fuse_flush+0x1fd/0x5b0 fs/fuse/file.c:421 2 locks held by syz-executor.5/10734: #0: 000000009d7aed20 (sb_writers#20){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000009d7aed20 (sb_writers#20){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000cf9d4030 (&sb->s_type->i_mutex_key#27){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000cf9d4030 (&sb->s_type->i_mutex_key#27){+.+.}, at: fuse_open_common+0x1bc/0x2c0 fs/fuse/file.c:215 3 locks held by syz-executor.2/14158: #0: 00000000daf9bd28 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 #1: 00000000f7c115d2 (sb_writers#23){.+.+}, at: file_start_write include/linux/fs.h:2779 [inline] #1: 00000000f7c115d2 (sb_writers#23){.+.+}, at: vfs_write+0x463/0x540 fs/read_write.c:548 #2: 0000000013b5d2ad (&sb->s_type->i_mutex_key#29){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #2: 0000000013b5d2ad (&sb->s_type->i_mutex_key#29){+.+.}, at: generic_file_write_iter+0x99/0x730 mm/filemap.c:3320 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1571 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 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: 7803 Comm: rs:main Q:Reg Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:generic_update_time+0xeb/0x370 fs/inode.c:1650 Code: 85 ff 74 57 e8 16 3b b9 ff 49 8d 7c 24 78 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 66 83 3c 02 00 0f 85 4d 02 00 00 <48> b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 66 83 3c 02 00 RSP: 0018:ffff88809f62faa0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 0000000000000006 RCX: ffffffff81a94a50 RDX: 1ffff11011c868d5 RSI: ffffffff81a94a5a RDI: ffff88808e4346a8 RBP: ffff88809f62fad0 R08: ffffffff8cd36a10 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff88808e434630 R13: ffff88809f62fb10 R14: 0000000000000000 R15: 0000000000000004 FS: 00007fe59ccb6700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f030c3a2000 CR3: 00000000a9d81000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: update_time fs/inode.c:1675 [inline] file_update_time+0x316/0x500 fs/inode.c:1890 __generic_file_write_iter+0x1bc/0x610 mm/filemap.c:3245 ext4_file_write_iter+0x2fe/0xf20 fs/ext4/file.c:272 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fe59f6fa1cd Code: c2 20 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ae fc ff ff 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 f7 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fe59ccb5590 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fe594023fb0 RCX: 00007fe59f6fa1cd RDX: 0000000000000456 RSI: 00007fe594023fb0 RDI: 0000000000000006 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007fe594023d30 R13: 00007fe59ccb55b0 R14: 0000558b438c9360 R15: 0000000000000456