INFO: task syz.7.237:7893 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.237 state:D stack:24904 pid:7893 tgid:7892 ppid:7274 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:0x7f684169f6c9 RSP: 002b:00007f683f906038 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007f68418f5fa0 RCX: 00007f684169f6c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00002000000000c0 RBP: 00007f6841721f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f68418f6038 R14: 00007f68418f5fa0 R15: 00007ffc2d326388 INFO: task syz.7.237:7899 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.237 state:D stack:25640 pid:7899 tgid:7892 ppid:7274 task_flags:0x400040 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_mkdir fs/namei.c:4508 [inline] __se_sys_mkdir fs/namei.c:4506 [inline] __x64_sys_mkdir+0x6c/0x80 fs/namei.c:4506 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:0x7f684169f6c9 RSP: 002b:00007f683f8e5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f68418f6090 RCX: 00007f684169f6c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000040 RBP: 00007f6841721f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f68418f6128 R14: 00007f68418f6090 R15: 00007ffc2d326388 INFO: task syz.7.237:7902 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.237 state:D stack:27568 pid:7902 tgid:7892 ppid:7274 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] schedule+0x165/0x360 kernel/sched/core.c:7026 io_schedule+0x81/0xe0 kernel/sched/core.c:7871 folio_wait_bit_common+0x6b5/0xb90 mm/filemap.c:1330 folio_lock include/linux/pagemap.h:1141 [inline] release_metapage+0x103/0xab0 fs/jfs/jfs_metapage.c:870 discard_metapage fs/jfs/jfs_metapage.h:88 [inline] __get_metapage+0x9a0/0xde0 fs/jfs/jfs_metapage.c:753 dtSearch+0x591/0x21b0 fs/jfs/jfs_dtree.c:624 jfs_lookup+0x155/0x380 fs/jfs/namei.c:1461 lookup_one_qstr_excl+0x131/0x360 fs/namei.c:1705 filename_create+0x224/0x3c0 fs/namei.c:4227 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:0x7f684169f6c9 RSP: 002b:00007f683f4a1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f68418f6270 RCX: 00007f684169f6c9 RDX: 0000000000000000 RSI: 0000200000000100 RDI: ffffffffffffff9c RBP: 00007f6841721f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f68418f6308 R14: 00007f68418f6270 R15: 00007ffc2d326388 INFO: task syz.7.237:7911 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.237 state:D stack:28136 pid:7911 tgid:7892 ppid:7274 task_flags:0x400040 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_mount fs/namespace.c:4047 [inline] __do_sys_mount fs/namespace.c:4238 [inline] __se_sys_mount+0x2d4/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:0x7f684169f6c9 RSP: 002b:00007f683f07e038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f68418f6360 RCX: 00007f684169f6c9 RDX: 0000200000000100 RSI: 0000200000000380 RDI: 0000000000000000 RBP: 00007f6841721f91 R08: 0000200000000400 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f68418f63f8 R14: 00007f68418f6360 R15: 00007ffc2d326388 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 5 locks held by kworker/u8:5/815: 2 locks held by kworker/u8:7/1289: 3 locks held by kworker/u8:10/3015: #0: ffff888140a89138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff888140a89138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc9000cedfba0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc9000cedfba0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffff888061df60d0 (&type->s_umount_key#102){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:562 2 locks held by getty/5552: #0: ffff88823bf340a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900041762e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x444/0x1400 drivers/tty/n_tty.c:2222 3 locks held by syz-executor/5785: 3 locks held by kworker/1:3/5787: #0: ffff88813ff55138 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff88813ff55138 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc90004c87ba0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc90004c87ba0 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffff888026cf4260 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x224/0x3e0 drivers/net/netdevsim/fib.c:1490 1 lock held by syz.7.237/7893: #0: ffff88803d21c038 (&type->i_mutex_dir_key#19){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:995 [inline] #0: ffff88803d21c038 (&type->i_mutex_dir_key#19){++++}-{4:4}, at: lookup_slow+0x46/0x70 fs/namei.c:1832 1 lock held by syz.7.237/7899: #0: ffff88803d21c038 (&type->i_mutex_dir_key#19/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1025 [inline] #0: ffff88803d21c038 (&type->i_mutex_dir_key#19/1){+.+.}-{4:4}, at: filename_create+0x1f8/0x3c0 fs/namei.c:4226 2 locks held by syz.7.237/7902: #0: ffff888061df6480 (sb_writers#29){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:508 #1: ffff88803d21c038 (&type->i_mutex_dir_key#19/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1025 [inline] #1: ffff88803d21c038 (&type->i_mutex_dir_key#19/1){+.+.}-{4:4}, at: filename_create+0x1f8/0x3c0 fs/namei.c:4226 1 lock held by syz.7.237/7911: #0: ffff88803d21c038 (&type->i_mutex_dir_key#19){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:995 [inline] #0: ffff88803d21c038 (&type->i_mutex_dir_key#19){++++}-{4:4}, at: lookup_slow+0x46/0x70 fs/namei.c:1832 1 lock held by syz-executor/9264: 1 lock held by udevd/9501: 4 locks held by syz.3.371/9536: 5 locks held by syz.0.373/9560: 3 locks held by syz.2.220/9564: 1 lock held by udevadm/9590: ============================================= 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: 17 Comm: pr/legacy Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:io_serial_in+0x77/0xc0 drivers/tty/serial/8250/8250_port.c:400 Code: e8 8e 05 ba 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 bd 1b fd 41 03 1e 89 da ec <0f> b6 c0 5b 41 5c 41 5e 41 5f e9 5a 77 bf 05 cc 44 89 f9 80 e1 07 RSP: 0018:ffffc90000167870 EFLAGS: 00000202 RAX: 1ffffffff31d2100 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff98e910f0 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffffff8504a780 R12: dffffc0000000000 R13: 0000000000000000 R14: ffffffff98e90e60 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888126df7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fea5ea11000 CR3: 000000003204c000 CR4: 00000000003526f0 Call Trace: serial_in drivers/tty/serial/8250/8250.h:137 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:159 [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+0x11bd/0x1b40 drivers/tty/serial/8250/8250_port.c:3342 console_emit_next_record kernel/printk/printk.c:3091 [inline] console_flush_all+0x666/0xb40 kernel/printk/printk.c:3199 __console_flush_and_unlock+0x9b/0x160 kernel/printk/printk.c:3258 legacy_kthread_func+0x13b/0x1a0 kernel/printk/printk.c:3611 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