INFO: task kworker/u4:4:76 blocked for more than 143 seconds. Not tainted 6.5.0-rc7-syzkaller-00004-gf7757129e3de-dirty #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:4 state:D stack:23144 pid:76 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:1) Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 schedule+0xc3/0x180 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 jfs_get_block+0x1e0/0xe60 fs/jfs/inode.c:213 __block_write_full_folio+0x32a/0x10b0 fs/buffer.c:1881 __mpage_writepage+0xf58/0x2010 fs/mpage.c:652 write_cache_pages+0x831/0x1420 mm/page-writeback.c:2474 mpage_writepages+0x107/0x1d0 fs/mpage.c:679 do_writepages+0x3a6/0x670 mm/page-writeback.c:2553 __writeback_single_inode+0x155/0xfa0 fs/fs-writeback.c:1603 writeback_sb_inodes+0x8e3/0x11d0 fs/fs-writeback.c:1894 wb_writeback+0x44d/0xc60 fs/fs-writeback.c:2070 wb_do_writeback fs/fs-writeback.c:2217 [inline] wb_workfn+0x400/0xff0 fs/fs-writeback.c:2257 process_one_work+0x92c/0x12c0 kernel/workqueue.c:2600 worker_thread+0xa63/0x1210 kernel/workqueue.c:2751 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 INFO: task syz-executor.1:6792 blocked for more than 144 seconds. Not tainted 6.5.0-rc7-syzkaller-00004-gf7757129e3de-dirty #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:22312 pid:6792 ppid:5380 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 schedule+0xc3/0x180 kernel/sched/core.c:6786 io_schedule+0x8c/0x100 kernel/sched/core.c:9028 __lock_metapage+0x1f9/0x310 fs/jfs/jfs_metapage.c:50 lock_metapage fs/jfs/jfs_metapage.c:64 [inline] __get_metapage+0x556/0x10e0 fs/jfs/jfs_metapage.c:639 xtSearch+0x14c/0x1ca0 fs/jfs/jfs_xtree.c:255 xtLookup+0x2c4/0x8e0 fs/jfs/jfs_xtree.c:152 jfs_get_block+0x2e9/0xe60 fs/jfs/inode.c:218 __block_write_begin_int+0x555/0x1a60 fs/buffer.c:2128 __block_write_begin fs/buffer.c:2178 [inline] block_write_begin+0x9c/0x1f0 fs/buffer.c:2239 jfs_write_begin+0x31/0x70 fs/jfs/inode.c:299 generic_perform_write+0x31b/0x630 mm/filemap.c:3923 __generic_file_write_iter+0x1b4/0x230 mm/filemap.c:4015 generic_file_write_iter+0xaf/0x310 mm/filemap.c:4044 do_iter_write+0x84f/0xde0 fs/read_write.c:860 iter_file_splice_write+0x86d/0x1010 fs/splice.c:739 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0xea/0x1c0 fs/splice.c:1145 splice_direct_to_actor+0x376/0x9e0 fs/splice.c:1091 do_splice_direct+0x2ac/0x3f0 fs/splice.c:1197 do_sendfile+0x623/0x1070 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff35fe7c999 RSP: 002b:00007ff360b910c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007ff35ff9bf80 RCX: 00007ff35fe7c999 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000009 RBP: 00007ff35fed8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201004 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff35ff9bf80 R15: 00007ffecad26f28 INFO: task syz-executor.1:6802 blocked for more than 146 seconds. Not tainted 6.5.0-rc7-syzkaller-00004-gf7757129e3de-dirty #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28072 pid:6802 ppid:5380 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 schedule+0xc3/0x180 kernel/sched/core.c:6786 wb_wait_for_completion+0x166/0x290 fs/fs-writeback.c:192 __writeback_inodes_sb_nr+0x2d2/0x370 fs/fs-writeback.c:2650 sync_filesystem+0xa4/0x220 fs/sync.c:54 jfs_remount+0x136/0x6b0 fs/jfs/super.c:432 reconfigure_super+0x43e/0x870 fs/super.c:961 do_remount fs/namespace.c:2882 [inline] path_mount+0xc24/0xfa0 fs/namespace.c:3654 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff35fe7e09a RSP: 002b:00007ff360b6fee8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ff360b6ff80 RCX: 00007ff35fe7e09a RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 0000000020000180 R08: 00007ff360b6ff80 R09: 0000000001a404ac R10: 0000000001a404ac R11: 0000000000000246 R12: 0000000020000100 R13: 00007ff360b6ff40 R14: 0000000000000000 R15: 0000000020001f00 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8d3275f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8d3279b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffffffff8d327420 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:4/76: #0: ffff8880132a6938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7e3/0x12c0 kernel/workqueue.c:2572 #1: ffffc900020efd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x82b/0x12c0 kernel/workqueue.c:2574 #2: ffff88806a260a78 (&jfs_ip->rdwrlock#2){++++}-{3:3}, at: jfs_get_block+0x1e0/0xe60 fs/jfs/inode.c:213 3 locks held by kworker/u4:5/1187: 1 lock held by udevd/4470: #0: ffff8880b993bf98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 2 locks held by getty/4766: #0: ffff88814b544098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2187 1 lock held by syz-executor.2/5376: 3 locks held by syz-executor.1/6792: #0: ffff88802a1b6410 (sb_writers#14){.+.+}-{0:0}, at: do_sendfile+0x600/0x1070 fs/read_write.c:1253 #1: ffff88806a260ec0 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline] #1: ffff88806a260ec0 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: generic_file_write_iter+0x83/0x310 mm/filemap.c:4041 #2: ffff88806a260a78 (&jfs_ip->rdwrlock#2){++++}-{3:3}, at: jfs_get_block+0x1e0/0xe60 fs/jfs/inode.c:213 1 lock held by syz-executor.1/6802: #0: ffff88802a1b60e0 (&type->s_umount_key#51){+.+.}-{3:3}, at: do_remount fs/namespace.c:2879 [inline] #0: ffff88802a1b60e0 (&type->s_umount_key#51){+.+.}-{3:3}, at: path_mount+0xbdd/0xfa0 fs/namespace.c:3654 3 locks held by syz-executor.3/7694: 3 locks held by syz-executor.4/7696: 2 locks held by syz-executor.0/7698: 2 locks held by syz-executor.1/7703: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc7-syzkaller-00004-gf7757129e3de-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7705 Comm: syz-executor.2 Not tainted 6.5.0-rc7-syzkaller-00004-gf7757129e3de-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:common_interrupt_return+0x3d/0x54 arch/x86/entry/entry_64.S:646 Code: 89 d0 48 c1 ea 20 0f 30 41 5f 41 5e 41 5d 41 5c 5d 5b 41 5b 41 5a 41 59 41 58 58 59 5a 5e 48 89 e7 65 48 8b 24 25 04 a0 00 00 77 30 ff 77 28 ff 77 20 ff 77 18 ff 77 10 ff 37 5f 0f 01 f8 eb RSP: 0000:fffffe000004a000 EFLAGS: 00000046 RAX: 0000000000590001 RBX: 00007f4e0d5b75c0 RCX: 0000000000000031 RDX: 0000000000000015 RSI: 0000000000000001 RDI: ffffc900051d7fc8 RBP: 0000000000000102 R08: 00007f4e037ff000 R09: 0000000000590000 R10: 0000000000000000 R11: 00007f4e0d5b75d0 R12: 0000000000000001 R13: 00007f4e0c8ea2c0 R14: 0000000000000000 R15: 00007f4e0d5b7660 FS: 00007f4e0d5b86c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4e03d8f000 CR3: 000000001f544000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: