INFO: task syz-executor.0:30360 blocked for more than 143 seconds. Not tainted 6.6.0-syzkaller-10135-g016b9332a334 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26368 pid:30360 tgid:30358 ppid:5103 flags:0x00004002 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 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa92/0x2a20 kernel/exit.c:876 do_group_exit+0xd4/0x2a0 kernel/exit.c:1026 get_signal+0x23ba/0x2790 kernel/signal.c:2900 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:0x7f5e2587cae9 RSP: 002b:00007f5e243fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: 0000000000121000 RBX: 00007f5e2599c050 RCX: 00007f5e2587cae9 RDX: 000000000208e24b RSI: 0000000020000140 RDI: 0000000000000007 RBP: 00007f5e258c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f5e2599c050 R15: 00007ffd7ee65818 Showing all locks held in the system: 1 lock held by khungtaskd/29: #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/4817: #0: ffff888029e820a0 (&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 4 locks held by syz-executor.3/5097: 3 locks held by kworker/0:4/22494: #0: ffff888013070d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90015f37d80 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffff88802bacd4f0 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x134/0x230 net/tls/tls_sw.c:2535 4 locks held by kworker/u4:5/25243: 1 lock held by syz-executor.0/30360: #0: ffff88802c442610 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff88802c442610 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x260 net/socket.c:658 5 locks held by syz-executor.4/1503: 4 locks held by syz-executor.4/1505: 3 locks held by syz-executor.4/1506: 1 lock held by syz-executor.4/1507: 4 locks held by syz-executor.0/1519: 1 lock held by syz-executor.3/1529: 3 locks held by syz-executor.3/1535: #0: ffff888047448848 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe7/0x170 fs/file.c:1177 #1: ffff88807fe30418 (sb_writers#4){.+.+}-{0:0}, at: ksys_write+0x12f/0x250 fs/read_write.c:637 #2: ffff88801b7bca00 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #2: ffff88801b7bca00 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x3c0 fs/ext4/file.c:294 2 locks held by syz-executor.5/1538: #0: ffff888018f65cb8 (&nft_net->commit_mutex){+.+.}-{3:3}, at: nf_tables_valid_genid+0x31/0xb0 net/netfilter/nf_tables_api.c:10488 #1: ffffffff8cfb8df8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8cfb8df8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x69e/0x7e0 kernel/rcu/tree_exp.h:996 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-syzkaller-10135-g016b9332a334 #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 30479 Comm: syz-executor.0 Not tainted 6.6.0-syzkaller-10135-g016b9332a334 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:__sanitizer_cov_trace_switch+0x54/0x90 kernel/kcov.c:340 Code: 41 bd 03 00 00 00 4c 8b 75 00 31 db 4d 85 f6 74 1e 48 8b 74 dd 10 4c 89 e2 4c 89 ef 48 83 c3 01 48 8b 4c 24 28 e8 2c fe ff ff <49> 39 de 75 e2 5b 5d 41 5c 41 5d 41 5e c3 48 83 f8 40 41 bd 07 00 RSP: 0018:ffffc9000325f298 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffffffff813a8ce5 RDX: ffff888024e83b80 RSI: 0000000000000003 RDI: 0000000000000001 RBP: ffffffff8ac9db60 R08: 0000000000000001 R09: 0000000000000003 R10: 0000000000000004 R11: dffffc0000000000 R12: 0000000000000004 R13: 0000000000000001 R14: 0000000000000008 R15: ffffc9000325f3d5 FS: 0000555555ec9480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efffcac56be CR3: 0000000046f4a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0x6b5/0x2390 arch/x86/kernel/unwind_orc.c:515 __unwind_start+0x5a4/0x880 arch/x86/kernel/unwind_orc.c:760 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xaf/0x170 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522 ____kasan_slab_free mm/kasan/common.c:236 [inline] ____kasan_slab_free+0x15b/0x1b0 mm/kasan/common.c:200 kasan_slab_free include/linux/kasan.h:164 [inline] slab_free_hook mm/slub.c:1800 [inline] slab_free_freelist_hook+0x114/0x1e0 mm/slub.c:1826 slab_free mm/slub.c:3809 [inline] kmem_cache_free+0xf0/0x470 mm/slub.c:3831 free_buffer_head+0x4e/0xf0 fs/buffer.c:3039 try_to_free_buffers+0x1c5/0x2d0 fs/buffer.c:2980 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:0x7f604a87c297 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:00007fff82250c18 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f604a87c297 RDX: 00007fff82250c40 RSI: 00007fff82250cd0 RDI: 00007fff82250cd0 RBP: 00007fff82250cd0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00007fff82251d90 R13: 00007f604a8c73b9 R14: 000000000020ae23 R15: 000000000000000e