INFO: task syz.3.1941:15276 blocked for more than 143 seconds.
Not tainted 6.1.103-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.1941 state:D stack:25752 pid:15276 ppid:9760 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5241 [inline]
__schedule+0x143f/0x4570 kernel/sched/core.c:6558
schedule+0xbf/0x180 kernel/sched/core.c:6634
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
rwsem_down_read_slowpath kernel/locking/rwsem.c:1094 [inline]
__down_read_common kernel/locking/rwsem.c:1261 [inline]
__down_read kernel/locking/rwsem.c:1274 [inline]
down_read+0x6ff/0xa30 kernel/locking/rwsem.c:1522
inode_lock_shared include/linux/fs.h:768 [inline]
lookup_slow+0x45/0x70 fs/namei.c:1706
walk_component+0x2d0/0x400 fs/namei.c:1998
lookup_last fs/namei.c:2455 [inline]
path_lookupat+0x16f/0x450 fs/namei.c:2479
filename_lookup+0x251/0x600 fs/namei.c:2508
user_path_at_empty+0x3e/0x60 fs/namei.c:2907
user_path_at include/linux/namei.h:57 [inline]
do_mount fs/namespace.c:3391 [inline]
__do_sys_mount fs/namespace.c:3602 [inline]
__se_sys_mount+0x296/0x3c0 fs/namespace.c:3579
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f0fa9d779f9
RSP: 002b:00007f0faaad7038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f0fa9f06208 RCX: 00007f0fa9d779f9
RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000020000000
RBP: 00007f0fa9de58ee R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000010001 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f0fa9f06208 R15: 00007fff912366c8
INFO: task syz.3.1941:15295 blocked for more than 144 seconds.
Not tainted 6.1.103-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.1941 state:D stack:28552 pid:15295 ppid:9760 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5241 [inline]
__schedule+0x143f/0x4570 kernel/sched/core.c:6558
schedule+0xbf/0x180 kernel/sched/core.c:6634
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
rwsem_down_read_slowpath kernel/locking/rwsem.c:1094 [inline]
__down_read_common kernel/locking/rwsem.c:1261 [inline]
__down_read kernel/locking/rwsem.c:1274 [inline]
down_read+0x6ff/0xa30 kernel/locking/rwsem.c:1522
inode_lock_shared include/linux/fs.h:768 [inline]
lookup_slow+0x45/0x70 fs/namei.c:1706
walk_component fs/namei.c:1998 [inline]
link_path_walk+0x9d6/0xee0 fs/namei.c:2325
path_lookupat+0xa9/0x450 fs/namei.c:2478
filename_lookup+0x251/0x600 fs/namei.c:2508
user_path_at_empty+0x3e/0x60 fs/namei.c:2907
user_path_at include/linux/namei.h:57 [inline]
do_mount fs/namespace.c:3391 [inline]
__do_sys_mount fs/namespace.c:3602 [inline]
__se_sys_mount+0x296/0x3c0 fs/namespace.c:3579
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f0fa9d779f9
RSP: 002b:00007f0faaab6038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f0fa9f062e0 RCX: 00007f0fa9d779f9
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000020000440
RBP: 00007f0fa9de58ee R08: 0000000000000000 R09: 0000000000000000
R10: 00000000008b101a R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f0fa9f062e0 R15: 00007fff912366c8
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d32b190 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d32b990 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516
1 lock held by khungtaskd/28:
#0:
ffffffff8d32afc0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
ffffffff8d32afc0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
ffffffff8d32afc0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494
2 locks held by getty/3394:
#0: ffff888029b10098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198
4 locks held by syz.3.1941/15270:
1 lock held by syz.3.1941/15276:
#0:
ffff888059f00198
(
&type->i_mutex_dir_key
#14
){++++}-{3:3}
, at: inode_lock_shared include/linux/fs.h:768 [inline]
, at: lookup_slow+0x45/0x70 fs/namei.c:1706
1 lock held by syz.3.1941/15295:
#0: ffff888059f00198 (&type->i_mutex_dir_key#14){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline]
#0: ffff888059f00198 (&type->i_mutex_dir_key#14){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1706
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.103-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xf88/0xfd0 kernel/hung_task.c:377
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 15270 Comm: syz.3.1941 Not tainted 6.1.103-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:io_serial_in+0x72/0xb0 drivers/tty/serial/8250/8250_port.c:461
Code: 44 76 d8 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 45 f2 2f fd 44 03 33 44 89 f2 ec <0f> b6 c0 5b 41 5e 41 5f 5d c3 89 e9 80 e1 07 38 c1 7c ad 48 89 ef
RSP: 0018:ffffc900038be9f8 EFLAGS: 00000002
RAX: 1ffffffff2457400 RBX: ffffffff922ba580 RCX: 0000000000000000
RDX: 00000000000003fd RSI: 000000000003ffff RDI: 0000000000040000
RBP: 0000000000000000 R08: ffffffff84b22a52 R09: ffffed1003eb2047
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff91f73e30
R13: 00000000000026fd R14: 00000000000003fd R15: dffffc0000000000
FS: 00007f0faaaf86c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f02ae2d2ab8 CR3: 0000000048d64000 CR4: 00000000003506e0
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:2100 [inline]
serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3367 [inline]
serial8250_console_write+0x1057/0x1750 drivers/tty/serial/8250/8250_port.c:3445
call_console_driver kernel/printk/printk.c:1977 [inline]
console_emit_next_record+0xbb4/0x1000 kernel/printk/printk.c:2777
console_unlock+0x278/0x7c0 kernel/printk/printk.c:2906
vprintk_emit+0x523/0x740 kernel/printk/printk.c:2303
_printk+0xd1/0x111 kernel/printk/printk.c:2328
_erofs_err+0x137/0x180 fs/erofs/super.c:35
z_erofs_pcluster_readmore+0x300/0x450 fs/erofs/zdata.c:1676
z_erofs_read_folio+0x30c/0x760 fs/erofs/zdata.c:1701
filemap_read_folio+0x199/0x780 mm/filemap.c:2461
do_read_cache_folio+0x2ee/0x810 mm/filemap.c:3598
erofs_bread+0x149/0x610 fs/erofs/data.c:46
find_target_block_classic fs/erofs/namei.c:108 [inline]
erofs_namei+0x1ad/0xca0 fs/erofs/namei.c:184
erofs_lookup+0x1d6/0x4d0 fs/erofs/namei.c:212
lookup_open fs/namei.c:3462 [inline]
open_last_lookups fs/namei.c:3552 [inline]
path_openat+0x10fb/0x2e60 fs/namei.c:3782
do_filp_open+0x230/0x480 fs/namei.c:3812
do_sys_openat2+0x13b/0x4f0 fs/open.c:1318
do_sys_open fs/open.c:1334 [inline]
__do_sys_openat fs/open.c:1350 [inline]
__se_sys_openat fs/open.c:1345 [inline]
__x64_sys_openat+0x243/0x290 fs/open.c:1345
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f0fa9d779f9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0faaaf8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f0fa9f06130 RCX: 00007f0fa9d779f9
RDX: 000000000000275a RSI: 0000000020001280 RDI: 0000000000000008
RBP: 00007f0fa9de58ee R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f0fa9f06130 R15: 00007fff912366c8