INFO: task syz-executor.1:8304 blocked for more than 143 seconds. Not tainted 5.15.124-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:22368 pid: 8304 ppid: 3550 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:0x7fc8be8c9ae9 RSP: 002b:00007fc8bce4b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fc8be9e8f80 RCX: 00007fc8be8c9ae9 RDX: 0000000020002080 RSI: 0000000000000006 RDI: 0000000000000007 RBP: 00007fc8be91547a R08: 0000000000000000 R09: 0000000000000000 R10: 000000001eee061f R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc8be9e8f80 R15: 00007ffd4a285848 INFO: task syz-executor.2:8306 blocked for more than 143 seconds. Not tainted 5.15.124-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:23584 pid: 8306 ppid: 3553 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: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:0x7ff5045be1ea RSP: 002b:00007ff502b3dee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ff502b3df80 RCX: 00007ff5045be1ea RDX: 0000000020009700 RSI: 0000000020009740 RDI: 00007ff502b3df40 RBP: 0000000020009700 R08: 00007ff502b3df80 R09: 0000000002000000 R10: 0000000002000000 R11: 0000000000000202 R12: 0000000020009740 R13: 00007ff502b3df40 R14: 00000000000096cb R15: 0000000020000000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91e920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3258: #0: ffff8880254ee098 (&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 2 locks held by kworker/u4:10/5205: #0: ffff8880b9a396d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffffc900051dfd20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 3 locks held by syz-executor.1/8304: #0: ffff88807f5a2460 (sb_writers#4){.+.+}-{0:0}, at: do_sendfile+0x600/0xff0 fs/read_write.c:1248 #1: ffffffff8c9bcaf0 (shrinker_rwsem){++++}-{3:3}, at: shrink_slab+0x125/0x960 mm/vmscan.c:908 #2: ffff88801b2df158 (&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/8306: #0: ffff88803f6c60e0 (&type->s_umount_key#74/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffff88801b2df158 (&qinf->qi_tree_lock){+.+.}-{3:3}, at: xfs_qm_dquot_walk+0x132/0x4a0 fs/xfs/xfs_qm.c:73 #2: ffff888081e08548 (&dqp->q_qlock){+.+.}-{3:3}, at: xfs_dqlock fs/xfs/xfs_dquot.h:133 [inline] #2: ffff888081e08548 (&dqp->q_qlock){+.+.}-{3:3}, at: xfs_qm_flush_one+0xca/0x350 fs/xfs/xfs_qm.c:1225 2 locks held by syz-executor.2/8354: #0: ffff8880893680e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bcaf0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bcaf0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.1/8357: #0: ffff888087e0c0e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bcaf0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bcaf0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.2/8360: #0: ffff888039d500e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bcaf0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bcaf0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.1/8365: #0: ffff8880389a40e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bcaf0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bcaf0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.124-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2951 Comm: klogd Not tainted 5.15.124-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:deref_stack_reg+0xcd/0x110 arch/x86/kernel/unwind_orc.c:360 Code: 4c 89 ff 48 89 da e8 c2 81 f4 ff 85 c0 74 04 31 c0 eb 26 4c 89 ff e8 72 07 00 00 48 89 c3 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 <74> 08 4c 89 f7 e8 f9 02 91 00 49 89 1e b0 01 5b 41 5c 41 5d 41 5e RSP: 0018:ffffc90002b7ef10 EFLAGS: 00000246 RAX: 1ffff9200056fe08 RBX: ffff88802d043500 RCX: 0000000000000000 RDX: ffffc90002b7f040 RSI: ffffc90002b7f4f0 RDI: ffffc90002b7f4f0 RBP: ffffc90002b80000 R08: ffffc90002b7f4f0 R09: ffffc90002b7f050 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffc90002b78000 R14: ffffc90002b7f040 R15: ffffc90002b7f4f0 FS: 00007fb2223b0380(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b88517c600 CR3: 0000000025157000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0x12f1/0x1fa0 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:119 __reset_page_owner+0x52/0x180 mm/page_owner.c:140 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0xc34/0xcf0 mm/page_alloc.c:3317 free_unref_page+0x95/0x2d0 mm/page_alloc.c:3396 free_slab mm/slub.c:2015 [inline] discard_slab mm/slub.c:2021 [inline] __unfreeze_partials+0x1b7/0x210 mm/slub.c:2507 put_cpu_partial+0x132/0x1a0 mm/slub.c:2587 do_slab_free mm/slub.c:3487 [inline] ___cache_free+0xe3/0x100 mm/slub.c:3506 qlist_free_all+0x36/0x90 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x162/0x180 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xc0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x53/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] kmem_cache_alloc_node+0x121/0x2c0 mm/slub.c:3256 __alloc_skb+0xdd/0x590 net/core/skbuff.c:415 alloc_skb include/linux/skbuff.h:1167 [inline] alloc_skb_with_frags+0xa3/0x780 net/core/skbuff.c:6126 sock_alloc_send_pskb+0x915/0xa50 net/core/sock.c:2508 unix_dgram_sendmsg+0x6fd/0x2090 net/unix/af_unix.c:1812 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] __sys_sendto+0x564/0x720 net/socket.c:2039 __do_sys_sendto net/socket.c:2051 [inline] __se_sys_sendto net/socket.c:2047 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2047 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:0x7fb2225129b5 Code: 8b 44 24 08 48 83 c4 28 48 98 c3 48 98 c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 26 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 7a 48 8b 15 44 c4 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007fffd1eebf48 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fb2225129b5 RDX: 0000000000000049 RSI: 0000557a1cefb9d0 RDI: 0000000000000003 RBP: 0000557a1cef4910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000013 R13: 00007fb2226a0212 R14: 00007fffd1eec048 R15: 0000000000000000