INFO: task syz-executor.1:8604 blocked for more than 143 seconds. Not tainted 5.15.127-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:22512 pid: 8604 ppid: 3528 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6514 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 xfs_qm_dqfree_one+0x66/0x170 fs/xfs/xfs_qm.c:1607 xfs_qm_shrink_scan+0x314/0x3d0 fs/xfs/xfs_qm.c:523 do_shrink_slab+0x542/0xda0 mm/vmscan.c:758 shrink_slab+0x233/0x960 mm/vmscan.c:918 drop_slab_node+0xed/0x180 mm/vmscan.c:953 drop_slab+0x8b/0x120 mm/vmscan.c:963 drop_caches_sysctl_handler+0xb3/0x160 fs/drop_caches.c:66 proc_sys_call_handler+0x541/0x8a0 fs/proc/proc_sysctl.c:587 do_iter_readv_writev+0x594/0x7a0 do_iter_write+0x1ea/0x760 fs/read_write.c:855 iter_file_splice_write+0x806/0xfa0 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xe3/0x1c0 fs/splice.c:936 splice_direct_to_actor+0x500/0xc10 fs/splice.c:891 do_splice_direct+0x285/0x3d0 fs/splice.c:979 do_sendfile+0x625/0xff0 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1311 [inline] __se_sys_sendfile64+0xfc/0x1e0 fs/read_write.c:1303 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f2c52960ae9 RSP: 002b:00007f2c50ee20c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f2c52a7ff80 RCX: 00007f2c52960ae9 RDX: 0000000020002080 RSI: 0000000000000004 RDI: 0000000000000005 RBP: 00007f2c529ac47a R08: 0000000000000000 R09: 0000000000000000 R10: 000000001eee061f R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c52a7ff80 R15: 00007ffd95dcfb38 INFO: task syz-executor.2:8606 blocked for more than 143 seconds. Not tainted 5.15.127-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24248 pid: 8606 ppid: 3543 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 schedule_timeout+0xac/0x300 kernel/time/timer.c:1860 do_wait_for_common+0x2d9/0x480 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x48/0x60 kernel/sched/completion.c:138 xfs_buf_iowait+0xb4/0x400 fs/xfs/xfs_buf.c:1573 xfs_buf_delwri_pushbuf+0x2cf/0x4b0 fs/xfs/xfs_buf.c:2251 xfs_qm_flush_one+0x266/0x350 fs/xfs/xfs_qm.c:1249 xfs_qm_dquot_walk+0x22a/0x4a0 fs/xfs/xfs_qm.c:86 xfs_qm_quotacheck+0x2f7/0x640 fs/xfs/xfs_qm.c:1335 xfs_qm_mount_quotas+0x328/0x610 fs/xfs/xfs_qm.c:1441 xfs_mountfs+0x162b/0x1ca0 fs/xfs/xfs_mount.c:904 xfs_fs_fill_super+0xfd4/0x1210 fs/xfs/xfs_super.c:1658 get_tree_bdev+0x3fe/0x620 fs/super.c:1312 vfs_get_tree+0x88/0x270 fs/super.c:1517 do_new_mount+0x28b/0xae0 fs/namespace.c:2994 do_mount fs/namespace.c:3337 [inline] __do_sys_mount fs/namespace.c:3545 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3522 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f3ff44501ea RSP: 002b:00007f3ff29cfee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f3ff29cff80 RCX: 00007f3ff44501ea RDX: 0000000020009700 RSI: 0000000020009740 RDI: 00007f3ff29cff40 RBP: 0000000020009700 R08: 00007f3ff29cff80 R09: 0000000002010c04 R10: 0000000002010c04 R11: 0000000000000202 R12: 0000000020009740 R13: 00007f3ff29cff40 R14: 00000000000096cb R15: 0000000020000000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91f0a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3245: #0: ffff8880255d6098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 3 locks held by kworker/u4:7/3710: 3 locks held by syz-executor.1/8604: #0: ffff888024926460 (sb_writers#4){.+.+}-{0:0}, at: do_sendfile+0x600/0xff0 fs/read_write.c:1248 #1: ffffffff8c9bd430 (shrinker_rwsem){++++}-{3:3}, at: shrink_slab+0x125/0x960 mm/vmscan.c:908 #2: ffff88801ab65158 (&qinf->qi_tree_lock){+.+.}-{3:3}, at: xfs_qm_dqfree_one+0x66/0x170 fs/xfs/xfs_qm.c:1607 3 locks held by syz-executor.2/8606: #0: ffff8880920620e0 (&type->s_umount_key#76/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffff88801ab65158 (&qinf->qi_tree_lock){+.+.}-{3:3}, at: xfs_qm_dquot_walk+0x132/0x4a0 fs/xfs/xfs_qm.c:73 #2: ffff888067e77a48 (&dqp->q_qlock){+.+.}-{3:3}, at: xfs_dqlock fs/xfs/xfs_dquot.h:133 [inline] #2: ffff888067e77a48 (&dqp->q_qlock){+.+.}-{3:3}, at: xfs_qm_flush_one+0xca/0x350 fs/xfs/xfs_qm.c:1225 2 locks held by syz-executor.5/8642: #0: ffff8880a1bbc0e0 (&type->s_umount_key#73/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bd430 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bd430 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 3 locks held by syz-executor.0/8657: #0: ffff888018745888 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: get_tree_bdev+0x197/0x620 fs/super.c:1272 #1: ffff8880a2c880e0 (&type->s_umount_key#76/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #2: ffffffff8c9bd430 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #2: ffffffff8c9bd430 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.4/8659: #0: ffff8880a268e0e0 (&type->s_umount_key#70/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bd430 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bd430 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.2/8668: #0: ffff88807b0d00e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bd430 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bd430 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.1/8671: #0: ffff8880a40720e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bd430 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bd430 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.2/8681: #0: ffff88801b0b60e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bd430 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bd430 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.1/8686: #0: ffff88801d7300e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bd430 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bd430 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.127-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3710 Comm: kworker/u4:7 Not tainted 5.15.127-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:rcu_preempt_read_enter kernel/rcu/tree_plugin.h:375 [inline] RIP: 0010:__rcu_read_lock+0x2b/0xb0 kernel/rcu/tree_plugin.h:398 Code: 41 57 41 56 53 49 be 00 00 00 00 00 fc ff df 65 4c 8b 3d 18 d2 96 7e 49 81 c7 3c 04 00 00 4c 89 fb 48 c1 eb 03 42 0f b6 04 33 <84> c0 75 2f 41 8b 2f ff c5 42 0f b6 04 33 84 c0 75 38 41 89 2f 42 RSP: 0018:ffffc90004da7a38 EFLAGS: 00000a07 RAX: 0000000000000000 RBX: 1ffff11003bd6baf RCX: 1ffff110034a3bf0 RDX: 0000000000000000 RSI: 0000000000000100 RDI: ffffffff8ad87900 RBP: ffffc90004da7b98 R08: dffffc0000000000 R09: fffffbfff1bc80ee R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807d286000 R13: ffff88801a51df80 R14: dffffc0000000000 R15: ffff88801deb5d7c FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000655000 CR3: 00000000228a1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:694 [inline] batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:755 [inline] batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:826 [inline] batadv_iv_ogm_schedule+0x424/0x1000 net/batman-adv/bat_iv_ogm.c:869 batadv_iv_send_outstanding_bat_ogm_packet+0x6fa/0x800 net/batman-adv/bat_iv_ogm.c:1713 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298