INFO: task syz.1.609:12249 blocked for more than 143 seconds. Not tainted 6.13.0-rc1-syzkaller-00001-ge70140ba0d2b #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.609 state:D stack:23584 pid:12249 tgid:12246 ppid:10584 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1694 inode_lock_nested include/linux/fs.h:853 [inline] filename_create+0x260/0x540 fs/namei.c:4080 do_mkdirat+0xbd/0x3a0 fs/namei.c:4326 __do_sys_mkdirat fs/namei.c:4349 [inline] __se_sys_mkdirat fs/namei.c:4347 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4347 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f07f957e787 RSP: 002b:00007f07f73f5e88 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f07f73f5f10 RCX: 00007f07f957e787 RDX: 00000000000001ff RSI: 0000000020000100 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000000020000080 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000100 R13: 00007f07f73f5ed0 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937aa0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937aa0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937aa0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 2 locks held by kworker/u8:5/1141: 2 locks held by kworker/u8:6/3530: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc9000da17d00 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000da17d00 ((reaper_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 2 locks held by getty/5576: #0: ffff8880310e30a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by kworker/u8:10/10205: 2 locks held by syz.1.609/12247: 2 locks held by syz.1.609/12249: #0: ffff8880675f4420 (sb_writers#37){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 #1: ffff888079e386c0 (&type->i_mutex_dir_key#25/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:853 [inline] #1: ffff888079e386c0 (&type->i_mutex_dir_key#25/1){+.+.}-{4:4}, at: filename_create+0x260/0x540 fs/namei.c:4080 2 locks held by syz-executor/12689: #0: ffff88807d0940e0 (&type->s_umount_key#58){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88807d0940e0 (&type->s_umount_key#58){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88807d0940e0 (&type->s_umount_key#58){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8e9f8a88 (lock#3){+.+.}-{4:4}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:798 1 lock held by udevd/12712: #0: ffffffff8eeb6708 (uuid_mutex){+.+.}-{4:4}, at: btrfs_control_ioctl+0x150/0x410 fs/btrfs/super.c:2250 2 locks held by udevd/12826: 1 lock held by syz.8.787/14138: 2 locks held by syz.7.788/14137: #0: ffffffff8eeb6708 (uuid_mutex){+.+.}-{4:4}, at: btrfs_get_tree_super fs/btrfs/super.c:1841 [inline] #0: ffffffff8eeb6708 (uuid_mutex){+.+.}-{4:4}, at: btrfs_get_tree+0x2f4/0x1a10 fs/btrfs/super.c:2105 #1: ffffffff8e9f8a88 (lock#3){+.+.}-{4:4}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:798 2 locks held by syz.3.790/14154: #0: ffff888068d360e0 (&type->s_umount_key#55/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0 fs/super.c:344 #1: ffffffff8e7e3168 (wq_pool_mutex){+.+.}-{4:4}, at: apply_wqattrs_lock kernel/workqueue.c:5166 [inline] #1: ffffffff8e7e3168 (wq_pool_mutex){+.+.}-{4:4}, at: __alloc_workqueue+0xa55/0x1f20 kernel/workqueue.c:5720 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc1-syzkaller-00001-ge70140ba0d2b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 3 Comm: pool_workqueue_ Not tainted 6.13.0-rc1-syzkaller-00001-ge70140ba0d2b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:zap_class+0x142/0x840 kernel/locking/lockdep.c:6259 Code: 89 44 24 10 48 8d 1c c5 c0 27 df 93 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 46 48 8b 00 4c 8b 3b eb 03 4d 8b 3f <4d> 85 ff 74 bc 49 83 c7 f8 74 b6 4d 89 fd 49 c1 ed 03 43 0f b6 44 RSP: 0018:ffffc90000087c68 EFLAGS: 00000046 RAX: 1ffffffff27dd604 RBX: ffffffff93eeb020 RCX: 0000000000021250 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff94282a38 RBP: ffffffff931fcbe2 R08: ffffffff94282a3f R09: 1ffffffff2850547 R10: dffffc0000000000 R11: fffffbfff2850548 R12: 0000000000000dcd R13: 1ffffffff286f308 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fca4b559000 CR3: 0000000072974000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lockdep_free_key_range kernel/locking/lockdep.c:6385 [inline] lockdep_unregister_key+0x3d2/0x610 kernel/locking/lockdep.c:6587 wq_unregister_lockdep kernel/workqueue.c:4803 [inline] pwq_release_workfn+0x6d1/0x800 kernel/workqueue.c:5099 kthread_worker_fn+0x4f7/0xb70 kernel/kthread.c:844 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244