INFO: task kworker/u4:16:3966 blocked for more than 143 seconds. Not tainted 5.15.125-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:16 state:D stack:22816 pid: 3966 ppid: 2 flags:0x00004000 Workqueue: netns cleanup_net 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 rwsem_down_write_slowpath+0xebb/0x15c0 kernel/locking/rwsem.c:1157 __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1293 [inline] down_write+0x164/0x170 kernel/locking/rwsem.c:1542 unregister_shrinker+0x60/0x320 mm/vmscan.c:678 nfsd_reply_cache_shutdown+0x2d/0x260 fs/nfsd/nfscache.c:215 nfsd_exit_net+0x1f/0x50 fs/nfsd/nfsctl.c:1507 ops_exit_list net/core/net_namespace.c:169 [inline] cleanup_net+0x6ce/0xb60 net/core/net_namespace.c:596 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 INFO: task syz-executor.2:5839 blocked for more than 143 seconds. Not tainted 5.15.125-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:22176 pid: 5839 ppid: 3531 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:0x7f2f425ffae9 RSP: 002b:00007f2f40b810c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f2f4271ef80 RCX: 00007f2f425ffae9 RDX: 0000000020002080 RSI: 0000000000000005 RDI: 0000000000000006 RBP: 00007f2f4264b47a R08: 0000000000000000 R09: 0000000000000000 R10: 000000001eee061f R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2f4271ef80 R15: 00007ffeace671d8 INFO: task syz-executor.3:5845 blocked for more than 144 seconds. Not tainted 5.15.125-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:23584 pid: 5845 ppid: 3533 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:0x7f0c1a8491ea RSP: 002b:00007f0c18dc8ee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f0c18dc8f80 RCX: 00007f0c1a8491ea RDX: 0000000020009700 RSI: 0000000020009740 RDI: 00007f0c18dc8f40 RBP: 0000000020009700 R08: 00007f0c18dc8f80 R09: 0000000002000000 R10: 0000000002000000 R11: 0000000000000202 R12: 0000000020009740 R13: 00007f0c18dc8f40 R14: 00000000000096cb R15: 0000000020000000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91efe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3251: #0: ffff88814b722098 (&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 4 locks held by kworker/u4:16/3966: #0: ffff888011dc5138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900064d7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8d9d5310 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:558 #3: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: unregister_shrinker+0x60/0x320 mm/vmscan.c:678 3 locks held by syz-executor.2/5839: #0: ffff88807f30c460 (sb_writers#4){.+.+}-{0:0}, at: do_sendfile+0x600/0xff0 fs/read_write.c:1248 #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: shrink_slab+0x125/0x960 mm/vmscan.c:908 #2: ffff888078dc0158 (&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.3/5845: #0: ffff888077d440e0 (&type->s_umount_key#69/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffff888078dc0158 (&qinf->qi_tree_lock){+.+.}-{3:3}, at: xfs_qm_dquot_walk+0x132/0x4a0 fs/xfs/xfs_qm.c:73 #2: ffff8880720d6668 (&dqp->q_qlock){+.+.}-{3:3}, at: xfs_dqlock fs/xfs/xfs_dquot.h:133 [inline] #2: ffff8880720d6668 (&dqp->q_qlock){+.+.}-{3:3}, at: xfs_qm_flush_one+0xca/0x350 fs/xfs/xfs_qm.c:1225 3 locks held by syz-executor.5/5888: #0: ffff8881408c9dc8 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: get_tree_bdev+0x197/0x620 fs/super.c:1263 #1: ffff88801e62a0e0 (&type->s_umount_key#69/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #2: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #2: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.0/5891: #0: ffff8880761a00e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.0/5896: #0: ffffffff8d9d5310 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x37b/0x5d0 net/core/net_namespace.c:469 #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: register_shrinker_prepared mm/vmscan.c:653 [inline] #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: register_shrinker+0x49/0x120 mm/vmscan.c:665 3 locks held by syz-executor.4/5890: #0: ffff8881408c9208 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: get_tree_bdev+0x197/0x620 fs/super.c:1263 #1: ffff88807a6f60e0 (&type->s_umount_key#69/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #2: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #2: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.1/5904: #0: ffff88807698a0e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.1/5908: #0: ffffffff8d9d5310 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x37b/0x5d0 net/core/net_namespace.c:469 #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: register_shrinker_prepared mm/vmscan.c:653 [inline] #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: register_shrinker+0x49/0x120 mm/vmscan.c:665 2 locks held by syz-executor.2/5914: #0: ffff88814b2140e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.3/5916: #0: ffff88814b20c0e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.0/5919: #0: ffff88807df500e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.4/5923: #0: ffff8880796540e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.2/5926: #0: ffff8880318060e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_shrinker+0x92/0x7c0 mm/vmscan.c:620 2 locks held by syz-executor.3/5930: #0: ffff8880314740e0 (&type->s_umount_key#23/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffffffff8c9bd1b0 (shrinker_rwsem){++++}-{3:3}, at: prealloc_memcg_shrinker mm/vmscan.c:359 [inline] #1: ffffffff8c9bd1b0 (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.125-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: 3571 Comm: kworker/0:5 Not tainted 5.15.125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: events nsim_dev_trap_report_work RIP: 0010:memset_erms+0x0/0x10 arch/x86/lib/memset_64.S:61 Code: 89 f9 48 89 d1 83 e2 07 48 c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 <49> 89 f9 40 88 f0 48 89 d1 f3 aa 4c 89 c8 c3 90 49 89 fa 40 0f b6 RSP: 0018:ffffc90003c7f240 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffc90003c7f350 RCX: ffffffff813873a8 RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc90003c7f350 RBP: ffffffff8e63a00a R08: dffffc0000000000 R09: fffff5200078fe6c R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1cc7401 R13: 1ffffffff1cc7401 R14: ffffffff8e63a006 R15: ffffc90003c7f300 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c001972000 CR3: 000000007dc5d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0xbc8/0x1fa0 arch/x86/kernel/unwind_orc.c:547 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 __set_page_owner+0x37/0x300 mm/page_owner.c:181 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x322a/0x33c0 mm/page_alloc.c:4159 __alloc_pages+0x272/0x700 mm/page_alloc.c:5421 alloc_slab_page mm/slub.c:1775 [inline] allocate_slab mm/slub.c:1912 [inline] new_slab+0xbb/0x4b0 mm/slub.c:1975 ___slab_alloc+0x6f6/0xe10 mm/slub.c:3008 __slab_alloc mm/slub.c:3095 [inline] slab_alloc_node mm/slub.c:3186 [inline] __kmalloc_node_track_caller+0x1f6/0x390 mm/slub.c:4958 kmalloc_reserve net/core/skbuff.c:356 [inline] __alloc_skb+0x12c/0x590 net/core/skbuff.c:427 alloc_skb include/linux/skbuff.h:1167 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:664 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:721 [inline] nsim_dev_trap_report_work+0x25e/0xab0 drivers/net/netdevsim/dev.c:762 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