INFO: task syz.0.17:4438 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.17 state:D
stack:28320 pid:4438 ppid:4371 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x10ec/0x40b0 kernel/sched/core.c:6561
schedule+0xb9/0x180 kernel/sched/core.c:6637
rwsem_down_write_slowpath+0xbed/0x1090 kernel/locking/rwsem.c:1189
inode_lock include/linux/fs.h:758 [inline]
open_last_lookups fs/namei.c:3547 [inline]
path_openat+0x7c2/0x2e70 fs/namei.c:3780
do_filp_open+0x1c1/0x3c0 fs/namei.c:3810
do_sys_openat2+0x142/0x490 fs/open.c:1318
do_sys_open fs/open.c:1334 [inline]
__do_sys_creat fs/open.c:1412 [inline]
__se_sys_creat fs/open.c:1406 [inline]
__x64_sys_creat+0x8c/0xb0 fs/open.c:1406
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f248118eec9
RSP: 002b:00007f24807fe038 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f24813e6090 RCX: 00007f248118eec9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00002000000002c0
RBP: 00007f2481211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f24813e6128 R14: 00007f24813e6090 R15: 00007ffcf8b18158
</TASK>
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8cb2b570 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8cb2bd90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517
2 locks held by kworker/0:1/14:
#0:
ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#1: ffffc90000137d00 (
(work_completion)(&rew->rew_work)
){+.+.}-{0:0}
, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
1 lock held by khungtaskd/27:
#0: ffffffff8cb2abe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
#0: ffffffff8cb2abe0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
#0: ffffffff8cb2abe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6513
4 locks held by kworker/u4:3/51:
#0:
ffff888017479138
(
(wq_completion)events_unbound
){+.+.}-{0:0}
, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#1:
ffffc90000bc7d00
(
(linkwatch_work).work
){+.+.}-{0:0}
, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#2:
ffffffff8dd42428
(rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263
#3: ffffffff8cb308b8
(
rcu_state.exp_mutex
){+.+.}-{3:3}
, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline]
, at: synchronize_rcu_expedited+0x455/0x830 kernel/rcu/tree_exp.h:962
3 locks held by kworker/0:2/126:
#0: ffff88802ee1bd38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#1:
ffffc90002d57d00
(
(work_completion)(&(&ifa->dad_work)->work)
){+.+.}-{0:0}
, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#2: ffffffff8dd42428 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xc4/0x14d0 net/ipv6/addrconf.c:4131
2 locks held by getty/4028:
#0:
ffff88807dc50098
(&tty->ldisc_sem){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1:
ffffc9000327b2f0
(
&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41b/0x1380 drivers/tty/n_tty.c:2198
3 locks held by kworker/1:5/4416:
#0:
ffff88802ee1bd38
(
(wq_completion)ipv6_addrconf
){+.+.}-{0:0}
, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#1:
ffffc90003287d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267
#2: ffffffff8dd42428 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xc4/0x14d0 net/ipv6/addrconf.c:4131
1 lock held by syz.0.17/4437:
1 lock held by syz.0.17/4438:
#0: ffff8880697c0198 (&type->i_mutex_dir_key#8
){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
){++++}-{3:3}, at: open_last_lookups fs/namei.c:3547 [inline]
){++++}-{3:3}, at: path_openat+0x7c2/0x2e70 fs/namei.c:3780
1 lock held by syz.1.18/4467:
1 lock held by syz.1.18/4468:
#0: ffff88805a8b8198 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
#0: ffff88805a8b8198 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3547 [inline]
#0: ffff88805a8b8198 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x7c2/0x2e70 fs/namei.c:3780
1 lock held by syz.2.19/4493:
1 lock held by syz.2.19/4494:
#0: ffff8880697c0c48 (&type->i_mutex_dir_key#8){++++}-{3:3}
, at: inode_lock include/linux/fs.h:758 [inline]
, at: open_last_lookups fs/namei.c:3547 [inline]
, at: path_openat+0x7c2/0x2e70 fs/namei.c:3780
1 lock held by syz.3.20/4516:
1 lock held by syz.3.20/4517:
#0:
ffff8880697c16f8
(
&type->i_mutex_dir_key
#8
){++++}-{3:3}
, at: inode_lock include/linux/fs.h:758 [inline]
, at: open_last_lookups fs/namei.c:3547 [inline]
, at: path_openat+0x7c2/0x2e70 fs/namei.c:3780
1 lock held by syz.4.21/4551:
1 lock held by syz.4.21/4552:
#0: ffff88805a8b8c48 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
#0: ffff88805a8b8c48 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3547 [inline]
#0: ffff88805a8b8c48 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x7c2/0x2e70 fs/namei.c:3780
1 lock held by syz.5.22/4582:
1 lock held by syz.5.22/4583:
#0: ffff8880697c21a8 (&type->i_mutex_dir_key#8
){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
){++++}-{3:3}, at: open_last_lookups fs/namei.c:3547 [inline]
){++++}-{3:3}, at: path_openat+0x7c2/0x2e70 fs/namei.c:3780
3 locks held by syz-executor/4585:
#0: ffffffff8dda2230 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:860
#1: ffffffff8dda2048 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8dda2048 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x103/0x780 net/netlink/genetlink.c:848
#2: ffffffff8dd42428
(rtnl_mutex){+.+.}-{3:3}, at: ieee80211_register_hw+0x285c/0x39e0 net/mac80211/main.c:1335
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
Call Trace:
<TASK>
dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106
nmi_cpu_backtrace+0x3f4/0x470 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1d4/0x450 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+0xeee/0xf30 kernel/hung_task.c:377
kthread+0x29d/0x330 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
</TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4551 Comm: syz.4.21 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:io_serial_in+0x73/0xb0 drivers/tty/serial/8250/8250_port.c:461
Code: e8 12 97 09 fd 44 89 f9 d3 e3 49 83 c6 40 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 33 b8 59 fd 41 03 1e 89 da ec <0f> b6 c0 5b 41 5c 41 5e 41 5f c3 44 89 f9 80 e1 07 38 c1 7c aa 4c
RSP: 0018:ffffc900038a6bf8 EFLAGS: 00000002
RAX: 1ffffffff2dee060 RBX: 00000000000003fd RCX: 0000000000000000
RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000020
RBP: ffffc900038a6df0 R08: dffffc0000000000 R09: ffffed10047ec047
R10: ffffed10047ec047 R11: 1ffff110047ec046 R12: dffffc0000000000
R13: 0000000000000000 R14: ffffffff96f704c0 R15: 0000000000000000
FS: 00007f24a01fe6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4a4476ae9c CR3: 000000002eb85000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
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:2101 [inline]
fifo_wait_for_lsr drivers/tty/serial/8250/8250_port.c:3366 [inline]
serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3388 [inline]
serial8250_console_write+0xe66/0x17a0 drivers/tty/serial/8250/8250_port.c:3473
call_console_driver kernel/printk/printk.c:1977 [inline]
console_emit_next_record+0x947/0xc90 kernel/printk/printk.c:2777
console_flush_all kernel/printk/printk.c:-1 [inline]
console_unlock+0x223/0x630 kernel/printk/printk.c:2906
vprintk_emit+0x489/0x680 kernel/printk/printk.c:2303
_printk+0xcc/0x110 kernel/printk/printk.c:2328
_erofs_err+0x11f/0x170 fs/erofs/super.c:35
z_erofs_pcluster_readmore+0x367/0x4f0 fs/erofs/zdata.c:1658
z_erofs_read_folio+0x23b/0x5b0 fs/erofs/zdata.c:1681
filemap_read_folio+0x160/0x760 mm/filemap.c:2490
do_read_cache_folio+0x2a0/0x760 mm/filemap.c:3627
erofs_bread+0x18e/0x670 fs/erofs/data.c:50
erofs_find_target_block fs/erofs/namei.c:102 [inline]
erofs_namei+0x28f/0xf00 fs/erofs/namei.c:175
erofs_lookup+0x14b/0x390 fs/erofs/namei.c:204
lookup_open fs/namei.c:3460 [inline]
open_last_lookups fs/namei.c:3550 [inline]
path_openat+0xfaf/0x2e70 fs/namei.c:3780
do_filp_open+0x1c1/0x3c0 fs/namei.c:3810
do_sys_openat2+0x142/0x490 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+0x135/0x160 fs/open.c:1345
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f24a0b8eec9
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:00007f24a01fe038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f24a0de5fa0 RCX: 00007f24a0b8eec9
RDX: 0000000000000000 RSI: 0000200000000080 RDI: ffffffffffffff9c
RBP: 00007f24a0c11f91 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000000d5 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f24a0de6038 R14: 00007f24a0de5fa0 R15: 00007ffca065a508
</TASK>