INFO: task syz-executor.4:30136 blocked for more than 143 seconds. Not tainted 6.8.0-rc1-syzkaller-00005-g610347effc2e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29440 pid:30136 tgid:30122 ppid:5099 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0xf12/0x5c00 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x948/0x1400 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:802 [inline] do_truncate+0x14b/0x220 fs/open.c:64 vfs_truncate+0x3eb/0x4d0 fs/open.c:112 do_sys_truncate fs/open.c:135 [inline] __do_sys_truncate fs/open.c:147 [inline] __se_sys_truncate fs/open.c:145 [inline] __x64_sys_truncate+0x173/0x1e0 fs/open.c:145 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f751487cda9 RSP: 002b:00007f751552a0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007f75149ac050 RCX: 00007f751487cda9 RDX: 0000000000000000 RSI: 0000000000003dc5 RDI: 0000000020000040 RBP: 00007f75148c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f75149ac050 R15: 00007fff5ac69af8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by getty/4805: #0: ffff88802e4c00a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc9000311b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.2/5083: #0: ffff88803c7e40e0 (&type->s_umount_key#54){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88803c7e40e0 (&type->s_umount_key#54){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88803c7e40e0 (&type->s_umount_key#54){+.+.}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:509 #1: ffffffff8d1b83f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #1: ffffffff8d1b83f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3ff/0x800 kernel/rcu/tree_exp.h:996 6 locks held by syz-executor.0/5087: #0: ffff8880b993ccd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 #1: ffff8880b9928a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 #2: ffff8880b9928a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_change+0x1b0/0x2e0 kernel/sched/psi.c:912 #3: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #3: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #3: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: page_ext_get+0x34/0x310 mm/page_ext.c:508 #4: ffff88803b6f6068 (&lruvec->lru_lock){....}-{2:2}, at: folio_lruvec_lock_irqsave+0x1c6/0x350 mm/memcontrol.c:1417 #5: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #5: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #5: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: folio_evictable mm/internal.h:161 [inline] #5: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: lru_add_fn+0x14c/0xd40 mm/swap.c:181 2 locks held by kworker/1:3/5145: #0: ffff88801308a938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2608 #1: ffffc900047bfd80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2609 3 locks held by kworker/u4:12/12666: #0: ffff8880b983ccd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 #1: ffff8880b9828a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 #2: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #2: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #2: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] #2: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: batadv_nc_worker+0x168/0x10e0 net/batman-adv/network-coding.c:719 5 locks held by syz-executor.4/30125: 2 locks held by syz-executor.4/30136: #0: ffff888063f4e420 (sb_writers#18){.+.+}-{0:0}, at: vfs_truncate+0xea/0x4d0 fs/open.c:85 #1: ffff8880884336f8 (&sb->s_type->i_mutex_key#27){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff8880884336f8 (&sb->s_type->i_mutex_key#27){++++}-{3:3}, at: do_truncate+0x14b/0x220 fs/open.c:64 1 lock held by syz-executor.5/418: 1 lock held by syz-executor.1/427: #0: ffffffff8d1b83f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #0: ffffffff8d1b83f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3ff/0x800 kernel/rcu/tree_exp.h:996 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc1-syzkaller-00005-g610347effc2e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 21537 Comm: kworker/u4:16 Not tainted 6.8.0-rc1-syzkaller-00005-g610347effc2e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_preemption_disabled+0xf/0xe0 lib/smp_processor_id.c:16 Code: 85 c0 75 0f 65 8b 05 7c 70 74 75 85 c0 74 04 90 0f 0b 90 e9 83 fc ff ff 0f 1f 00 41 54 55 53 48 83 ec 08 65 8b 1d 8d aa 75 75 <65> 8b 05 82 aa 75 75 a9 ff ff ff 7f 74 0b 48 83 c4 08 89 d8 5b 5d RSP: 0018:ffffc9000443fb78 EFLAGS: 00000296 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8a55b8bf RDX: ffff88801cd71dc0 RSI: ffffffff8b2fd1c0 RDI: ffffffff8b2fd200 RBP: 000000000000024c R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: ffff88801f332d80 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002034d030 CR3: 000000002d80c000 CR4: 0000000000350ef0 Call Trace: rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] rcu_is_watching+0x12/0xb0 kernel/rcu/tree.c:700 rcu_read_lock include/linux/rcupdate.h:751 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xc89/0x10e0 net/batman-adv/network-coding.c:719 process_one_work+0x886/0x15d0 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2787 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242