INFO: task syz.5.682:10091 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.682 state:D stack:24896 pid:10091 tgid:10090 ppid:8991 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5295 [inline] __schedule+0x14fb/0x52c0 kernel/sched/core.c:6907 __schedule_loop kernel/sched/core.c:6989 [inline] schedule+0x164/0x360 kernel/sched/core.c:7004 xlog_wait fs/xfs/xfs_log_priv.h:604 [inline] xlog_wait_on_iclog+0x487/0x710 fs/xfs/xfs_log.c:791 xlog_force_lsn+0x511/0x9b0 fs/xfs/xfs_log.c:2949 xfs_log_force_seq+0x1c9/0x440 fs/xfs/xfs_log.c:2986 __xfs_trans_commit+0x7d3/0xc20 fs/xfs/xfs_trans.c:877 xfs_trans_commit+0x13e/0x1c0 fs/xfs/xfs_trans.c:926 xfs_sync_sb_buf+0x13f/0x230 fs/xfs/libxfs/xfs_sb.c:1490 xfs_ioc_setlabel+0x1de/0x340 fs/xfs/xfs_ioctl.c:1041 xfs_file_ioctl+0x9c5/0x1710 fs/xfs/xfs_ioctl.c:1198 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xff/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4a4f44c799 RSP: 002b:00007f4a4d6a6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4a4f6c5fa0 RCX: 00007f4a4f44c799 RDX: 0000200000000180 RSI: 0000000041009432 RDI: 0000000000000004 RBP: 00007f4a4f4e2bd9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4a4f6c6038 R14: 00007f4a4f6c5fa0 R15: 00007fff4de425f8 INFO: task syz.5.682:10144 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.682 state:D stack:22312 pid:10144 tgid:10090 ppid:8991 task_flags:0x440040 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5295 [inline] __schedule+0x14fb/0x52c0 kernel/sched/core.c:6907 __schedule_loop kernel/sched/core.c:6989 [inline] schedule+0x164/0x360 kernel/sched/core.c:7004 schedule_timeout+0xc3/0x2c0 kernel/time/sleep_timeout.c:75 ___down_common kernel/locking/semaphore.c:268 [inline] __down_common+0x321/0x730 kernel/locking/semaphore.c:293 down+0x80/0xd0 kernel/locking/semaphore.c:100 xfs_buf_lock+0x14d/0x520 fs/xfs/xfs_buf.c:993 xfs_buf_item_unpin+0x1c4/0x770 fs/xfs/xfs_buf_item.c:551 xlog_cil_ail_insert fs/xfs/xfs_log_cil.c:-1 [inline] xlog_cil_committed+0x9f4/0x1170 fs/xfs/xfs_log_cil.c:995 xlog_cil_process_committed+0x15c/0x1b0 fs/xfs/xfs_log_cil.c:1025 xlog_state_shutdown_callbacks+0x277/0x380 fs/xfs/xfs_log.c:438 xlog_force_shutdown+0x332/0x400 fs/xfs/xfs_log.c:3406 xfs_do_force_shutdown+0x2ab/0x700 fs/xfs/xfs_fsops.c:507 xfs_trans_read_buf_map+0x518/0x950 fs/xfs/xfs_trans_buf.c:311 xfs_trans_read_buf fs/xfs/xfs_trans.h:212 [inline] xfs_btree_read_buf_block+0x2b0/0x490 fs/xfs/libxfs/xfs_btree.c:1402 xfs_btree_lookup_get_block+0x297/0x510 fs/xfs/libxfs/xfs_btree.c:1907 xfs_btree_lookup+0x45a/0x1350 fs/xfs/libxfs/xfs_btree.c:2018 xfs_alloc_lookup fs/xfs/libxfs/xfs_alloc.c:166 [inline] xfs_alloc_lookup_le fs/xfs/libxfs/xfs_alloc.c:212 [inline] xfs_free_ag_extent+0x277/0x17d0 fs/xfs/libxfs/xfs_alloc.c:2080 __xfs_free_extent+0x36e/0x4f0 fs/xfs/libxfs/xfs_alloc.c:4047 xfs_extent_free_finish_item+0x292/0x640 fs/xfs/xfs_extfree_item.c:553 xfs_defer_finish_one+0x5d7/0xd80 fs/xfs/libxfs/xfs_defer.c:595 xfs_defer_finish_noroll+0x940/0x13b0 fs/xfs/libxfs/xfs_defer.c:707 xfs_defer_finish+0x1c/0x180 fs/xfs/libxfs/xfs_defer.c:741 xfs_bunmapi_range+0xc4/0x140 fs/xfs/libxfs/xfs_bmap.c:6169 xfs_itruncate_extents_flags+0x2f9/0xa10 fs/xfs/xfs_inode.c:1077 xfs_itruncate_extents fs/xfs/xfs_inode.h:604 [inline] xfs_setattr_size+0x980/0xf30 fs/xfs/xfs_iops.c:1095 xfs_vn_setattr+0x261/0x310 fs/xfs/xfs_iops.c:1171 notify_change+0xc18/0xf60 fs/attr.c:556 do_truncate+0x1c2/0x250 fs/open.c:68 handle_truncate fs/namei.c:4279 [inline] do_open fs/namei.c:4675 [inline] path_openat+0x2fc4/0x38a0 fs/namei.c:4830 do_file_open+0x23e/0x4a0 fs/namei.c:4859 do_sys_openat2+0x113/0x200 fs/open.c:1366 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1383 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4a4f44c799 RSP: 002b:00007f4a4d685028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f4a4f6c6090 RCX: 00007f4a4f44c799 RDX: 0000000000183341 RSI: 0000200000000080 RDI: ffffffffffffff9c RBP: 00007f4a4f4e2bd9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4a4f6c6128 R14: 00007f4a4f6c6090 R15: 00007fff4de425f8 Showing all locks held in the system: 4 locks held by pr/legacy/17: 1 lock held by khungtaskd/38: #0: ffffffff8ddcd780 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #0: ffffffff8ddcd780 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #0: ffffffff8ddcd780 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 1 lock held by syslogd/5152: #0: ffff888025fa6f18 (&ei->socket.wq.wait){+.+.}-{3:3}, at: spin_lock include/linux/spinlock_rt.h:45 [inline] #0: ffff888025fa6f18 (&ei->socket.wq.wait){+.+.}-{3:3}, at: finish_wait+0xbe/0x1e0 kernel/sched/wait.c:394 3 locks held by klogd/5159: 2 locks held by getty/5563: #0: ffff888032d850a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90003e8b2e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x462/0x13c0 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:6/5929: 2 locks held by kworker/u8:1/8967: #0: ffff888019c44138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3250 [inline] #0: ffff888019c44138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830 kernel/workqueue.c:3358 #1: ffffc90004e17c40 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3251 [inline] #1: ffffc90004e17c40 (connector_reaper_work){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830 kernel/workqueue.c:3358 1 lock held by syz.5.682/10091: #0: ffff888066ece480 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write_file+0x63/0x210 fs/namespace.c:537 5 locks held by syz.5.682/10144: #0: ffff888066ece480 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:493 #1: ffff88805f59fa90 (&sb->s_type->i_mutex_key#28){++++}-{4:4}, at: inode_lock_killable include/linux/fs.h:1033 [inline] #1: ffff88805f59fa90 (&sb->s_type->i_mutex_key#28){++++}-{4:4}, at: do_truncate+0x18f/0x250 fs/open.c:63 #2: ffff88805f59fc60 (mapping.invalidate_lock#4){++++}-{4:4}, at: xfs_ilock+0x16d/0x3b0 fs/xfs/xfs_inode.c:157 #3: ffff888066ece770 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc+0xd7/0x9b0 fs/xfs/xfs_trans.c:254 #4: ffff88805f59f808 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_setattr_size+0x7f1/0xf30 fs/xfs/xfs_iops.c:1059 3 locks held by kworker/u8:18/11296: #0: ffff888019c44138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3250 [inline] #0: ffff888019c44138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830 kernel/workqueue.c:3358 #1: ffffc9000675fc40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3251 [inline] #1: ffffc9000675fc40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830 kernel/workqueue.c:3358 #2: ffffffff8f15a378 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:313 2 locks held by kworker/u8:22/11301: #0: ffff888019c44138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3250 [inline] #0: ffff888019c44138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9ea/0x1830 kernel/workqueue.c:3358 #1: ffffc9000d617c40 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3251 [inline] #1: ffffc9000d617c40 ((reaper_work).work){+.+.}-{0:0}, at: process_scheduled_works+0xa25/0x1830 kernel/workqueue.c:3358 2 locks held by kworker/u8:29/11308: 8 locks held by syz-executor/12289: #0: ffff888037a4a480 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2710 [inline] #0: ffff888037a4a480 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22d/0xba0 fs/read_write.c:684 #1: ffff88803c80d478 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1df/0x540 fs/kernfs/file.c:343 #2: ffff888028a92d28 (kn->active#52){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff888028a92d28 (kn->active#52){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x232/0x540 fs/kernfs/file.c:344 #3: ffffffff8e9c7d98 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd7/0x370 drivers/net/netdevsim/bus.c:234 #4: ffff88803868c0d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:895 [inline] #4: ffff88803868c0d8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1106 [inline] #4: ffff88803868c0d8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb6/0x870 drivers/base/dd.c:1304 #5: ffff88803cec4300 (&devlink->lock_key#9){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1778 #6: ffffffff8f15a378 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0xed/0x680 drivers/net/netdevsim/netdev.c:1177 #7: ffff888065b5cea0 (&dev_instance_lock_key#24){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2784 [inline] #7: ffff888065b5cea0 (&dev_instance_lock_key#24){+.+.}-{4:4}, at: netdev_lock_ops include/net/netdev_lock.h:42 [inline] #7: ffff888065b5cea0 (&dev_instance_lock_key#24){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0x118e/0x2360 net/core/dev.c:12399 5 locks held by syz.1.1007/12523: 3 locks held by syz.2.1008/12525: 1 lock held by sed/12540: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 38 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:161 [inline] __sys_info lib/sys_info.c:157 [inline] sys_info+0x135/0x170 lib/sys_info.c:165 check_hung_uninterruptible_tasks kernel/hung_task.c:346 [inline] watchdog+0xfd9/0x1030 kernel/hung_task.c:515 kthread+0x388/0x470 kernel/kthread.c:467 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 17 Comm: pr/legacy Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:io_serial_in+0x77/0xc0 drivers/tty/serial/8250/8250_port.c:400 Code: e8 8e 16 95 fc 44 89 f9 d3 e3 49 83 ee 80 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 bf 24 fb fc 41 03 1e 89 da ec <0f> b6 c0 5b 41 5c 41 5e 41 5f e9 4a 86 f6 05 cc 44 89 f9 80 e1 07 RSP: 0018:ffffc900001679d0 EFLAGS: 00000202 RAX: 1ffffffff3329e00 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff9994f730 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffffff852f3c50 R12: dffffc0000000000 R13: 0000000000000000 R14: ffffffff9994f4a0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888126440000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2e2e101368 CR3: 000000006d5e8000 CR4: 00000000003526f0 Call Trace: serial_in drivers/tty/serial/8250/8250.h:128 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:150 [inline] wait_for_lsr+0x1aa/0x2f0 drivers/tty/serial/8250/8250_port.c:1961 fifo_wait_for_lsr drivers/tty/serial/8250/8250_port.c:3234 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3257 [inline] serial8250_console_write+0x120d/0x1b90 drivers/tty/serial/8250/8250_port.c:3342 console_emit_next_record kernel/printk/printk.c:3163 [inline] console_flush_one_record+0x68b/0xb90 kernel/printk/printk.c:3269 legacy_kthread_func+0x1b6/0x250 kernel/printk/printk.c:3712 kthread+0x388/0x470 kernel/kthread.c:467 ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245