INFO: task syz-executor.3:14853 blocked for more than 143 seconds. Not tainted 6.9.0-syzkaller-08284-gea5f6ad9ad96 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28336 pid:14853 tgid:14851 ppid:12551 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:826 [inline] lock_rename fs/namei.c:3074 [inline] do_renameat2+0x62c/0x13f0 fs/namei.c:4979 __do_sys_rename fs/namei.c:5091 [inline] __se_sys_rename fs/namei.c:5089 [inline] __x64_sys_rename+0x86/0xa0 fs/namei.c:5089 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f929a67cee9 RSP: 002b:00007f929a1de0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f929a7ac050 RCX: 00007f929a67cee9 RDX: 0000000000000000 RSI: 0000000020000340 RDI: 00000000200002c0 RBP: 00007f929a6c949e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f929a7ac050 R15: 00007ffc9634f218 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e334360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e334360 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e334360 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4844: #0: ffff88802b1750a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by syz-executor.3/14852: 2 locks held by syz-executor.3/14853: #0: ffff88802e5ba420 (sb_writers#38){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff888056fb4190 (&type->i_mutex_dir_key#29/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:826 [inline] #1: ffff888056fb4190 (&type->i_mutex_dir_key#29/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3074 [inline] #1: ffff888056fb4190 (&type->i_mutex_dir_key#29/1){+.+.}-{3:3}, at: do_renameat2+0x62c/0x13f0 fs/namei.c:4979 2 locks held by kworker/u8:1/15644: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.9.0-syzkaller-08284-gea5f6ad9ad96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:380 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 15644 Comm: kworker/u8:1 Not tainted 6.9.0-syzkaller-08284-gea5f6ad9ad96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:lock_acquire+0x2ad/0x550 kernel/locking/lockdep.c:5758 Code: 25 15 00 00 43 c6 44 25 17 00 65 48 8b 04 25 28 00 00 00 48 3b 84 24 00 01 00 00 0f 85 95 02 00 00 48 8d 65 d8 5b 41 5c 41 5d <41> 5e 41 5f 5d c3 cc cc cc cc 65 8b 05 52 12 90 7e 85 c0 75 99 65 RSP: 0018:ffffc9000504fb30 EFLAGS: 00000246 RAX: 6847f69dbdf74200 RBX: ffff88801cb79dc0 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcac740 RDI: ffffffff8c1ed7e0 RBP: ffffc9000504fb40 R08: ffffffff92f66587 R09: 1ffffffff25eccb0 R10: dffffc0000000000 R11: fffffbfff25eccb1 R12: ffff88805fe78ca0 R13: 000000000000021a R14: ffffc9000504fa40 R15: 0000000000000246 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555562ebe978 CR3: 000000000e132000 CR4: 00000000003526f0 Call Trace: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] rcu_read_lock include/linux/rcupdate.h:781 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244