INFO: task syz.2.667:8894 blocked for more than 143 seconds. Not tainted 6.13.0-rc1-next-20241205-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.667 state:D stack:26168 pid:8894 tgid:8890 ppid:5830 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 __schedule_loop kernel/sched/core.c:6835 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6850 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 fs/namei.c:2112 [inline] link_path_walk+0x99b/0xea0 fs/namei.c:2477 path_lookupat+0xa9/0x450 fs/namei.c:2633 do_o_path+0x95/0x230 fs/namei.c:3958 path_openat+0x2ebf/0x3590 fs/namei.c:3980 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 fs/open.c:1395 do_sys_open fs/open.c:1410 [inline] __do_sys_openat fs/open.c:1426 [inline] __se_sys_openat fs/open.c:1421 [inline] __x64_sys_openat+0x247/0x2a0 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:0x7ff49997fed9 RSP: 002b:00007ff49a835058 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ff499b46080 RCX: 00007ff49997fed9 RDX: 0000000000200002 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007ff4999f3cc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ff499b46080 R15: 00007ffdd364df48 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: 1 lock held by khungtaskd/30: #0: ffffffff8e9374a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e9374a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e9374a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 3 locks held by kworker/u8:4/63: #0: ffff8880b863e998 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:606 #1: ffff8880b8628948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987 #2: ffff88807cb78768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6034 [inline] #2: ffff88807cb78768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xcf/0x490 net/wireless/core.c:424 3 locks held by kworker/0:2/1206: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc9000468fd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000468fd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffff88807d3f7240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1490 1 lock held by dhcpcd/5499: #0: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline] #0: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: devinet_ioctl+0x31a/0x1ac0 net/ipv4/devinet.c:1129 2 locks held by getty/5588: #0: ffff8880354920a0 (&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 1 lock held by syz-executor/5817: 3 locks held by kworker/u8:9/6023: #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: ffffc90004507d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90004507d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 1 lock held by syz.2.667/8891: 1 lock held by syz.2.667/8894: #0: ffff888057cd9680 (&type->i_mutex_dir_key#20){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:840 [inline] #0: ffff888057cd9680 (&type->i_mutex_dir_key#20){++++}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1807 2 locks held by syz.5.889/10033: #0: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3517 #1: ffffffff8e93c9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #1: ffffffff8e93c9b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 2 locks held by syz-executor/10115: #0: ffffffff901a15b0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff901a15b0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff901a15b0 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x22/0x250 net/core/rtnetlink.c:555 #1: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline] #1: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xbb0/0x20e0 net/core/rtnetlink.c:4008 1 lock held by syz.4.918/10173: #0: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: do_ip_setsockopt+0x127d/0x3cd0 net/ipv4/ip_sockglue.c:1077 1 lock held by syz.4.918/10174: #0: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: do_ip_setsockopt+0x127d/0x3cd0 net/ipv4/ip_sockglue.c:1077 1 lock held by syz.4.918/10176: #0: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_add_ifaddr+0x1fc/0x340 net/ipv6/addrconf.c:3185 1 lock held by syz.4.918/10177: #0: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_add_ifaddr+0x1fc/0x340 net/ipv6/addrconf.c:3185 1 lock held by syz.4.918/10178: #0: ffffffff8fcb8188 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_del_ifaddr+0xff/0x1c0 net/ipv6/addrconf.c:3202 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc1-next-20241205-syzkaller #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: 5817 Comm: syz-executor Not tainted 6.13.0-rc1-next-20241205-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__might_fault+0x9c/0x120 mm/memory.c:6822 Code: 48 81 c3 50 05 00 00 49 89 df 49 c1 ef 03 43 80 3c 27 00 74 08 48 89 df e8 81 a7 18 00 48 8b 2b 48 85 ed 74 5a e8 04 4e b2 ff <48> 81 c5 e0 01 00 00 4c 8d 35 00 00 00 00 48 89 ef 31 f6 31 d2 b9 RSP: 0018:ffffc900037c7d28 EFLAGS: 00000293 RAX: ffffffff81ed0e1c RBX: ffff888034552350 RCX: ffff888034551e00 RDX: 0000000000000000 RSI: ffff888034551e00 RDI: ffffc900037c7ca0 RBP: ffff888011a0e400 R08: ffffffff81ed0dd1 R09: 0000000000000000 R10: ffffc900037c7dc0 R11: fffff520006f8fba R12: dffffc0000000000 R13: ffffc900037c7dc0 R14: 00000000000000a2 R15: 1ffff110068aa46a FS: 0000555564b16500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555858c65c8 CR3: 0000000058a28000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: _inline_copy_from_user include/linux/uaccess.h:162 [inline] _copy_from_user+0x2a/0xc0 lib/usercopy.c:18 copy_from_user include/linux/uaccess.h:212 [inline] get_timespec64+0x97/0x280 kernel/time/time.c:877 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1391 [inline] __se_sys_clock_nanosleep+0x1a5/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:0x7f29c23b2743 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 fe ed 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:00007ffe0feb05a8 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f29c23b2743 RDX: 00007ffe0feb05c0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000010ba3813 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffe0feb0a00 R13: 0000000000000004 R14: 00007ffe0feb05fc R15: 00007ffe0feb0680