INFO: task syz-executor.2:6818 blocked for more than 143 seconds. Not tainted 6.6.0-rc3-next-20230925-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26928 pid:6818 ppid:5104 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5365 [inline] __schedule+0xee1/0x5a00 kernel/sched/core.c:6676 __schedule_loop kernel/sched/core.c:6753 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6768 io_schedule+0xbe/0x130 kernel/sched/core.c:8988 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:1732 clean_bdev_bh_alias include/linux/buffer_head.h:222 [inline] __block_write_begin_int+0x8d6/0x14d0 fs/buffer.c:2125 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:1957 [inline] aio_write+0x3ba/0x8d0 fs/aio.c:1582 __io_submit_one fs/aio.c:1954 [inline] io_submit_one+0x11af/0x1de0 fs/aio.c:2001 __do_sys_io_submit fs/aio.c:2060 [inline] __se_sys_io_submit fs/aio.c:2030 [inline] __x64_sys_io_submit+0x1c3/0x350 fs/aio.c:2030 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc1bbc7cae9 RSP: 002b:00007fc1bca260c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 00007fc1bbd9c050 RCX: 00007fc1bbc7cae9 RDX: 0000000020000540 RSI: 000000000000003b RDI: 00007fc1bca27000 RBP: 00007fc1bbcc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fc1bbd9c050 R15: 00007ffc509c32b8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cbab160 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8cbab160 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8cbab160 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by kworker/u4:5/76: 2 locks held by getty/4808: #0: ffff88802a4120a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206 1 lock held by udevd/6900: 1 lock held by syz-executor.2/6941: 1 lock held by syz-executor.1/7681: 2 locks held by syz-executor.0/7699: 5 locks held by syz-executor.4/7703: 2 locks held by syz-executor.5/7707: #0: ffff8880b983c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 #1: ffff8880b9828888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:999 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc3-next-20230925-syzkaller #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: 5392 Comm: syz-fuzzer Not tainted 6.6.0-rc3-next-20230925-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0033:0x43ac20 Code: 4c 24 14 e8 02 cc 02 00 48 8b 44 24 08 8b 5c 24 10 8b 4c 24 14 e9 30 ff ff ff cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc <48> 83 ec 40 48 89 6c 24 38 48 8d 6c 24 38 48 89 44 24 48 89 4c 24 RSP: 002b:000000c01f683f40 EFLAGS: 00000246 RAX: 000000c0000061a0 RBX: 0000000000000002 RCX: 0000000000000001 RDX: 0000000000000002 RSI: 000000c016e4cd00 RDI: 000000000000070c RBP: 000000c01f683f70 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000097fd R11: 0000000001f1c304 R12: 000000000043ff00 R13: 0000000000007f59 R14: 000000c016e4cd00 R15: 0000000000000002 FS: 000000c0161a7890 GS: 0000000000000000