INFO: task syz-executor.5:5168 blocked for more than 143 seconds. Not tainted 6.7.0-rc3-syzkaller-00771-gfb70136ded2e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:25776 pid:5168 tgid:5160 ppid:10437 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_timeout+0x257/0x290 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/0x590 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:2680 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+0x121/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1e/0x60 kernel/entry/common.c:296 do_syscall_64+0x4d/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fa705a7cae9 RSP: 002b:00007fa70687a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: 0000000000010000 RBX: 00007fa705b9c050 RCX: 00007fa705a7cae9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007fa705ac847a R08: 0000000000000000 R09: 0000000000000000 R10: 00000000f2090293 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fa705b9c050 R15: 00007fffd2582788 Showing all locks held in the system: 2 locks held by kworker/u4:0/11: 1 lock held by khungtaskd/29: #0: ffffffff8cfabbe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfabbe0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfabbe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by getty/4813: #0: ffff888025df00a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.0/5095: 3 locks held by kworker/1:7/17085: #0: ffff888013070d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2605 #1: ffffc9000d8bfd80 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2606 #2: ffff88803f62c0f0 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x134/0x230 net/tls/tls_sw.c:2538 3 locks held by kworker/0:1/27505: #0: ffff888013070d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2605 #1: ffffc9000327fd80 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2606 #2: ffff8880378164f0 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x134/0x230 net/tls/tls_sw.c:2538 1 lock held by syz-executor.5/5168: #0: ffff8880881c4a10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff8880881c4a10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x260 net/socket.c:658 3 locks held by kworker/0:3/5267: #0: ffff888013070d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2605 #1: ffffc90010a1fd80 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2606 #2: ffff88801a7ed0f0 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x134/0x230 net/tls/tls_sw.c:2538 1 lock held by syz-executor.3/5314: #0: ffff8880881c3810 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff8880881c3810 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x260 net/socket.c:658 1 lock held by syz-executor.3/6343: #0: ffff888041261a10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff888041261a10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x260 net/socket.c:658 3 locks held by syz-executor.3/6344: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc3-syzkaller-00771-gfb70136ded2e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/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/0x390 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+0x2c6/0x3a0 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6344 Comm: syz-executor.3 Not tainted 6.7.0-rc3-syzkaller-00771-gfb70136ded2e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:__sanitizer_cov_trace_cmp1+0x8/0x20 kernel/kcov.c:266 Code: 48 39 f2 72 1b 48 83 c7 01 48 89 38 4c 89 44 30 e0 4c 89 4c 30 e8 4c 89 54 30 f0 4a 89 4c d8 20 c3 90 f3 0f 1e fa 48 8b 0c 24 <40> 0f b6 d6 40 0f b6 f7 31 ff e9 69 ff ff ff 66 0f 1f 84 00 00 00 RSP: 0018:ffffc9000f667860 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff8880833aac02 RCX: ffffffff8a739977 RDX: 1ffff11010675580 RSI: 0000000000000006 RDI: 0000000000000000 RBP: ffff8880833aac00 R08: 0000000000000007 R09: 0000000000001000 R10: ffff8880833aac02 R11: 0000000000000001 R12: ffffc9000f6678b8 R13: 0000000000000000 R14: 0000000000000006 R15: 0000000000000000 FS: 00007fe95d2fb6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020f8b000 CR3: 000000003d8a2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xas_load+0xc7/0x140 lib/xarray.c:242 __xa_set_mark+0xb5/0x120 lib/xarray.c:1907 __folio_mark_dirty+0x1ff/0xe20 mm/page-writeback.c:2670 mark_buffer_dirty+0x320/0x3f0 fs/buffer.c:1200 __block_commit_write+0x108/0x270 fs/buffer.c:2191 block_write_end+0xc8/0x250 fs/buffer.c:2267 ext4_da_do_write_end fs/ext4/inode.c:2961 [inline] ext4_da_write_end+0x1e1/0x1170 fs/ext4/inode.c:3033 generic_perform_write+0x32f/0x600 mm/filemap.c:3929 ext4_buffered_write_iter+0x11f/0x3c0 fs/ext4/file.c:299 ext4_file_write_iter+0x819/0x1950 fs/ext4/file.c:696 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x64f/0xdf0 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+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fe95c67cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fe95d2fb0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fe95c79bf80 RCX: 00007fe95c67cae9 RDX: 000000000208e24b RSI: 00000000200001c0 RDI: 0000000000000004 RBP: 00007fe95c6c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fe95c79bf80 R15: 00007ffe873f7b98