INFO: task syz.0.16:6712 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.16 state:D stack:23800 pid:6712 tgid:6711 ppid:6588 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5357 [inline] __schedule+0x16f3/0x4c20 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] rt_mutex_schedule+0x77/0xf0 kernel/sched/core.c:7339 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:1024 [inline] lock_rename fs/namei.c:3360 [inline] do_renameat2+0x3b9/0xa50 fs/namei.c:5311 __do_sys_rename fs/namei.c:5411 [inline] __se_sys_rename fs/namei.c:5409 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:5409 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f399f67e969 RSP: 002b:00007f399e8ee038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f399f8a5fa0 RCX: 00007f399f67e969 RDX: 0000000000000000 RSI: 0000200000000180 RDI: 00002000000003c0 RBP: 00007f399f700ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f399f8a5fa0 R15: 00007ffefd15a858 INFO: task syz.1.17:6770 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.17 state:D stack:29224 pid:6770 tgid:6765 ppid:6740 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5357 [inline] __schedule+0x16f3/0x4c20 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] rt_mutex_schedule+0x77/0xf0 kernel/sched/core.c:7339 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:1024 [inline] lock_rename fs/namei.c:3360 [inline] do_renameat2+0x3b9/0xa50 fs/namei.c:5311 __do_sys_rename fs/namei.c:5411 [inline] __se_sys_rename fs/namei.c:5409 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:5409 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7c046ee969 RSP: 002b:00007f7c0393d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f7c04916080 RCX: 00007f7c046ee969 RDX: 0000000000000000 RSI: 0000200000000180 RDI: 00002000000003c0 RBP: 00007f7c04770ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f7c04916080 R15: 00007ffc5ba903b8 Showing all locks held in the system: 1 lock held by khungtaskd/38: #0: ffffffff8d9aa080 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8d9aa080 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8d9aa080 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 3 locks held by kworker/u8:48/1598: 2 locks held by getty/5630: #0: ffff88823bf328a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90003e832e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x444/0x1410 drivers/tty/n_tty.c:2222 2 locks held by syz.0.16/6712: #0: ffff88801c708488 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:500 #1: ffff8880424e9c60 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1024 [inline] #1: ffff8880424e9c60 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3360 [inline] #1: ffff8880424e9c60 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: do_renameat2+0x3b9/0xa50 fs/namei.c:5311 3 locks held by syz.0.16/6721: 4 locks held by syz.1.17/6766: 2 locks held by syz.1.17/6770: #0: ffff888031452488 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:500 #1: ffff888042539c60 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1024 [inline] #1: ffff888042539c60 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3360 [inline] #1: ffff888042539c60 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: do_renameat2+0x3b9/0xa50 fs/namei.c:5311 3 locks held by syz.2.18/6794: 2 locks held by syz.2.18/6798: #0: ffff888033b26488 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:500 #1: ffff88804253ef48 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1024 [inline] #1: ffff88804253ef48 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3360 [inline] #1: ffff88804253ef48 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: do_renameat2+0x3b9/0xa50 fs/namei.c:5311 4 locks held by syz.3.19/6822: 2 locks held by syz.3.19/6826: #0: ffff88803e2d8488 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:500 #1: ffff8880427ab410 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1024 [inline] #1: ffff8880427ab410 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3360 [inline] #1: ffff8880427ab410 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: do_renameat2+0x3b9/0xa50 fs/namei.c:5311 3 locks held by syz.4.20/6865: 2 locks held by syz.4.20/6869: #0: ffff88814336c488 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:500 #1: ffff888057381088 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1024 [inline] #1: ffff888057381088 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3360 [inline] #1: ffff888057381088 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: do_renameat2+0x3b9/0xa50 fs/namei.c:5311 4 locks held by syz.5.21/6901: 2 locks held by syz.5.21/6905: #0: ffff88803c12e488 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:500 #1: ffff8880426d6f48 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1024 [inline] #1: ffff8880426d6f48 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3360 [inline] #1: ffff8880426d6f48 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: do_renameat2+0x3b9/0xa50 fs/namei.c:5311 4 locks held by syz.6.22/6936: 2 locks held by syz.6.22/6940: #0: ffff888024254488 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:500 #1: ffff88805e1084b0 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1024 [inline] #1: ffff88805e1084b0 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3360 [inline] #1: ffff88805e1084b0 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: do_renameat2+0x3b9/0xa50 fs/namei.c:5311 2 locks held by syz-executor/6948: ============================================= 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 08/18/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:328 [inline] watchdog+0xf93/0xfe0 kernel/hung_task.c:491 kthread+0x70e/0x8a0 kernel/kthread.c:463 ret_from_fork+0x436/0x7d0 arch/x86/kernel/process.c:148 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: 1598 Comm: kworker/u8:48 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Workqueue: bat_events batadv_nc_worker RIP: 0010:find_held_lock kernel/locking/lockdep.c:5347 [inline] RIP: 0010:__lock_release kernel/locking/lockdep.c:5535 [inline] RIP: 0010:lock_release+0xf1/0x3e0 kernel/locking/lockdep.c:5889 Code: 01 00 00 00 83 3d 4e 73 81 0d 00 0f 84 96 01 00 00 41 8b 87 18 0b 00 00 85 c0 0f 84 1d 01 00 00 4c 89 6c 24 18 48 89 5c 24 08 <44> 8d 60 ff 49 8d af 20 0b 00 00 4d 63 ec 48 89 04 24 83 f8 32 0f RSP: 0018:ffffc900064778d0 EFLAGS: 00000002 RAX: 0000000000000007 RBX: 0000000000000206 RCX: d8d86f553ca66000 RDX: ffff888028485d80 RSI: ffffffff8d050a12 RDI: ffffffff8b622b00 RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff8afa4c4b R10: 0000000000000000 R11: fffffbfff1e3b167 R12: 0000000000000000 R13: ffffffff8afa5365 R14: ffffffff8d9aa080 R15: ffff888028485940 FS: 0000000000000000(0000) GS:ffff8881269b6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c9fbd5b1f0 CR3: 000000003c5ec000 CR4: 00000000003526f0 Call Trace: rcu_lock_release include/linux/rcupdate.h:341 [inline] rcu_read_unlock include/linux/rcupdate.h:871 [inline] rt_spin_unlock+0x71/0x80 kernel/locking/spinlock_rt.c:82 spin_unlock_bh include/linux/spinlock_rt.h:110 [inline] batadv_nc_purge_paths+0x33e/0x3f0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x87e/0xbc0 net/batman-adv/network-coding.c:720 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 kthread+0x70e/0x8a0 kernel/kthread.c:463 ret_from_fork+0x436/0x7d0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245