INFO: task syz-executor356:5406 blocked for more than 143 seconds. Not tainted 6.6.0-rc2-next-20230920-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor356 state:D stack:27568 pid:5406 ppid:5056 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5365 [inline] __schedule+0xee1/0x5a00 kernel/sched/core.c:6677 schedule+0xe7/0x1b0 kernel/sched/core.c:6753 io_schedule+0xbe/0x130 kernel/sched/core.c:8953 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/0x17b0 fs/iomap/buffered-io.c:772 iomap_write_iter fs/iomap/buffered-io.c:907 [inline] iomap_file_buffered_write+0x3d6/0x9a0 fs/iomap/buffered-io.c:968 blkdev_buffered_write block/fops.c:634 [inline] blkdev_write_iter+0x4f5/0xc90 block/fops.c:684 call_write_iter include/linux/fs.h:1986 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x650/0xe40 fs/read_write.c:584 ksys_write+0x12f/0x250 fs/read_write.c:637 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:0x7f5530125d49 RSP: 002b:00007f55300c1218 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f55301ad6d8 RCX: 00007f5530125d49 RDX: 000000000208e24b RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007f55301ad6d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f553017a578 R13: 0000000000000006 R14: 00007fff228ee220 R15: 6f6f6c2f7665642f INFO: task syz-executor356:5774 blocked for more than 143 seconds. Not tainted 6.6.0-rc2-next-20230920-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor356 state:D stack:27568 pid:5774 ppid:5058 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5365 [inline] __schedule+0xee1/0x5a00 kernel/sched/core.c:6677 schedule+0xe7/0x1b0 kernel/sched/core.c:6753 io_schedule+0xbe/0x130 kernel/sched/core.c:8953 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/0x17b0 fs/iomap/buffered-io.c:772 iomap_write_iter fs/iomap/buffered-io.c:907 [inline] iomap_file_buffered_write+0x3d6/0x9a0 fs/iomap/buffered-io.c:968 blkdev_buffered_write block/fops.c:634 [inline] blkdev_write_iter+0x4f5/0xc90 block/fops.c:684 call_write_iter include/linux/fs.h:1986 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x650/0xe40 fs/read_write.c:584 ksys_write+0x12f/0x250 fs/read_write.c:637 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:0x7f5530125d49 RSP: 002b:00007f55300c1218 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f55301ad6d8 RCX: 00007f5530125d49 RDX: 000000000208e24b RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007f55301ad6d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f553017a578 R13: 0000000000000006 R14: 00007fff228ee220 R15: 6f6f6c2f7665642f INFO: task syz-executor356:6156 blocked for more than 144 seconds. Not tainted 6.6.0-rc2-next-20230920-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor356 state:D stack:27568 pid:6156 ppid:5053 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5365 [inline] __schedule+0xee1/0x5a00 kernel/sched/core.c:6677 schedule+0xe7/0x1b0 kernel/sched/core.c:6753 io_schedule+0xbe/0x130 kernel/sched/core.c:8953 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/0x17b0 fs/iomap/buffered-io.c:772 iomap_write_iter fs/iomap/buffered-io.c:907 [inline] iomap_file_buffered_write+0x3d6/0x9a0 fs/iomap/buffered-io.c:968 blkdev_buffered_write block/fops.c:634 [inline] blkdev_write_iter+0x4f5/0xc90 block/fops.c:684 call_write_iter include/linux/fs.h:1986 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x650/0xe40 fs/read_write.c:584 ksys_write+0x12f/0x250 fs/read_write.c:637 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:0x7f5530125d49 RSP: 002b:00007f55300c1218 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f55301ad6d8 RCX: 00007f5530125d49 RDX: 000000000208e24b RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007f55301ad6d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f553017a578 R13: 0000000000000006 R14: 00007fff228ee220 R15: 6f6f6c2f7665642f Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cbaac60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8cbaac60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8cbaac60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by getty/4805: #0: ffff88814bb380a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015c02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc2-next-20230920-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: 5048 Comm: strace-static-x Not tainted 6.6.0-rc2-next-20230920-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:228 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:240 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:mark_lock+0x10a/0x1950 kernel/locking/lockdep.c:4655 Code: 81 e2 ff 1f 0f b7 d2 be 08 00 00 00 48 89 d0 48 89 54 24 38 48 c1 e8 06 48 8d 3c c5 80 2e a0 91 e8 0b 78 76 00 48 8b 54 24 38 <48> 0f a3 15 2e f8 37 10 0f 83 61 01 00 00 48 69 d2 d0 00 00 00 48 RSP: 0018:ffffc90003c3f710 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffff8880226328a8 RCX: ffffffff81683645 RDX: 0000000000000020 RSI: 0000000000000008 RDI: ffffffff91a02e80 RBP: ffffc90003c3f878 R08: 0000000000000000 R09: fffffbfff23405d0 R10: ffffffff91a02e87 R11: 0000000000000000 R12: 0000000000000200 R13: 0000000000000009 R14: 1ffff92000787eea R15: ffff8880226328c8 FS: 00000000011e93c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5530179858 CR3: 000000007c2de000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4598 [inline] __lock_acquire+0x975/0x5de0 kernel/locking/lockdep.c:5090 lock_acquire kernel/locking/lockdep.c:5753 [inline] lock_acquire+0x1ae/0x510 kernel/locking/lockdep.c:5718 rcu_lock_acquire include/linux/rcupdate.h:303 [inline] rcu_read_lock include/linux/rcupdate.h:749 [inline] __task_pid_nr_ns+0x3f/0x500 kernel/pid.c:500 task_pid_vnr include/linux/sched.h:1584 [inline] wait_task_stopped kernel/exit.c:1281 [inline] wait_consider_task+0x7c8/0x40c0 kernel/exit.c:1451 ptrace_do_wait kernel/exit.c:1491 [inline] __do_wait+0x2a9/0x890 kernel/exit.c:1599 do_wait+0x212/0x520 kernel/exit.c:1629 kernel_wait4+0x16d/0x280 kernel/exit.c:1788 __do_sys_wait4+0x15b/0x170 kernel/exit.c:1816 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:0x4d6ad6 Code: 00 00 00 90 31 c9 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 49 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 11 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 90 48 83 ec 28 89 54 24 14 48 89 74 24 RSP: 002b:00007ffdc10c68f8 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004d6ad6 RDX: 0000000040000000 RSI: 00007ffdc10c691c RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000000017 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000011f0a40 R13: 00007ffdc10c691c R14: 00000000011eace0 R15: 000000000063f160 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.541 msecs