INFO: task syz-executor.2:6726 blocked for more than 143 seconds. Not tainted 6.8.0-rc6-syzkaller-00120-g87adedeba51a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29136 pid:6726 tgid:6697 ppid:5099 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_fallocate+0x344/0x6b0 fs/f2fs/file.c:1816 vfs_fallocate+0x564/0x6c0 fs/open.c:328 ksys_fallocate fs/open.c:351 [inline] __do_sys_fallocate fs/open.c:359 [inline] __se_sys_fallocate fs/open.c:357 [inline] __x64_sys_fallocate+0xbd/0x110 fs/open.c:357 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f87b127dda9 RSP: 002b:00007f87b1fdb0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f87b13ac120 RCX: 00007f87b127dda9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f87b12ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 00000000001000f4 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f87b13ac120 R15: 00007fff9c09ac78 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4812: #0: ffff88802f2910a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.0/5090: 1 lock held by syz-executor.4/5089: #0: ffff8880835a00e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880835a00e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880835a00e0 (&type->s_umount_key#57){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:504 4 locks held by kworker/u4:0/13654: 4 locks held by kworker/u4:10/24587: #0: ffff888018acdd38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888018acdd38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc900134d7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc900134d7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #2: ffff88802dd420e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_trylock_shared+0x22/0xf0 fs/super.c:561 #3: ffff8880325b12a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2138 [inline] #3: ffff8880325b12a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x500/0x730 fs/f2fs/segment.c:437 3 locks held by kworker/u4:12/24589: 5 locks held by syz-executor.2/6722: 2 locks held by syz-executor.2/6726: #0: ffff88802dd42420 (sb_writers#18){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2794 [inline] #0: ffff88802dd42420 (sb_writers#18){.+.+}-{0:0}, at: vfs_fallocate+0x4d3/0x6c0 fs/open.c:327 #1: ffff8880720fad88 (&sb->s_type->i_mutex_key#24){++++}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline] #1: ffff8880720fad88 (&sb->s_type->i_mutex_key#24){++++}-{3:3}, at: f2fs_fallocate+0x344/0x6b0 fs/f2fs/file.c:1816 2 locks held by udevd/6943: #0: ffff8880b943c918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 #1: ffff8880b9428988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 4 locks held by syz-executor.2/6990: 2 locks held by kworker/0:3/7074: #0: ffff888014c7a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888014c7a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc90003fbfd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc90003fbfd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 5 locks held by syz-executor.3/8097: 2 locks held by syz-executor.1/8101: 2 locks held by dhcpcd/8106: #0: ffff88807f0e6130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1691 [inline] #0: ffff88807f0e6130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcb0 net/packet/af_packet.c:3202 #1: ffffffff8e136578 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #1: ffffffff8e136578 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:995 2 locks held by syz-executor.0/8114: 2 locks held by dhcpcd/8112: #0: ffff88803bad4130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1691 [inline] #0: ffff88803bad4130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcb0 net/packet/af_packet.c:3202 #1: ffffffff8e136578 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #1: ffffffff8e136578 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:995 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc6-syzkaller-00120-g87adedeba51a #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:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8101 Comm: syz-executor.1 Not tainted 6.8.0-rc6-syzkaller-00120-g87adedeba51a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:io_serial_in+0x76/0xb0 drivers/tty/serial/8250/8250_port.c:410 Code: 70 5c 70 fc 89 e9 41 d3 e6 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 71 2c cf fc 44 03 33 44 89 f2 ec <0f> b6 c0 5b 41 5e 41 5f 5d c3 cc cc cc cc 89 e9 80 e1 07 38 c1 7c RSP: 0018:ffffc90015cd6ab8 EFLAGS: 00000002 RAX: 1ffffffff28efa00 RBX: ffffffff9477d720 RCX: 0000000000000000 RDX: 00000000000003fd RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000000 R08: ffffffff85230fd6 R09: 1ffff11003e96046 R10: dffffc0000000000 R11: ffffffff85230f90 R12: dffffc0000000000 R13: 00000000000026e6 R14: 00000000000003fd R15: dffffc0000000000 FS: 00007f2bd11556c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a7e090a600 CR3: 00000000224fc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_in drivers/tty/serial/8250/8250.h:117 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:139 [inline] wait_for_lsr drivers/tty/serial/8250/8250_port.c:2081 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3366 [inline] serial8250_console_write+0x110d/0x1840 drivers/tty/serial/8250/8250_port.c:3444 console_emit_next_record kernel/printk/printk.c:2901 [inline] console_flush_all+0x808/0xec0 kernel/printk/printk.c:2967 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3036 vprintk_emit+0x508/0x720 kernel/printk/printk.c:2303 _printk+0xd5/0x120 kernel/printk/printk.c:2328 set_capacity_and_notify+0x220/0x2c0 block/genhd.c:86 loop_set_size+0x44/0xb0 drivers/block/loop.c:235 loop_configure+0xd08/0x1250 drivers/block/loop.c:1096 lo_ioctl+0x8f5/0x2080 blkdev_ioctl+0x5e5/0x740 block/ioctl.c:634 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:857 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f2bd047db0b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007f2bd1154e50 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f2bd047db0b RDX: 0000000000000003 RSI: 0000000000004c00 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000054f0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 00007f2bd1154f80 R14: 00007f2bd1154f40 R15: 00007f2bc6a00000