INFO: task syz-executor.3:14350 blocked for more than 143 seconds. Not tainted 6.8.0-rc5-syzkaller-00278-g603c04e27c3e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27672 pid:14350 tgid:14311 ppid:6158 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x49a0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1ae/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:804 [inline] f2fs_file_write_iter+0x297/0x2340 fs/f2fs/file.c:4778 call_write_iter include/linux/fs.h:2087 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa81/0xcb0 fs/read_write.c:590 ksys_pwrite64 fs/read_write.c:705 [inline] __do_sys_pwrite64 fs/read_write.c:715 [inline] __se_sys_pwrite64 fs/read_write.c:712 [inline] __x64_sys_pwrite64+0x1aa/0x230 fs/read_write.c:712 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f99c027dda9 RSP: 002b:00007f99bf5bd0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007f99c03ac120 RCX: 00007f99c027dda9 RDX: 0000000000000001 RSI: 00000000200000c0 RDI: 0000000000000006 RBP: 00007f99c02ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f99c03ac120 R15: 00007ffc258ab918 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e130c60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130c60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130c60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 4 locks held by kworker/u4:5/72: #0: ffff8880192a1938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff8880192a1938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc900015b7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc900015b7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #2: ffff888023cdc0e0 (&type->s_umount_key#58){++++}-{3:3}, at: super_trylock_shared+0x22/0xf0 fs/super.c:566 #3: ffff8880899c52a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2138 [inline] #3: ffff8880899c52a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x500/0x730 fs/f2fs/segment.c:437 2 locks held by getty/4813: #0: ffff88802b32c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000311b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by kworker/0:4/5144: #0: ffff888014c8e538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888014c8e538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc9000475fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc9000475fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 2 locks held by kworker/u4:16/5422: #0: ffff8880b943c918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 #1: ffffc90008f37d20 ((work_completion)(&(&bat_priv->tt.work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc90008f37d20 ((work_completion)(&(&bat_priv->tt.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 7 locks held by syz-executor.3/14349: 2 locks held by syz-executor.3/14350: #0: ffff888023cdc420 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2794 [inline] #0: ffff888023cdc420 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x233/0xcb0 fs/read_write.c:586 #1: ffff88808bde6298 (&sb->s_type->i_mutex_key#24){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline] #1: ffff88808bde6298 (&sb->s_type->i_mutex_key#24){+.+.}-{3:3}, at: f2fs_file_write_iter+0x297/0x2340 fs/f2fs/file.c:4778 1 lock held by syz-executor.1/16331: 1 lock held by syz-executor.4/16335: 2 locks held by syz-executor.2/16337: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc5-syzkaller-00278-g603c04e27c3e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 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+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16331 Comm: syz-executor.1 Not tainted 6.8.0-rc5-syzkaller-00278-g603c04e27c3e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:mark_lock+0xa2/0x350 kernel/locking/lockdep.c:4656 Code: 00 8b 1b 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 20 64 c5 92 be 08 00 00 00 e8 16 bd 80 00 48 0f a3 1d de db 53 11 <73> 10 48 69 c3 c8 00 00 00 48 8d 98 20 c3 93 92 eb 68 48 c7 c0 c0 RSP: 0018:ffffc900001f0688 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 000000000000037c RCX: ffffffff8171883a RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92c56488 RBP: 0000000000000008 R08: ffffffff92c5648f R09: 1ffffffff258ac91 R10: dffffc0000000000 R11: fffffbfff258ac92 R12: 0000000000000001 R13: dffffc0000000000 R14: 0000000000000100 R15: ffff88802bc4c690 FS: 00007faf663dc6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fef69dad988 CR3: 000000002c62e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4599 [inline] __lock_acquire+0xc09/0x1fd0 kernel/locking/lockdep.c:5091 lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754 local_lock_acquire include/linux/local_lock_internal.h:29 [inline] kcov_remote_stop+0x88/0x6e0 kernel/kcov.c:995 ieee80211_rx_list+0x2c6d/0x36f0 net/mac80211/rx.c:5413 ieee80211_rx_napi+0x18a/0x3c0 net/mac80211/rx.c:5433 ieee80211_rx include/net/mac80211.h:4983 [inline] ieee80211_tasklet_handler+0xeb/0x1f0 net/mac80211/main.c:318 tasklet_action_common+0x321/0x4d0 kernel/softirq.c:780 __do_softirq+0x2bb/0x942 kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu+0xf1/0x1c0 kernel/softirq.c:632 irq_exit_rcu+0x9/0x30 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x97/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1975 [inline] RIP: 0010:vprintk_emit+0x4e6/0x720 kernel/printk/printk.c:2302 Code: 21 e3 0f 85 aa 01 00 00 e8 77 9e 1e 00 44 8b 24 24 4d 85 ff 75 07 e8 69 9e 1e 00 eb 06 e8 62 9e 1e 00 fb 48 c7 c7 00 c8 00 8e <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 41 56 e8 61 RSP: 0018:ffffc900047e7620 EFLAGS: 00000246 RAX: ffffffff8174cdee RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000a2a3000 RSI: 000000000003ffff RDI: ffffffff8e00c800 RBP: ffffc900047e7710 R08: ffffffff8174cdcb R09: 1ffffffff258aca9 R10: dffffc0000000000 R11: fffffbfff258acaa R12: 000000000000003b R13: dffffc0000000000 R14: ffffffff8174cc4d R15: 0000000000000200 _printk+0xd5/0x120 kernel/printk/printk.c:2328 f2fs_printk+0x36f/0x440 fs/f2fs/super.c:277 f2fs_fill_super+0x7df4/0x8050 fs/f2fs/super.c:4794 mount_bdev+0x20a/0x2d0 fs/super.c:1663 legacy_get_tree+0xee/0x190 fs/fs_context.c:662 vfs_get_tree+0x90/0x2a0 fs/super.c:1784 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7faf6567f4aa Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 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:00007faf663dbef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007faf663dbf80 RCX: 00007faf6567f4aa RDX: 0000000020000000 RSI: 0000000020000080 RDI: 00007faf663dbf40 RBP: 0000000020000000 R08: 00007faf663dbf80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000080 R13: 00007faf663dbf40 R14: 00000000000054f6 R15: 0000000020000240