INFO: task syz-executor.5:11656 blocked for more than 143 seconds. Not tainted 5.15.116-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:22080 pid:11656 ppid: 11318 flags:0x00004004 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:0x7fd689a7a169 RSP: 002b:00007fd687fec168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fd689b99f80 RCX: 00007fd689a7a169 RDX: 0000000020002080 RSI: 0000000000000004 RDI: 0000000000000005 RBP: 00007fd689ad5ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000875 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9b7f93af R14: 00007fd687fec300 R15: 0000000000022000 INFO: task syz-executor.1:11658 blocked for more than 143 seconds. Not tainted 5.15.116-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:23584 pid:11658 ppid: 11328 flags:0x00004004 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+0x100c/0x1240 fs/xfs/xfs_super.c:1658 get_tree_bdev+0x3fe/0x620 fs/super.c:1303 vfs_get_tree+0x88/0x270 fs/super.c:1508 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:0x7f957417369a RSP: 002b:00007f95726e3f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000000096cb RCX: 00007f957417369a RDX: 0000000020009700 RSI: 0000000020009740 RDI: 00007f95726e3fe0 RBP: 00007f95726e4020 R08: 00007f95726e4020 R09: 0000000002000000 R10: 0000000002000000 R11: 0000000000000202 R12: 0000000020009700 R13: 0000000020009740 R14: 00007f95726e3fe0 R15: 0000000020000000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91c5e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3266: #0: ffff8880241ca098 (&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/0x1da0 drivers/tty/n_tty.c:2147 3 locks held by kworker/0:9/3619: 3 locks held by kworker/u4:16/11420: 3 locks held by syz-executor.5/11656: #0: ffff88807e868460 (sb_writers#4){.+.+}-{0:0}, at: do_sendfile+0x600/0xff0 fs/read_write.c:1248 #1: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: shrink_slab+0x125/0x960 mm/vmscan.c:908 #2: ffff888018746158 (&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.1/11658: #0: ffff88804ad6a0e0 (&type->s_umount_key#51/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffff888018746158 (&qinf->qi_tree_lock){+.+.}-{3:3}, at: xfs_qm_dquot_walk+0x132/0x4a0 fs/xfs/xfs_qm.c:73 #2: ffff888074190f38 (&dqp->q_qlock){+.+.}-{3:3}, at: xfs_dqlock fs/xfs/xfs_dquot.h:133 [inline] #2: ffff888074190f38 (&dqp->q_qlock){+.+.}-{3:3}, at: xfs_qm_flush_one+0xca/0x350 fs/xfs/xfs_qm.c:1225 3 locks held by syz-executor.3/11683: #0: ffff888012038648 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: mount_bdev+0x8b/0x3f0 fs/super.c:1345 #1: ffff888037c800e0 (&type->s_umount_key#72/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #2: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #2: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 3 locks held by syz-executor.4/11686: #0: ffff888012039208 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: mount_bdev+0x8b/0x3f0 fs/super.c:1345 #1: ffff88803f43c0e0 (&type->s_umount_key#72/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #2: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #2: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 3 locks held by syz-executor.2/11704: #0: ffff888145baf008 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: get_tree_bdev+0x197/0x620 fs/super.c:1263 #1: ffff888036fc60e0 (&type->s_umount_key#68/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #2: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #2: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by kworker/u4:20/11706: 2 locks held by syz-executor.5/11710: #0: ffff8880756100e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.1/11714: #0: ffff8880753d20e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.3/11717: #0: ffff88804529a0e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.5/11726: #0: ffff888022a840e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.1/11733: #0: ffff8880494e00e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9ba130 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9ba130 (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.116-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/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: 11706 Comm: kworker/u4:20 Not tainted 5.15.116-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x7b/0x290 mm/kasan/generic.c:189 Code: 00 00 00 00 fc ff df 4f 8d 34 1a 4c 89 f5 4c 29 cd 48 83 fd 10 7f 26 48 85 ed 0f 84 3a 01 00 00 49 f7 d2 49 01 da 41 80 39 00 <0f> 85 c4 01 00 00 49 ff c1 49 ff c2 75 ee e9 1d 01 00 00 45 89 cf RSP: 0018:ffffc9000b0bf978 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffffffff1f79620 RCX: ffffffff816285a9 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fbcb100 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1f79620 R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000002 R13: ffff8880496cc668 R14: fffffbfff1f79621 R15: ffff8880496cc6e0 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c005a65000 CR3: 0000000023109000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:197 [inline] __lock_acquire+0x1209/0x1ff0 kernel/locking/lockdep.c:5008 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5622 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:269 rcu_read_lock include/linux/rcupdate.h:696 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0xc1/0x5b0 net/batman-adv/network-coding.c:723 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2307 worker_thread+0xaca/0x1280 kernel/workqueue.c:2454 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298