INFO: task syz-executor.5:6654 blocked for more than 143 seconds. Not tainted 6.6.0-syzkaller-10102-gff269e2cd5ad #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:25440 pid:6654 tgid:6646 ppid:5092 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee2/0x59a0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6778 schedule_timeout+0x278/0x2c0 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e0/0x5f0 kernel/sched/completion.c:116 __flush_work+0x523/0xa10 kernel/workqueue.c:3407 __cancel_work_timer+0x3ef/0x580 kernel/workqueue.c:3494 tls_sk_proto_close+0x4b1/0xac0 net/tls/tls_main.c:376 inet_release+0x132/0x270 net/ipv4/af_inet.c:433 inet6_release+0x4f/0x70 net/ipv6/af_inet6.c:485 __sock_release+0xae/0x260 net/socket.c:659 sock_close+0x1c/0x20 net/socket.c:1419 __fput+0x270/0xbb0 fs/file_table.c:394 task_work_run+0x14d/0x240 kernel/task_work.c:180 get_signal+0x106f/0x2790 kernel/signal.c:2676 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x4b/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f421bc7cae9 RSP: 002b:00007f421c91b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: fffffffffffffffc RBX: 00007f421bd9c050 RCX: 00007f421bc7cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f421bcc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f421bd9c050 R15: 00007ffe9a071e68 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8cfad3a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfad3a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfad3a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by getty/4806: #0: ffff88802a4620a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206 5 locks held by syz-executor.0/5084: 1 lock held by syz-executor.2/5101: 3 locks held by kworker/1:6/5146: #0: ffff888013070d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90004687d80 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffff888041c608f0 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x134/0x230 net/tls/tls_sw.c:2535 2 locks held by syz-executor.1/24101: 3 locks held by kworker/u4:3/4253: 1 lock held by syz-executor.5/6654: #0: ffff888033263e10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff888033263e10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x260 net/socket.c:658 2 locks held by syz-executor.5/6704: 4 locks held by syz-executor.3/8894: 2 locks held by syz-executor.2/8896: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.6.0-syzkaller-10102-gff269e2cd5ad #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/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:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 24101 Comm: syz-executor.1 Not tainted 6.6.0-syzkaller-10102-gff269e2cd5ad #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:mark_lock+0x61/0x1950 kernel/locking/lockdep.c:4638 Code: 41 48 c1 e8 03 48 c7 44 24 48 f0 37 80 8c 49 89 c6 48 01 d0 48 c7 44 24 50 d0 78 68 81 c7 00 f1 f1 f1 f1 c7 40 04 f1 f1 04 f2 40 08 00 f2 f2 f2 c7 40 0c 00 f2 f2 f2 c7 40 14 00 00 00 f3 c7 RSP: 0018:ffffc900056b75d0 EFLAGS: 00000082 RAX: fffff52000ad6ec2 RBX: 0000000000000001 RCX: 1ffffffff23e7068 RDX: dffffc0000000000 RSI: ffff88807c65c678 RDI: ffff88807c65bb80 RBP: ffffc900056b7740 R08: 0000000000000000 R09: fffffbfff23dedec R10: ffffffff91ef6f67 R11: 1ffff110040197eb R12: ffff88807c65bb80 R13: 0000000000000006 R14: 1ffff92000ad6ec2 R15: 00000000ffffffff FS: 00005555561a8480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000205e2000 CR3: 000000002b6f4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4273 __trace_hardirqs_on_caller kernel/locking/lockdep.c:4299 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4358 [inline] lockdep_hardirqs_on_prepare+0x28f/0x410 kernel/locking/lockdep.c:4310 trace_hardirqs_on+0x36/0x40 kernel/trace/trace_preemptirq.c:61 mod_lruvec_page_state include/linux/vmstat.h:569 [inline] lruvec_stat_mod_folio include/linux/vmstat.h:645 [inline] folio_account_cleaned+0x285/0x360 mm/page-writeback.c:2642 __folio_cancel_dirty+0x349/0x410 mm/page-writeback.c:2835 folio_cancel_dirty include/linux/pagemap.h:1151 [inline] try_to_free_buffers+0x280/0x2d0 fs/buffer.c:2972 jbd2_journal_try_to_free_buffers+0x1fa/0x270 fs/jbd2/transaction.c:2168 ext4_release_folio+0x19a/0x360 fs/ext4/inode.c:3187 filemap_release_folio+0x1f1/0x270 mm/filemap.c:4127 block_invalidate_folio+0x4e5/0x5e0 fs/buffer.c:1632 folio_invalidate mm/truncate.c:158 [inline] truncate_cleanup_folio+0x2b0/0x3e0 mm/truncate.c:178 truncate_inode_pages_range+0x27a/0x1030 mm/truncate.c:367 ext4_evict_inode+0x2c5/0x1a30 fs/ext4/inode.c:193 evict+0x2ed/0x6b0 fs/inode.c:664 iput_final fs/inode.c:1775 [inline] iput.part.0+0x55e/0x7a0 fs/inode.c:1801 iput+0x5c/0x80 fs/inode.c:1791 do_unlinkat+0x60f/0x740 fs/namei.c:4389 __do_sys_unlink fs/namei.c:4430 [inline] __se_sys_unlink fs/namei.c:4428 [inline] __x64_sys_unlink+0xc8/0x110 fs/namei.c:4428 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f1e8a47c297 Code: 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 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:00007fff59bda3f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1e8a47c297 RDX: 00007fff59bda420 RSI: 00007fff59bda4b0 RDI: 00007fff59bda4b0 RBP: 00007fff59bda4b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00007fff59bdb570 R13: 00007f1e8a4c73b9 R14: 000000000017938a R15: 0000000000000009