INFO: task dhcpcd:4759 blocked for more than 143 seconds. Not tainted 6.10.0-rc3-next-20240611-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:dhcpcd state:D stack:20672 pid:4759 tgid:4759 ppid:4758 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 devinet_ioctl+0x2ce/0x1bc0 net/ipv4/devinet.c:1101 inet_ioctl+0x3d7/0x4f0 net/ipv4/af_inet.c:1003 sock_do_ioctl+0x158/0x460 net/socket.c:1222 sock_ioctl+0x629/0x8e0 net/socket.c:1341 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 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:0x7fc48789fd49 RSP: 002b:00007ffcb5e4e1a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc4877d16c0 RCX: 00007fc48789fd49 RDX: 00007ffcb5e5e398 RSI: 0000000000008914 RDI: 0000000000000018 RBP: 00007ffcb5e6e558 R08: 00007ffcb5e5e358 R09: 00007ffcb5e5e308 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcb5e5e398 R14: 0000000000000028 R15: 0000000000008914 Showing all locks held in the system: 3 locks held by kworker/u8:0/11: #0: ffff888029d6a948 ((wq_completion)ipv6_addrconf ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3223 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc90000107d00 ( (work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3224 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 #2: ffffffff8f5ef4c8 (rtnl_mutex ){+.+.}-{3:3} , at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 1 lock held by khungtaskd/30: #0: ffffffff8e3354a0 (rcu_read_lock){....}-{1:2} , at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] , at: rcu_read_lock include/linux/rcupdate.h:838 [inline] , at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6689 4 locks held by kworker/u8:5/328: #0: ffff888015ed5948 ( (wq_completion)netns){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3223 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc90002ec7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline] (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 #2: ffffffff8f5e2c90 (pernet_ops_rwsem ){++++}-{3:3} , at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8f5ef4c8 (rtnl_mutex){+.+.}-{3:3}, at: wg_destruct+0x25/0x2e0 drivers/net/wireguard/device.c:246 3 locks held by kworker/0:2/785: #0: ffff888015080948 ( (wq_completion)events){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3223 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc90003857d00 ( deferred_process_work){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3224 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 #2: ffffffff8f5ef4c8 (rtnl_mutex ){+.+.}-{3:3} , at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 1 lock held by dhcpcd/4759: #0: ffffffff8f5ef4c8 (rtnl_mutex ){+.+.}-{3:3} , at: devinet_ioctl+0x2ce/0x1bc0 net/ipv4/devinet.c:1101 2 locks held by getty/4847: #0: ffff88802f1f10a0 ( &tty->ldisc_sem){++++}-{0:0} , at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock ){+.+.}-{3:3} , at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:6/5173: #0: ffff888015081948 ( (wq_completion)events_power_efficient){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3223 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc9000485fd00 ((reg_check_chans).work ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3224 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 #2: ffffffff8f5ef4c8 ( rtnl_mutex ){+.+.}-{3:3} , at: reg_check_chans_work+0x91/0xea0 net/wireless/reg.c:2478 1 lock held by syz-executor.3/12268: #0: ffffffff8f5ef4c8 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:148 [inline] , at: __rtnl_newlink net/core/rtnetlink.c:3806 [inline] , at: rtnl_newlink+0xb5d/0x22b0 net/core/rtnetlink.c:3829 2 locks held by syz-executor.0/12330: 1 lock held by syz-executor.1/12373: #0: ffffffff8f5ef4c8 ( rtnl_mutex){+.+.}-{3:3} , at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724 1 lock held by syz-executor.2/12387: #0: ffffffff8f5ef4c8 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724 1 lock held by syz-executor.4/12393: #0: ffffffff8f5ef4c8 ( rtnl_mutex ){+.+.}-{3:3} , at: ip_mroute_setsockopt+0x15b/0x1190 net/ipv4/ipmr.c:1369 1 lock held by syz-executor.4/12395: #0: ffffffff8f5ef4c8 ( rtnl_mutex){+.+.}-{3:3} , at: ip_mroute_setsockopt+0x15b/0x1190 net/ipv4/ipmr.c:1369 1 lock held by syz-executor.0/12399: #0: ffffffff8f5ef4c8 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724 1 lock held by syz-executor.1/12402: #0: ffffffff8f5ef4c8 ( rtnl_mutex){+.+.}-{3:3} , at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724 1 lock held by syz-executor.2/12405: #0: ffffffff8f5ef4c8 ( rtnl_mutex){+.+.}-{3:3} , at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724 1 lock held by syz-executor.4/12410: #0: ffffffff8f5ef4c8 ( rtnl_mutex){+.+.}-{3:3} , at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724 1 lock held by syz-executor.3/12414: #0: ffffffff8f5ef4c8 ( rtnl_mutex){+.+.}-{3:3} , at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724 1 lock held by syz-executor.1/12420: #0: ffffffff8f5ef4c8 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724 1 lock held by syz-executor.0/12423: #0: ffffffff8f5ef4c8 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724 1 lock held by syz-executor.4/12429: #0: ffffffff8f5ef4c8 (rtnl_mutex ){+.+.}-{3:3} , at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724 1 lock held by syz-executor.2/12432: #0: ffffffff8f5ef4c8 ( rtnl_mutex){+.+.}-{3:3} , at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724 1 lock held by syz-executor.3/12438: #0: ffffffff8f5ef4c8 (rtnl_mutex ){+.+.}-{3:3} , at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6724 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc3-next-20240611-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:91 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:117 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:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: DEBUG: waiting rtnl_mutex for 4654 jiffies. NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.10.0-rc3-next-20240611-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:delay_tsc+0x5c/0xe0 arch/x86/lib/delay.c:79 Code: 90 48 89 d5 48 c1 e5 20 48 09 c5 48 29 dd 4c 39 f5 73 67 bf 01 00 00 00 e8 c1 a0 db f5 65 8b 05 72 04 7d 74 85 c0 74 2f f3 90 01 00 00 00 e8 0a 9f db f5 e8 15 f5 03 00 41 39 c7 75 20 0f 01 RSP: 0018:ffffc90000007478 EFLAGS: 00000006 RAX: 0000000000000103 RBX: 000001ac485b9bec RCX: 0000000000000104 RDX: 00000000000001ac RSI: ffffffff8c200740 RDI: 0000000000000001 RBP: 00000000000000ee R08: ffffffff853e50e4 R09: 1ffff11003f8d046 R10: dffffc0000000000 R11: ffffffff8b86d140 R12: dffffc0000000000 R13: ffffffff94803bb0 R14: 0000000000000899 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6e882e5000 CR3: 000000000e132000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: wait_for_lsr drivers/tty/serial/8250/8250_port.c:2074 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3315 [inline] serial8250_console_write+0x1328/0x1ed0 drivers/tty/serial/8250/8250_port.c:3393 console_emit_next_record kernel/printk/printk.c:2975 [inline] console_flush_all+0x880/0xf50 kernel/printk/printk.c:3047 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3118 vprintk_emit+0x7a1/0x900 kernel/printk/printk.c:2420 _printk+0xd5/0x120 kernel/printk/printk.c:2447 report_rtnl_holders+0x1b2/0x2d0 net/core/rtnetlink.c:101 call_timer_fn+0x18e/0x650 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers kernel/time/timer.c:2417 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2428 run_timer_base kernel/time/timer.c:2437 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2447 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline] RIP: 0010:acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:113 Code: 90 90 90 90 90 90 90 90 90 65 48 8b 04 25 00 d6 03 00 48 f7 00 08 00 00 00 75 10 66 90 0f 00 2d 85 c1 9e 00 f3 0f 1e fa fb f4 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 RSP: 0018:ffffffff8e007ca8 EFLAGS: 00000246 RAX: ffffffff8e094680 RBX: ffff88801be99064 RCX: 00000000003a5679 RDX: 0000000000000001 RSI: ffff88801be99000 RDI: ffff88801be99064 RBP: 000000000003a6b8 R08: ffff8880b9437d0b R09: 1ffff11017286fa1 R10: dffffc0000000000 R11: ffffffff8b8adbb0 R12: ffff88801cf38000 R13: 0000000000000000 R14: 0000000000000001 R15: ffffffff8ead2820 acpi_idle_enter+0xe4/0x140 drivers/acpi/processor_idle.c:707 cpuidle_enter_state+0x112/0x480 drivers/cpuidle/cpuidle.c:267 cpuidle_enter+0x5d/0xa0 drivers/cpuidle/cpuidle.c:388 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:230 [inline] do_idle+0x375/0x5d0 kernel/sched/idle.c:326 cpu_startup_entry+0x42/0x60 kernel/sched/idle.c:424 rest_init+0x2dc/0x300 init/main.c:747 start_kernel+0x47a/0x500 init/main.c:1103 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0x9f/0xa0 arch/x86/kernel/head64.c:488 common_startup_64+0x13e/0x147