INFO: task syz.2.14:5983 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-10689-g7af08b57bcb9 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.14 state:D stack:27360 pid:5983 tgid:5957 ppid:5844 flags:0x00000004 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 d_wait_lookup fs/dcache.c:2477 [inline] d_alloc_parallel+0xc16/0x1600 fs/dcache.c:2559 __lookup_slow+0x117/0x3f0 fs/namei.c:1776 lookup_slow+0x53/0x70 fs/namei.c:1808 walk_component+0x2e1/0x410 fs/namei.c:2112 lookup_last fs/namei.c:2610 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2634 filename_lookup+0x2a3/0x670 fs/namei.c:2663 user_path_at+0x3a/0x60 fs/namei.c:3070 __do_sys_chdir fs/open.c:553 [inline] __se_sys_chdir+0xbc/0x220 fs/open.c:547 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:0x7ff94ed80809 RSP: 002b:00007ff94fc03058 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007ff94ef46160 RCX: 00007ff94ed80809 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200001c0 RBP: 00007ff94edf393e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ff94ef46160 R15: 00007fff75c3cf88 INFO: task syz.2.14:5984 blocked for more than 144 seconds. Not tainted 6.12.0-syzkaller-10689-g7af08b57bcb9 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.14 state:D stack:27360 pid:5984 tgid:5957 ppid:5844 flags:0x00000004 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 d_wait_lookup fs/dcache.c:2477 [inline] d_alloc_parallel+0xc16/0x1600 fs/dcache.c:2559 lookup_open fs/namei.c:3571 [inline] open_last_lookups fs/namei.c:3748 [inline] path_openat+0x9e6/0x3590 fs/namei.c:3984 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_open fs/open.c:1425 [inline] __se_sys_open fs/open.c:1421 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1421 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:0x7ff94ed80809 RSP: 002b:00007ff94fbe2058 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ff94ef46240 RCX: 00007ff94ed80809 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007ff94edf393e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ff94ef46240 R15: 00007fff75c3cf88 INFO: task syz.2.14:5985 blocked for more than 144 seconds. Not tainted 6.12.0-syzkaller-10689-g7af08b57bcb9 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.14 state:D stack:27360 pid:5985 tgid:5957 ppid:5844 flags:0x00000004 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+0x1d7/0x220 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:818 [inline] open_last_lookups fs/namei.c:3745 [inline] path_openat+0x89a/0x3590 fs/namei.c:3984 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_creat fs/open.c:1495 [inline] __se_sys_creat fs/open.c:1489 [inline] __x64_sys_creat+0x123/0x170 fs/open.c:1489 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:0x7ff94ed80809 RSP: 002b:00007ff94fbc1058 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff94ef46320 RCX: 00007ff94ed80809 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000580 RBP: 00007ff94edf393e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ff94ef46320 R15: 00007fff75c3cf88 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: 1 lock held by khungtaskd/30: #0: ffffffff8e93c560 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e93c560 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e93c560 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 4 locks held by kworker/u8:4/80: #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc9000212fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000212fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8fcc9110 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:586 #3: ffffffff8fcd5c48 (rtnl_mutex){+.+.}-{4:4}, at: fib6_rules_net_exit_batch+0x20/0xc0 net/ipv6/fib6_rules.c:547 3 locks held by kworker/u8:6/1102: #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: ffffc90003e1fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90003e1fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8fcd5c48 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 1 lock held by dhcpcd/5510: #0: ffffffff8fcd5c48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcd5c48 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6923 2 locks held by getty/5594: #0: ffff88803146b0a0 (&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+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by syz.2.14/5958: #0: ffff888056ac4180 (&type->i_mutex_dir_key#11){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:828 [inline] #0: ffff888056ac4180 (&type->i_mutex_dir_key#11){++++}-{4:4}, at: open_last_lookups fs/namei.c:3747 [inline] #0: ffff888056ac4180 (&type->i_mutex_dir_key#11){++++}-{4:4}, at: path_openat+0x88b/0x3590 fs/namei.c:3984 #1: ffff8880b863e758 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598 #2: ffff8880b8628948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987 1 lock held by syz.2.14/5972: 1 lock held by syz.2.14/5983: #0: ffff888056ac4180 (&type->i_mutex_dir_key#11){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:828 [inline] #0: ffff888056ac4180 (&type->i_mutex_dir_key#11){++++}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1807 1 lock held by syz.2.14/5984: #0: ffff888056ac4180 (&type->i_mutex_dir_key#11){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:828 [inline] #0: ffff888056ac4180 (&type->i_mutex_dir_key#11){++++}-{4:4}, at: open_last_lookups fs/namei.c:3747 [inline] #0: ffff888056ac4180 (&type->i_mutex_dir_key#11){++++}-{4:4}, at: path_openat+0x88b/0x3590 fs/namei.c:3984 2 locks held by syz.2.14/5985: #0: ffff888034b5c420 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 #1: ffff888056ac4180 (&type->i_mutex_dir_key#11){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline] #1: ffff888056ac4180 (&type->i_mutex_dir_key#11){++++}-{4:4}, at: open_last_lookups fs/namei.c:3745 [inline] #1: ffff888056ac4180 (&type->i_mutex_dir_key#11){++++}-{4:4}, at: path_openat+0x89a/0x3590 fs/namei.c:3984 3 locks held by syz-executor/7861: #0: ffffffff901f2570 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff901f2570 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff901f2570 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x22/0x250 net/core/rtnetlink.c:555 #1: ffffffff8fcd5c48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffffffff8fcd5c48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline] #1: ffffffff8fcd5c48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xd04/0x24f0 net/core/rtnetlink.c:4006 #2: ffffffff8e941af8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #2: ffffffff8e941af8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-10689-g7af08b57bcb9 #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: 5828 Comm: syz-executor Not tainted 6.12.0-syzkaller-10689-g7af08b57bcb9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:lock_is_held_type+0x126/0x190 kernel/locking/lockdep.c:5923 Code: e8 7f 1a 00 00 b8 ff ff ff ff 65 0f c1 05 42 69 38 74 83 f8 01 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 <75> 4c 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 48 RSP: 0018:ffffc90003b6f838 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000080000002 RDX: 0000000000000001 RSI: ffffffff8c0aeb60 RDI: ffffffff8c608460 RBP: 0000000000000001 R08: ffff88807a4eda07 R09: ffff88807a4eda00 R10: dffffc0000000000 R11: ffffed100f49db41 R12: 0000000000000046 R13: ffff88807a4eda00 R14: 00000000ffffffff R15: ffffffff8e93c4e0 FS: 00005555663ee500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f31dfbca440 CR3: 000000007972c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:249 [inline] rcu_read_lock_sched_held+0x8d/0x130 kernel/rcu/update.c:126 task_css_set include/linux/cgroup.h:421 [inline] task_dfl_cgroup include/linux/cgroup.h:490 [inline] task_psi_group+0x50/0x1a0 kernel/sched/psi.c:880 psi_task_switch+0xc8/0x7a0 kernel/sched/psi.c:929 psi_sched_switch kernel/sched/stats.h:216 [inline] __schedule+0x21ca/0x4be0 kernel/sched/core.c:6751 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 do_nanosleep+0x197/0x600 kernel/time/hrtimer.c:2079 hrtimer_nanosleep+0x1ec/0x410 kernel/time/hrtimer.c:2126 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1402 [inline] __se_sys_clock_nanosleep+0x32b/0x3c0 kernel/time/posix-timers.c:1379 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:0x7f8e835b28a3 Code: 1f 84 00 00 00 00 00 83 ff 03 74 7b 83 ff 02 b8 fa ff ff ff 49 89 ca 0f 44 f8 80 3d 9e ec 15 00 00 74 14 b8 e6 00 00 00 0f 05 d8 c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 28 48 89 54 24 10 RSP: 002b:00007ffc34fe6f38 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8e835b28a3 RDX: 00007ffc34fe6f50 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 000000002647e252 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc34fe7390 R13: 0000000000000004 R14: 00007ffc34fe6f8c R15: 00007ffc34fe7010