INFO: task syz-executor.1:7927 blocked for more than 143 seconds. Not tainted 6.8.0-rc4-next-20240214-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26608 pid:7927 tgid:7924 ppid:5100 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17df/0x4a40 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6804 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6819 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6876 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 filemap_invalidate_lock include/linux/fs.h:847 [inline] blkdev_fallocate+0x233/0x550 block/fops.c:794 vfs_fallocate+0x564/0x6c0 fs/open.c:331 ksys_fallocate fs/open.c:354 [inline] __do_sys_fallocate fs/open.c:362 [inline] __se_sys_fallocate fs/open.c:360 [inline] __x64_sys_fallocate+0xbd/0x110 fs/open.c:360 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f444a67dda9 RSP: 002b:00007f444b3410c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f444a7abf80 RCX: 00007f444a67dda9 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000005 RBP: 00007f444a6ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000001002000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f444a7abf80 R15: 00007ffeb1d25a88 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e1315a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e1315a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e1315a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4816: #0: ffff8880293180a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by kworker/u8:3/20839: 1 lock held by syz-executor.0/32609: 1 lock held by syz-executor.0/1168: 1 lock held by syz-executor.0/1989: 2 locks held by syz-executor.0/1994: 1 lock held by syz-executor.1/7927: #0: ffff88801d1414c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801d1414c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x233/0x550 block/fops.c:794 6 locks held by syz-executor.1/8202: 2 locks held by syz-executor.3/14013: #0: ffff8880b953d198 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 #1: ffffffff8e1315a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #1: ffffffff8e1315a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #1: ffffffff8e1315a0 (rcu_read_lock){....}-{1:2}, at: __pte_offset_map+0x82/0x380 mm/pgtable-generic.c:285 2 locks held by syz-executor.1/14017: #0: ffff8880b953d198 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 #1: ffff8880b9528948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 1 lock held by syz-executor.4/14018: 2 locks held by syz-executor.1/14024: #0: ffff8880b953d198 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 #1: ffff8880b9528948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc4-next-20240214-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/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+0xfb0/0xff0 kernel/hung_task.c:380 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 20839 Comm: kworker/u8:3 Not tainted 6.8.0-rc4-next-20240214-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_preemption_disabled+0xb/0x120 lib/smp_processor_id.c:13 Code: 8b eb 1c 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 57 41 56 41 54 53 48 83 ec 10 <65> 48 8b 04 25 28 00 00 00 48 89 44 24 08 65 8b 1d 9c 78 92 74 65 RSP: 0018:ffffc900033e79a8 EFLAGS: 00000082 RAX: 0000000000000000 RBX: ffffc900033e7a40 RCX: ffffffff81717a14 RDX: 0000000000000000 RSI: ffffffff8baac5c0 RDI: ffffffff8bfea5c0 RBP: ffffc900033e7b40 R08: ffffffff8f86a4af R09: 1ffffffff1f0d495 R10: dffffc0000000000 R11: fffffbfff1f0d496 R12: 1ffff9200067cf44 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000246 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020005038 CR3: 000000008be18000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:462 [inline] lock_acquire+0x1a7/0x530 kernel/locking/lockdep.c:5753 rcu_lock_acquire include/linux/rcupdate.h:298 [inline] rcu_read_lock include/linux/rcupdate.h:750 [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:3146 [inline] process_scheduled_works+0x9d7/0x1730 kernel/workqueue.c:3226 worker_thread+0x86d/0xd70 kernel/workqueue.c:3307 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242