INFO: task syz-executor.4:8163 blocked for more than 143 seconds. Not tainted 6.6.0-rc2-syzkaller-00386-g3aba70aed91f #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26208 pid:8163 ppid:5075 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 io_schedule+0xbe/0x130 kernel/sched/core.c:9026 folio_wait_bit_common+0x3dc/0x9c0 mm/filemap.c:1301 folio_lock include/linux/pagemap.h:1042 [inline] clean_bdev_aliases+0x56b/0x610 fs/buffer.c:1725 clean_bdev_bh_alias include/linux/buffer_head.h:222 [inline] __block_write_begin_int+0x8d6/0x14d0 fs/buffer.c:2118 iomap_write_begin+0x5be/0x1800 fs/iomap/buffered-io.c:774 iomap_write_iter fs/iomap/buffered-io.c:909 [inline] iomap_file_buffered_write+0x3d6/0x9a0 fs/iomap/buffered-io.c:970 blkdev_buffered_write block/fops.c:634 [inline] blkdev_write_iter+0x4f5/0xc90 block/fops.c:684 call_write_iter include/linux/fs.h:1956 [inline] do_iter_readv_writev+0x21e/0x3c0 fs/read_write.c:735 do_iter_write+0x17f/0x830 fs/read_write.c:860 vfs_iter_write+0x7a/0xb0 fs/read_write.c:901 iter_file_splice_write+0x698/0xbf0 fs/splice.c:736 do_splice_from fs/splice.c:933 [inline] direct_splice_actor+0x118/0x180 fs/splice.c:1142 splice_direct_to_actor+0x347/0xa30 fs/splice.c:1088 do_splice_direct+0x1af/0x280 fs/splice.c:1194 do_sendfile+0xb88/0x1390 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x1d6/0x220 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5cbf47cae9 RSP: 002b:00007f5cc01f80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f5cbf59bf80 RCX: 00007f5cbf47cae9 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000003 RBP: 00007f5cbf4c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000024002de8 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f5cbf59bf80 R15: 00007ffecf6be6b8 Showing all locks held in the system: 3 locks held by kworker/u4:1/11: 1 lock held by khungtaskd/28: #0: ffffffff8cba7920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8cba7920 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8cba7920 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by kworker/1:2/920: #0: ffff888012c7b938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90004437d80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 2 locks held by getty/4787: #0: ffff888028af80a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900020682f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206 1 lock held by syz-executor.1/10456: #0: ffff888081ffa0e0 (&type->s_umount_key#69){++++}-{3:3}, at: xfs_open_devices+0x2c4/0x5b0 fs/xfs/xfs_super.c:491 1 lock held by syz-executor.5/10463: #0: ffffffff8cbb30c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4001 2 locks held by syz-executor.3/10469: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.6.0-rc2-syzkaller-00386-g3aba70aed91f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 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: 10456 Comm: syz-executor.1 Not tainted 6.6.0-rc2-syzkaller-00386-g3aba70aed91f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x8/0x20 kernel/kcov.c:290 Code: 00 00 f3 0f 1e fa 48 8b 0c 24 48 89 f2 48 89 fe bf 06 00 00 00 e9 f8 fe ff ff 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 0c 24 <40> 0f b6 d6 40 0f b6 f7 bf 01 00 00 00 e9 d6 fe ff ff 66 0f 1f 44 RSP: 0018:ffffc90017076cd0 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffffc90017076d58 RCX: ffffffff813a53c3 RDX: 0000000000040000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 1ffff11002855cba R12: ffffffff8f5668b4 R13: ffffc90017077100 R14: ffffffff8f5668b8 R15: 0000000000000001 FS: 00007fcc5a20f6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efc4bffe000 CR3: 000000008c921000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: deref_stack_reg arch/x86/kernel/unwind_orc.c:403 [inline] unwind_next_frame+0xd93/0x2390 arch/x86/kernel/unwind_orc.c:585 arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 __kasan_record_aux_stack+0x78/0x80 mm/kasan/generic.c:492 insert_work+0x38/0x230 kernel/workqueue.c:1647 __queue_work+0x5d0/0x1050 kernel/workqueue.c:1799 queue_work_on+0xed/0x110 kernel/workqueue.c:1834 queue_work include/linux/workqueue.h:554 [inline] loop_queue_work drivers/block/loop.c:897 [inline] loop_queue_rq+0x5f0/0x1210 drivers/block/loop.c:1882 __blk_mq_issue_directly+0xe3/0x270 block/blk-mq.c:2590 blk_mq_try_issue_directly+0x1ce/0x3b0 block/blk-mq.c:2649 blk_mq_submit_bio+0x1773/0x1e30 block/blk-mq.c:3022 __submit_bio+0xfd/0x310 block/blk-core.c:599 __submit_bio_noacct_mq block/blk-core.c:678 [inline] submit_bio_noacct_nocheck+0x847/0xba0 block/blk-core.c:707 submit_bio_noacct+0x879/0x1b10 block/blk-core.c:801 submit_bio_wait+0x10a/0x230 block/bio.c:1365 xfs_rw_bdev+0x26b/0x2e0 fs/xfs/xfs_bio_io.c:53 xlog_do_io+0x19c/0x3b0 fs/xfs/xfs_log_recover.c:140 xlog_bread+0x2e/0xc0 fs/xfs/xfs_log_recover.c:171 xlog_rseek_logrec_hdr+0x195/0x590 fs/xfs/xfs_log_recover.c:787 xlog_find_tail+0x291/0x9d0 fs/xfs/xfs_log_recover.c:1280 xlog_recover+0x90/0x500 fs/xfs/xfs_log_recover.c:3360 xfs_log_mount+0x234/0x4e0 fs/xfs/xfs_log.c:718 xfs_mountfs+0x10c3/0x1de0 fs/xfs/xfs_mount.c:822 xfs_fs_fill_super+0x1406/0x1f40 fs/xfs/xfs_super.c:1727 get_tree_bdev+0x3b5/0x650 fs/super.c:1577 vfs_get_tree+0x8c/0x370 fs/super.c:1750 do_new_mount fs/namespace.c:3335 [inline] path_mount+0x1492/0x1ed0 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fcc5947e1ea Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcc5a20eee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fcc5a20ef80 RCX: 00007fcc5947e1ea RDX: 0000000020009700 RSI: 0000000020009740 RDI: 00007fcc5a20ef40 RBP: 0000000020009700 R08: 00007fcc5a20ef80 R09: 0000000002000000 R10: 0000000002000000 R11: 0000000000000202 R12: 0000000020009740 R13: 00007fcc5a20ef40 R14: 00000000000096cb R15: 0000000020000000