INFO: task dhcpcd:4724 blocked for more than 143 seconds. Not tainted 6.8.0-rc7-syzkaller-00231-g09e5c48fea17 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:dhcpcd state:D stack:23088 pid:4724 tgid:4724 ppid:4723 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0xf12/0x5c60 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xe9/0x280 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5bd/0x9d0 kernel/locking/mutex.c:752 devinet_ioctl+0x1d3/0x1f20 net/ipv4/devinet.c:1091 inet_ioctl+0x3aa/0x3f0 net/ipv4/af_inet.c:1000 sock_do_ioctl+0x116/0x280 net/socket.c:1222 sock_ioctl+0x22e/0x6c0 net/socket.c:1341 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd5/0x270 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7fe3cd9ead49 RSP: 002b:00007ffd5352c048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fe3cd91c6c0 RCX: 00007fe3cd9ead49 RDX: 00007ffd5353c238 RSI: 0000000000008914 RDI: 0000000000000015 RBP: 00007ffd5354c3f8 R08: 00007ffd5353c1f8 R09: 00007ffd5353c1a8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd5353c238 R14: 0000000000000028 R15: 0000000000008914 INFO: task syz-executor.0:11545 blocked for more than 143 seconds. Not tainted 6.8.0-rc7-syzkaller-00231-g09e5c48fea17 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29472 pid:11545 tgid:11543 ppid:5110 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0xf12/0x5c60 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xe9/0x280 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5bd/0x9d0 kernel/locking/mutex.c:752 packet_mc_add+0x20/0x7e0 net/packet/af_packet.c:3671 packet_setsockopt+0x1da8/0x23b0 net/packet/af_packet.c:3793 do_sock_setsockopt+0x222/0x480 net/socket.c:2311 __sys_setsockopt+0x1a6/0x270 net/socket.c:2334 __do_sys_setsockopt net/socket.c:2343 [inline] __se_sys_setsockopt net/socket.c:2340 [inline] __x64_sys_setsockopt+0xbd/0x160 net/socket.c:2340 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd5/0x270 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f582c27dda9 RSP: 002b:00007f582cf810c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f582c3abf80 RCX: 00007f582c27dda9 RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000003 RBP: 00007f582c2ca47a R08: 0000000000000010 R09: 0000000000000000 R10: 0000000020000080 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f582c3abf80 R15: 00007ffca2f323f8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d7ad220 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d7ad220 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d7ad220 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 1 lock held by dhcpcd/4724: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x1d3/0x1f20 net/ipv4/devinet.c:1091 2 locks held by getty/4812: #0: ffff88802a4430a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015c02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfca/0x1490 drivers/tty/n_tty.c:2201 3 locks held by kworker/1:4/5018: #0: ffff8880297c7d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc90004b67d80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4686 3 locks held by kworker/1:3/10040: #0: ffff888014c78938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc90014fa7d80 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 3 locks held by kworker/0:7/1895: #0: ffff8880297c7d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc9000388fd80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4686 5 locks held by kworker/u4:3/8268: #0: ffff888014c7b938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc9001627fd80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffffffff8f2cfd10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9f/0xb20 net/core/net_namespace.c:580 #3: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0x8f/0xb30 net/core/dev.c:11583 #4: ffffffff8d7b8940 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4064 1 lock held by syz-executor.0/11545: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: packet_mc_add+0x20/0x7e0 net/packet/af_packet.c:3671 1 lock held by syz-executor.3/11628: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.1/11676: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.1/11679: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.1/11680: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.0/11750: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.2/11801: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.2/11802: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.2/11803: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.2/11804: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.2/11805: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: ipv6_route_ioctl+0x3ce/0x5a0 net/ipv6/route.c:4464 1 lock held by syz-executor.1/11808: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.3/11820: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.2/11844: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.4/11848: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.0/11851: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.4/11855: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.1/11859: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 1 lock held by syz-executor.3/11863: #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f2e50e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6614 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc7-syzkaller-00231-g09e5c48fea17 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x2c6/0x3b0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1611 Comm: kworker/1:1 Not tainted 6.8.0-rc7-syzkaller-00231-g09e5c48fea17 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Workqueue: events_power_efficient wg_ratelimiter_gc_entries RIP: 0010:__lock_release kernel/locking/lockdep.c:5420 [inline] RIP: 0010:lock_release+0x1df/0x690 kernel/locking/lockdep.c:5774 Code: 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 46 04 00 00 45 8b af b8 0a 00 00 <45> 85 ed 0f 84 c1 02 00 00 48 8d 4c 24 50 44 89 ea 4c 89 e6 4c 89 RSP: 0018:ffffc90003d0fbc0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000001 RDX: 1ffff110067ac157 RSI: ffffffff8b0cb680 RDI: ffffffff8b6e9980 RBP: 1ffff920007a1f7a R08: 0000000000000000 R09: fffffbfff1f3acca R10: ffffffff8f9d6657 R11: 0000000000000002 R12: ffffffff8e757d78 R13: 0000000000000003 R14: ffff888033d60ab8 R15: ffff888033d60000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055780d6b2d60 CR3: 000000001e324000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x16/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] wg_ratelimiter_gc_entries+0x2b0/0x520 drivers/net/wireguard/ratelimiter.c:76 process_one_work+0x889/0x15e0 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x8b9/0x12a0 kernel/workqueue.c:2787 kthread+0x2c6/0x3b0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243