INFO: task syz.5.257:7841 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.257 state:D stack:29128 pid:7841 tgid:7840 ppid:6110 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x16f3/0x4c20 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] rt_mutex_schedule+0x77/0xf0 kernel/sched/core.c:7307 rt_mutex_slowlock_block kernel/locking/rtmutex.c:1647 [inline] __rt_mutex_slowlock kernel/locking/rtmutex.c:1721 [inline] __rt_mutex_slowlock_locked+0x1e04/0x25e0 kernel/locking/rtmutex.c:1760 rt_mutex_slowlock+0xb5/0x160 kernel/locking/rtmutex.c:1800 __rt_mutex_lock kernel/locking/rtmutex.c:1815 [inline] rwbase_write_lock+0x14f/0x750 kernel/locking/rwbase_rt.c:244 inode_lock_nested include/linux/fs.h:1025 [inline] filename_create+0x1f8/0x3c0 fs/namei.c:4226 do_mkdirat+0xa0/0x590 fs/namei.c:4478 __do_sys_mkdirat fs/namei.c:4503 [inline] __se_sys_mkdirat fs/namei.c:4501 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4501 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdb97adde17 RSP: 002b:00007fdb95d3de68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007fdb95d3def0 RCX: 00007fdb97adde17 RDX: 00000000000001ff RSI: 0000200000000280 RDI: 00000000ffffff9c RBP: 00002000000006c0 R08: 0000200000000080 R09: 0000000000000000 R10: 00002000000006c0 R11: 0000000000000246 R12: 0000200000000280 R13: 00007fdb95d3deb0 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz.5.257:7842 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.257 state:D stack:25544 pid:7842 tgid:7840 ppid:6110 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x16f3/0x4c20 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] rt_mutex_schedule+0x77/0xf0 kernel/sched/core.c:7307 rt_mutex_slowlock_block kernel/locking/rtmutex.c:1647 [inline] __rt_mutex_slowlock kernel/locking/rtmutex.c:1721 [inline] __rt_mutex_slowlock_locked+0x1e04/0x25e0 kernel/locking/rtmutex.c:1760 __rwbase_read_lock+0xbc/0x180 kernel/locking/rwbase_rt.c:114 rwbase_read_lock kernel/locking/rwbase_rt.c:147 [inline] __down_read kernel/locking/rwsem.c:1466 [inline] down_read+0x127/0x1f0 kernel/locking/rwsem.c:1539 inode_lock_shared include/linux/fs.h:995 [inline] lookup_slow+0x46/0x70 fs/namei.c:1832 walk_component+0x2d2/0x400 fs/namei.c:2151 lookup_last fs/namei.c:2652 [inline] path_lookupat+0x163/0x430 fs/namei.c:2676 filename_lookup+0x212/0x570 fs/namei.c:2705 user_path_at+0x3a/0x60 fs/namei.c:3215 __do_sys_chdir fs/open.c:561 [inline] __se_sys_chdir+0x91/0x280 fs/open.c:555 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdb97adf6c9 RSP: 002b:00007fdb95d1d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007fdb97d36090 RCX: 00007fdb97adf6c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00002000000003c0 RBP: 00007fdb97b61f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fdb97d36128 R14: 00007fdb97d36090 R15: 00007ffd8cbd5cb8 Showing all locks held in the system: 4 locks held by pr/legacy/17: 1 lock held by khungtaskd/38: #0: ffffffff8d5aa840 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8d5aa840 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8d5aa840 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 4 locks held by kworker/u8:4/70: #0: ffff888140462938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff888140462938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc9000155fba0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc9000155fba0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffff88803cc0a0d0 (&type->s_umount_key#67){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:562 #3: ffff888063016368 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1ca/0x530 fs/jfs/inode.c:108 5 locks held by kworker/u8:7/1179: 5 locks held by kworker/u8:8/1404: 4 locks held by kworker/u8:10/1564: 2 locks held by udevd/5170: 2 locks held by getty/5555: #0: ffff88823bf2a8a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90003e762e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x444/0x1400 drivers/tty/n_tty.c:2222 3 locks held by udevd/5925: 5 locks held by udevd/6009: 2 locks held by syz.5.257/7841: #0: ffff88803cc0a480 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:508 #1: ffff888063016738 (&type->i_mutex_dir_key#8/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1025 [inline] #1: ffff888063016738 (&type->i_mutex_dir_key#8/1){+.+.}-{4:4}, at: filename_create+0x1f8/0x3c0 fs/namei.c:4226 1 lock held by syz.5.257/7842: #0: ffff888063016738 (&type->i_mutex_dir_key#8){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:995 [inline] #0: ffff888063016738 (&type->i_mutex_dir_key#8){++++}-{4:4}, at: lookup_slow+0x46/0x70 fs/namei.c:1832 4 locks held by syz.5.257/7862: 1 lock held by syz.4.514/9283: 1 lock held by syz.3.519/9330: 2 locks held by syz.6.520/9333: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 38 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:332 [inline] watchdog+0xf60/0xfa0 kernel/hung_task.c:495 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 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: 9283 Comm: syz.4.514 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:kasan_check_range+0xd/0x2c0 mm/kasan/generic.c:199 Code: ff ff ff eb e1 cc cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 40 d6 55 41 57 41 56 41 55 41 54 <53> b0 01 48 85 f6 0f 84 ba 01 00 00 4c 8d 04 37 49 39 f8 0f 82 82 RSP: 0018:ffffc9001edb6f98 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff8880b8825b40 RCX: ffffffff819c9cad RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880b8825b40 RBP: ffffc9001edb7088 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1dac6cf R12: dffffc0000000000 R13: ffffc9001edb71e0 R14: ffff8880b8825b44 R15: 1ffff92003db6e00 FS: 00007f22e480e6c0(0000) GS:ffff888126df7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f639502b001 CR3: 000000005b9fa000 CR4: 00000000003526f0 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:32 [inline] queued_spin_is_locked include/asm-generic/qspinlock.h:57 [inline] debug_spin_unlock kernel/locking/spinlock_debug.c:101 [inline] do_raw_spin_unlock+0x4d/0x240 kernel/locking/spinlock_debug.c:141 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_unlock_irqrestore+0x78/0x110 kernel/locking/spinlock.c:194 __try_to_del_timer_sync+0x353/0x3a0 kernel/time/timer.c:1466 __timer_delete_sync+0x2cf/0x3f0 kernel/time/timer.c:1620 schedule_timeout+0x133/0x270 kernel/time/sleep_timeout.c:100 io_schedule_timeout+0x8a/0xf0 kernel/sched/core.c:7859 do_wait_for_common kernel/sched/completion.c:100 [inline] __wait_for_common kernel/sched/completion.c:121 [inline] wait_for_common_io+0x2ca/0x600 kernel/sched/completion.c:138 blk_wait_io block/blk.h:103 [inline] submit_bio_wait+0x147/0x200 block/bio.c:1389 bdev_rw_virt+0x331/0x4c0 block/bio.c:1419 xlog_do_io+0x17a/0x360 fs/xfs/xfs_log_recover.c:140 xlog_bread+0x30/0xc0 fs/xfs/xfs_log_recover.c:171 xlog_find_verify_cycle+0x163/0x3a0 fs/xfs/xfs_log_recover.c:346 xlog_find_zeroed+0x2cd/0x410 fs/xfs/xfs_log_recover.c:1452 xlog_find_head+0x5f/0x700 fs/xfs/xfs_log_recover.c:511 xlog_find_tail+0x3d/0x830 fs/xfs/xfs_log_recover.c:1252 xlog_recover+0x4b/0x3e0 fs/xfs/xfs_log_recover.c:3433 xfs_log_mount+0x253/0x3e0 fs/xfs/xfs_log.c:667 xfs_mountfs+0xe5e/0x22c0 fs/xfs/xfs_mount.c:1031 xfs_fs_fill_super+0x1185/0x15d0 fs/xfs/xfs_super.c:1957 get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1691 vfs_get_tree+0x92/0x2b0 fs/super.c:1751 fc_mount fs/namespace.c:1208 [inline] do_new_mount_fc fs/namespace.c:3651 [inline] do_new_mount+0x302/0xa10 fs/namespace.c:3727 do_mount fs/namespace.c:4050 [inline] __do_sys_mount fs/namespace.c:4238 [inline] __se_sys_mount+0x313/0x410 fs/namespace.c:4215 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f22e65b0e6a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f22e480de68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f22e480def0 RCX: 00007f22e65b0e6a RDX: 0000200000009600 RSI: 00002000000001c0 RDI: 00007f22e480deb0 RBP: 0000200000009600 R08: 00007f22e480def0 R09: 0000000000200800 R10: 0000000000200800 R11: 0000000000000246 R12: 00002000000001c0 R13: 00007f22e480deb0 R14: 0000000000009606 R15: 0000200000000100