INFO: task syz.7.866:11425 blocked for more than 143 seconds. Not tainted 6.15.0-next-20250530-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.866 state:D stack:28904 pid:11425 tgid:11405 ppid:6397 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5396 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0x165/0x360 kernel/sched/core.c:6878 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6935 rwsem_down_write_slowpath+0xbec/0x1030 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+0x1b5/0x200 kernel/locking/rwsem.c:1694 inode_lock_nested include/linux/fs.h:912 [inline] lock_rename fs/namei.c:3272 [inline] do_renameat2+0x3dd/0xc50 fs/namei.c:5223 __do_sys_rename fs/namei.c:5324 [inline] __se_sys_rename fs/namei.c:5322 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:5322 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f610838e969 RSP: 002b:00007f610921e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f61085b6080 RCX: 00007f610838e969 RDX: 0000000000000000 RSI: 0000200000000200 RDI: 0000200000000580 RBP: 00007f6108410ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f61085b6080 R15: 00007ffd5db9b8a8 INFO: task syz.7.866:11430 blocked for more than 144 seconds. Not tainted 6.15.0-next-20250530-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.866 state:D stack:28904 pid:11430 tgid:11405 ppid:6397 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5396 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0x165/0x360 kernel/sched/core.c:6878 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6935 rwsem_down_read_slowpath+0x552/0x880 kernel/locking/rwsem.c:1084 __down_read_common kernel/locking/rwsem.c:1248 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0x98/0x2e0 kernel/locking/rwsem.c:1526 inode_lock_shared include/linux/fs.h:882 [inline] lookup_slow+0x46/0x70 fs/namei.c:1833 walk_component+0x2d2/0x400 fs/namei.c:2138 lookup_last fs/namei.c:2639 [inline] path_lookupat+0x163/0x430 fs/namei.c:2663 filename_lookup+0x212/0x570 fs/namei.c:2692 filename_listxattr fs/xattr.c:955 [inline] path_listxattrat+0x112/0x3a0 fs/xattr.c:988 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f610838e969 RSP: 002b:00007f61091fd038 EFLAGS: 00000246 ORIG_RAX: 00000000000000c2 RAX: ffffffffffffffda RBX: 00007f61085b6160 RCX: 00007f610838e969 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000380 RBP: 00007f6108410ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f61085b6160 R15: 00007ffd5db9b8a8 Showing all locks held in the system: 5 locks held by kworker/0:1/10: #0: ffff888140461d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff888140461d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc900000f7bc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc900000f7bc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 #2: ffff8880286d2198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline] #2: ffff8880286d2198 (&dev->mutex){....}-{4:4}, at: hub_event+0x184/0x4a00 drivers/usb/core/hub.c:5863 #3: ffff88805c5b8198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:884 [inline] #3: ffff88805c5b8198 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x400 drivers/base/dd.c:1004 #4: ffff88823be7e898 (&hub->status_mutex){+.+.}-{4:4}, at: hub_ext_port_status+0x53/0x820 drivers/usb/core/hub.c:621 2 locks held by kworker/1:0/24: #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc900001e7bc0 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc900001e7bc0 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 1 lock held by khungtaskd/31: #0: ffffffff8e13f140 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13f140 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13f140 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 4 locks held by kworker/u8:2/36: #0: ffff888140a8a148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff888140a8a148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc90000ac7bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90000ac7bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 #2: ffff888028ae80e0 (&type->s_umount_key#60){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:563 #3: ffff88805df5ddf8 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1ca/0x530 fs/jfs/inode.c:102 2 locks held by getty/5600: #0: ffff888030c070a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 1 lock held by syz-executor/6351: #0: ffffffff8e144c78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #0: ffffffff8e144c78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:998 1 lock held by dhcpcd/8839: #0: ffff88805de36e08 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #0: ffff88805de36e08 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: __sock_release net/socket.c:646 [inline] #0: ffff88805de36e08 (&sb->s_type->i_mutex_key#11){+.+.}-{4:4}, at: sock_close+0x9b/0x240 net/socket.c:1391 2 locks held by syz-executor/10520: #0: ffffffff8e8926a8 (bio_slab_lock){+.+.}-{4:4}, at: bio_put_slab block/bio.c:140 [inline] #0: ffffffff8e8926a8 (bio_slab_lock){+.+.}-{4:4}, at: bioset_exit+0x44a/0x690 block/bio.c:1758 #1: ffffffff8e144b40 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3782 4 locks held by syz.7.866/11406: 2 locks held by syz.7.866/11425: #0: ffff888028ae8428 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff88805df5e1a8 (&type->i_mutex_dir_key#19/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:912 [inline] #1: ffff88805df5e1a8 (&type->i_mutex_dir_key#19/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3272 [inline] #1: ffff88805df5e1a8 (&type->i_mutex_dir_key#19/1){+.+.}-{4:4}, at: do_renameat2+0x3dd/0xc50 fs/namei.c:5223 1 lock held by syz.7.866/11430: #0: ffff88805df5e1a8 (&type->i_mutex_dir_key#19){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:882 [inline] #0: ffff88805df5e1a8 (&type->i_mutex_dir_key#19){++++}-{4:4}, at: lookup_slow+0x46/0x70 fs/namei.c:1833 4 locks held by kworker/u8:14/11628: 1 lock held by syz-executor/12748: #0: ffffffff8e144c78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #0: ffffffff8e144c78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:998 1 lock held by syz.3.1140/13383: #0: ffffffff8e8926a8 (bio_slab_lock){+.+.}-{4:4}, at: bio_find_or_create_slab block/bio.c:122 [inline] #0: ffffffff8e8926a8 (bio_slab_lock){+.+.}-{4:4}, at: bioset_init+0x241/0x790 block/bio.c:1799 6 locks held by sed/13416: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-next-20250530-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:470 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 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.15.0-next-20250530-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:remove_class_from_lock_chain kernel/locking/lockdep.c:6200 [inline] RIP: 0010:remove_class_from_lock_chains kernel/locking/lockdep.c:6239 [inline] RIP: 0010:zap_class+0xfe/0x360 kernel/locking/lockdep.c:6284 Code: 30 93 a5 92 49 81 ff 00 00 50 00 73 30 41 0f b7 06 25 ff 1f 00 00 48 39 c3 74 33 49 ff c7 41 8b 45 00 89 c1 c1 e9 08 c1 e8 02 <83> e0 3f 01 c8 49 83 c6 02 49 39 c7 72 cc e9 9d 00 00 00 48 c7 c7 RSP: 0018:ffffc90000087bc0 EFLAGS: 00000006 RAX: 0000000000d364c5 RBX: 00000000000010b4 RCX: 0000000000034d93 RDX: ffffffff93a29388 RSI: ffffffff93a29388 RDI: ffffffff93529fe0 RBP: ffffffff93a497d0 R08: 0000000000000000 R09: ffffffff81ab44e8 R10: dffffc0000000000 R11: fffffbfff1f424ff R12: 000000000000e15d R13: ffffffff93bc0090 R14: ffffffff92ac2e5e R15: 0000000000034d98 FS: 0000000000000000(0000) GS:ffff888125d53000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555fdb0608 CR3: 0000000078574000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lockdep_free_key_range kernel/locking/lockdep.c:6410 [inline] lockdep_unregister_key+0x1a6/0x310 kernel/locking/lockdep.c:6612 wq_unregister_lockdep kernel/workqueue.c:4818 [inline] pwq_release_workfn+0x6d5/0x870 kernel/workqueue.c:5114 kthread_worker_fn+0x504/0xb60 kernel/kthread.c:1010 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245