INFO: task syz.1.8160:4418 blocked in I/O wait for more than 143 seconds.
Tainted: G L syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.8160 state:D stack:24776 pid:4418 tgid:4
task:syz.1.8160 state:D stack:24776 pid:4418 tgid:4418 ppid:27114 task_flags:0x400040 flags:0x00080002
Call Trace:
context_switch kernel/sched/core.c:5533 [inline]
__schedule+0x1259/0x6920 kernel/sched/core.c:7284
__schedule_loop kernel/sched/core.c:7361 [inline]
schedule+0xdd/0x2c0 kernel/sched/core.c:7376
io_schedule+0x8a/0xf0 kernel/sched/core.c:8220
folio_wait_bit_common+0x414/0xa80 mm/filemap.c:1329
folio_wait_writeback+0x92/0x130 mm/page-writeback.c:3062
__filemap_fdatawait_range+0x145/0x230 mm/filemap.c:532
filemap_write_and_wait_range mm/filemap.c:692 [inline]
filemap_write_and_wait_range+0xee/0x130 mm/filemap.c:675
filemap_write_and_wait include/linux/pagemap.h:65 [inline]
sync_blockdev block/bdev.c:275 [inline]
sync_blockdev block/bdev.c:271 [inline]
bdev_release+0x4d3/0x6d0 block/bdev.c:1171
blkdev_release+0x15/0x20 block/fops.c:687
__fput+0x3ff/0xb50 fs/file_table.c:512
task_work_run+0x150/0x240 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:70 [inline]
exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline]
do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fad2499e159
RSP: 002b:00007fff1a334068 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fad24c27da0 RCX: 00007fad2499e159
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fad24c27da0 R08: 0000000000000006 R09: 0000000000000000
R10: 00007fad24c27cb0 R11: 0000000000000246 R12: 000000000031da0e
R13: 00007fad24c2618c R14: 000000000031d93f R15: 00007fad24c26180
Showing all locks held in the system:
locks held by khungtaskd/32: 1, last CPU#1:
#0: ffffffff8edec5a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#0: ffffffff8edec5a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8edec5a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x3d/0x184 kernel/locking/lockdep.c:6871
locks held by getty/5363: 2, on CPU#1:
#0: ffff8880379bb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900032262e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x419/0x14e0 drivers/tty/n_tty.c:2211
locks held by kworker/u8:3/15158: 2, last CPU#1:
#0: ffff88801c094140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1466/0x1b10 kernel/workqueue.c:3371
#1: ffffc90007317d08 ((work_completion)(&(&kfence_timer)->work)){+.+.}-{0:0}, at: process_one_work+0xa2c/0x1b10 kernel/workqueue.c:3372
locks held by kworker/u8:12/17563: 2, on CPU#1:
#0: ffff88801c094140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1466/0x1b10 kernel/workqueue.c:3371
#1: ffffc9000484fd08 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0xa2c/0x1b10 kernel/workqueue.c:3372
locks held by kworker/u8:18/19495: 7, last CPU#0:
#0: ffff88801d2e0940 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x1466/0x1b10 kernel/workqueue.c:3371
#1: ffffc900043dfd08 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xa2c/0x1b10 kernel/workqueue.c:3372
#2: ffffffff90cbc188 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xb8/0x920 net/core/net_namespace.c:677
#3: ffff888089143128 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1104 [inline]
#3: ffff888089143128 (&dev->mutex){....}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:124 [inline]
#3: ffff888089143128 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x19e/0x370 net/devlink/core.c:575
#4: ffff88805ead5258 (&devlink->lock_key#14){+.+.}-{4:4}, at: devl_lock net/devlink/core.c:308 [inline]
#4: ffff88805ead5258 (&devlink->lock_key#14){+.+.}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:125 [inline]
#4: ffff88805ead5258 (&devlink->lock_key#14){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x1b4/0x370 net/devlink/core.c:575
#5: ffffffff90cd4cc0 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x1a6/0x970 drivers/net/netdevsim/netdev.c:1193
#6: ffff888069904e70 (&dev_instance_lock_key#23){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2864 [inline]
#6: ffff888069904e70 (&dev_instance_lock_key#23){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0x47f/0x2150 net/core/dev.c:12520
locks held by kworker/0:0/22975: 4, on CPU#0:
#0: ffff88801c05b140 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1466/0x1b10 kernel/workqueue.c:3371
#1: ffffc9000cf27d08 ((work_completion)(&uhid->worker)){+.+.}-{0:0}, at: process_one_work+0xa2c/0x1b10 kernel/workqueue.c:3372
#2: ffff88802ce8da58 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1104 [inline]
#2: ffff88802ce8da58 (&dev->mutex){....}-{4:4}, at: __device_attach+0x7e/0x4d0 drivers/base/dd.c:1073
#3: ffff8880509f4ed8 (&ctlr->output_mutex){+.+.}-{4:4}, at: joycon_init+0xc0/0x490 drivers/hid/hid-nintendo.c:2523
locks held by syz-executor/27926: 1, last CPU#1:
#0: ffff88801cb8e460 (sb_writers#6){.+.+}-{0:0}, at: filename_unlinkat+0x1ad/0x730 fs/namei.c:5696
locks held by kworker/u8:2/29351: 3, on CPU#0:
#0: ffff88801c094140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1466/0x1b10 kernel/workqueue.c:3371
#1: ffffc900049d7d08 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0xa2c/0x1b10 kernel/workqueue.c:3372
#2: ffffffff90cd4cc0 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:313
locks held by kworker/u8:0/2819: 2, on CPU#1:
#0: ffff88801c094140 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1466/0x1b10 kernel/workqueue.c:3371
#1: ffffc9000629fd08 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0xa2c/0x1b10 kernel/workqueue.c:3372
locks held by syz.3.8519/5865: 1, on CPU#1:
#0: ffff8880270d8430 (&lo->lo_mutex){+.+.}-{4:4}, at: loop_global_lock_killable+0x30/0xb0 drivers/block/loop.c:119
locks held by syz-executor/6128: 1, on CPU#1:
#0: ffffffff90cd4cc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:134 [inline]
#0: ffffffff90cd4cc0 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x31c/0x18c0 net/ipv4/devinet.c:978
locks held by modprobe/6151: 2, last CPU#1:
#0: ffff88807e1f0340 (&mm->mmap_lock){++++}-{4:4}, at: mmap_read_lock include/linux/mmap_lock.h:600 [inline]
#0: ffff88807e1f0340 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x124/0xa00 mm/mmap.c:1299
#1: ffffffff8edec5a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#1: ffffffff8edec5a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffffff8edec5a0 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x2f/0x310 mm/pgtable-generic.c:290
locks held by fido_id/6154: 1, last CPU#1:
#0: ffff88807e1f4080 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock include/linux/mmap_lock.h:544 [inline]
#0: ffff88807e1f4080 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x22c/0xa00 mm/mmap.c:1323
locks held by syz.6.8563/6155: 1, last CPU#1:
#0: ffffffff8ee52250 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: copy_process+0x5315/0x8380 kernel/fork.c:2416
locks held by kworker/u8:0/6157: 2, last CPU#1:
#0: ffff8880289ab160 (&sig->cred_guard_mutex){+.+.}-{4:4}, at: prepare_bprm_creds fs/exec.c:1424 [inline]
#0: ffff8880289ab160 (&sig->cred_guard_mutex){+.+.}-{4:4}, at: bprm_execve+0xa3/0x1940 fs/exec.c:1847
#1: ffffffff8f90b238 (tomoyo_ss){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:198 [inline]
#1: ffffffff8f90b238 (tomoyo_ss){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:305 [inline]
#1: ffffffff8f90b238 (tomoyo_ss){.+.+}-{0:0}, at: tomoyo_read_lock security/tomoyo/common.h:1112 [inline]
#1: ffffffff8f90b238 (tomoyo_ss){.+.+}-{0:0}, at: tomoyo_bprm_check_security security/tomoyo/tomoyo.c:101 [inline]
#1: ffffffff8f90b238 (tomoyo_ss){.+.+}-{0:0}, at: tomoyo_bprm_check_security+0x11f/0x1d0 security/tomoyo/tomoyo.c:92
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 32 Comm: khungtaskd Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
nmi_cpu_backtrace.cold+0x12d/0x151 lib/nmi_backtrace.c:123
nmi_trigger_cpumask_backtrace+0x21f/0x2a0 lib/nmi_backtrace.c:66
trigger_all_cpu_backtrace include/linux/nmi.h:164 [inline]
__sys_info lib/sys_info.c:157 [inline]
sys_info+0x141/0x190 lib/sys_info.c:165
check_hung_uninterruptible_tasks kernel/hung_task.c:353 [inline]
watchdog+0xcb1/0x1030 kernel/hung_task.c:561
kthread+0x373/0x450 kernel/kthread.c:436
ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 16 Comm: pr/ttyS0 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2026
RIP: 0010:touch_softlockup_watchdog+0x1c/0x30 kernel/watchdog.c:712
Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa e8 37 d2 ff ff 65 8b 3d 98 a8 80 12 65 48 c7 05 a4 3b 81 12 ff ff ff ff df a7 c5 ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90
RSP: 0018:ffffc90000157970 EFLAGS: 00000093
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001
RDX: ffff88801eed8000 RSI: ffffffff820c7799 RDI: 0000000000000000
RBP: ffffffff9bc76f60 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000821 R11: 205d323354202020 R12: 0000000000000821
R13: 0000000000000020 R14: fffffbfff378ee49 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff888123b4e000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f98547aedc0 CR3: 000000007ffbc000 CR4: 00000000003526f0
Call Trace:
touch_nmi_watchdog include/linux/nmi.h:151 [inline]
wait_for_lsr+0xfd/0x210 drivers/tty/serial/8250/8250_port.c:2020
serial8250_fifo_wait_for_lsr_thre+0x5f/0xd0 drivers/tty/serial/8250/8250_port.c:3270
__serial8250_console_fifo_write+0x23c/0x290 drivers/tty/serial/8250/8250_port.c:3372
serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3378 [inline]
__serial8250_console_write drivers/tty/serial/8250/8250_port.c:3429 [inline]
serial8250_console_write+0xf46/0x1330 drivers/tty/serial/8250/8250_port.c:3493
nbcon_emit_next_record+0x8f7/0xa70 kernel/printk/nbcon.c:1070
nbcon_emit_one+0x1a8/0x2b0 kernel/printk/nbcon.c:1157
nbcon_kthread_func+0x613/0x7d0 kernel/printk/nbcon.c:1271
kthread+0x373/0x450 kernel/kthread.c:436
ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245