INFO: task syz-executor.3:21024 blocked for more than 143 seconds. Not tainted 6.4.0-rc7-syzkaller-00019-g99ec1ed7c2ed #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24352 pid:21024 ppid:5027 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 xlog_grant_head_wait+0x387/0x910 fs/xfs/xfs_log.c:307 xlog_grant_head_check+0x299/0x480 xfs_log_reserve+0x3c4/0xb10 fs/xfs/xfs_log.c:486 xlog_unmount_write fs/xfs/xfs_log.c:994 [inline] xfs_log_unmount_write fs/xfs/xfs_log.c:1065 [inline] xfs_log_clean+0x218/0xc10 fs/xfs/xfs_log.c:1117 xfs_log_unmount+0x2c/0x1c0 fs/xfs/xfs_log.c:1131 xfs_unmountfs+0x1d6/0x280 fs/xfs/xfs_mount.c:1096 xfs_fs_put_super+0x74/0x2d0 fs/xfs/xfs_super.c:1130 generic_shutdown_super+0x134/0x340 fs/super.c:500 kill_block_super+0x84/0xf0 fs/super.c:1407 deactivate_locked_super+0xa4/0x110 fs/super.c:331 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1177 task_work_run+0x24a/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:297 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb18668d8ba RSP: 002b:00007fb18741df88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffec RBX: 000000000000bb28 RCX: 00007fb18668d8ba RDX: 000000002000bb00 RSI: 0000000020000240 RDI: 00007fb18741dfe0 RBP: 00007fb18741e020 R08: 00007fb18741e020 R09: 0000000002000080 R10: 0000000002000080 R11: 0000000000000202 R12: 000000002000bb00 R13: 0000000020000240 R14: 00007fb18741dfe0 R15: 0000000020000280 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cf276f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cf27ab0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8cf27520 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/1:2/900: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90004bcfd20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 #2: ffff8880152a9240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489 2 locks held by udevd/4448: 2 locks held by getty/4754: #0: ffff888028fb4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176 3 locks held by kworker/u4:13/11662: #0: ffff8880b983c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff8880b98287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:996 #2: ffffffff91d52930 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:1011 [inline] #2: ffffffff91d52930 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0xd6/0x650 lib/debugobjects.c:1054 2 locks held by kworker/u4:22/11671: 1 lock held by syz-executor.3/21024: #0: ffff88807a5c40e0 (&type->s_umount_key#49){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361 1 lock held by syz-executor.2/21975: #0: ffff88807a5c40e0 (&type->s_umount_key#49){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 1 lock held by syz-executor.5/22127: 1 lock held by syz-executor.0/22126: 1 lock held by syz-executor.2/22139: #0: ffff88807a5c40e0 (&type->s_umount_key#49){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc7-syzkaller-00019-g99ec1ed7c2ed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9 Comm: kworker/0:1 Not tainted 6.4.0-rc7-syzkaller-00019-g99ec1ed7c2ed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: events nsim_dev_trap_report_work RIP: 0010:lockdep_hardirqs_on_prepare+0x1c7/0x7a0 kernel/locking/lockdep.c:4334 Code: 48 c1 e8 03 80 3c 10 00 74 0f e8 54 7a 78 00 48 ba 00 00 00 00 00 fc ff df 4c 89 7c 24 18 48 8b 44 24 10 4c 8b b0 b8 0a 00 00 <48> 8d b8 a0 0a 00 00 48 89 f8 48 c1 e8 03 80 3c 10 00 74 05 e8 c0 RSP: 0018:ffffc900000e7920 EFLAGS: 00000046 RAX: ffff888014a58000 RBX: 1ffff9200001cf2c RCX: ffffffff91b23103 RDX: dffffc0000000000 RSI: ffffffff8b384940 RDI: ffff888014a58ab8 RBP: ffffc900000e79c8 R08: dffffc0000000000 R09: fffffbfff1cabc56 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff9200001cf3c R14: be44145c3c57bc7f R15: 1ffff9200001cf28 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb582387000 CR3: 0000000037bab000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x8f/0x140 kernel/locking/spinlock.c:194 __debug_check_no_obj_freed lib/debugobjects.c:1033 [inline] debug_check_no_obj_freed+0x5ca/0x650 lib/debugobjects.c:1054 slab_free_hook mm/slub.c:1756 [inline] slab_free_freelist_hook mm/slub.c:1807 [inline] slab_free mm/slub.c:3786 [inline] kmem_cache_free+0x246/0x520 mm/slub.c:3808 nsim_dev_trap_report drivers/net/netdevsim/dev.c:824 [inline] nsim_dev_trap_report_work+0x761/0xa90 drivers/net/netdevsim/dev.c:853 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308