watchdog: BUG: soft lockup - CPU#0 stuck for 225s! [syz-executor:2828] Modules linked in: CPU: 0 PID: 2828 Comm: syz-executor Not tainted 6.1.84-syzkaller-00005-g96d66062d076 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] RIP: 0010:queued_write_lock_slowpath+0x15a/0x547 kernel/locking/qrwlock.c:85 Code: 00 01 00 00 bb ff 00 00 00 43 0f b6 44 3d 00 84 c0 74 38 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 2b 4c 89 f7 e8 58 76 bb fc eb 21 90 43 0f b6 44 3d 00 84 c0 74 15 44 89 f1 80 e1 07 80 c1 03 38 RSP: 0018:ffffc900092dec80 EFLAGS: 00000206 RAX: 00000000000001ff RBX: 00000000000000ff RCX: ffffffff85011bdc RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff879e5e60 RBP: ffffc900092ded30 R08: dffffc0000000000 R09: fffffbfff0f3cbcd R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200125bd9a R13: 1ffffffff0f3cbcc R14: ffffffff879e5e60 R15: dffffc0000000000 FS: 0000555555f81500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcea92ffd8 CR3: 0000000142630000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: queued_write_lock include/asm-generic/qrwlock.h:101 [inline] __raw_write_lock include/linux/rwlock_api_smp.h:210 [inline] _raw_write_lock+0x10a/0x170 kernel/locking/spinlock.c:300 register_netdevice+0xe51/0x1490 net/core/dev.c:10107 veth_newlink+0x5db/0xc70 drivers/net/veth.c:1744 rtnl_newlink_create net/core/rtnetlink.c:3390 [inline] __rtnl_newlink net/core/rtnetlink.c:3610 [inline] rtnl_newlink+0x14c6/0x2030 net/core/rtnetlink.c:3623 rtnetlink_rcv_msg+0x9a5/0xca0 net/core/rtnetlink.c:6121 netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2518 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:6139 netlink_unicast_kernel net/netlink/af_netlink.c:1327 [inline] netlink_unicast+0x906/0xab0 net/netlink/af_netlink.c:1353 netlink_sendmsg+0xa15/0xd30 net/netlink/af_netlink.c:1875 sock_sendmsg_nosec net/socket.c:716 [inline] __sock_sendmsg net/socket.c:728 [inline] __sys_sendto+0x480/0x600 net/socket.c:2138 __do_sys_sendto net/socket.c:2150 [inline] __se_sys_sendto net/socket.c:2146 [inline] __x64_sys_sendto+0xe5/0x100 net/socket.c:2146 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f475eb77913 Code: 64 89 02 48 c7 c0 ff ff ff ff eb b7 66 2e 0f 1f 84 00 00 00 00 00 90 80 3d 31 dc 15 00 00 41 89 ca 74 14 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 75 c3 0f 1f 40 00 55 48 83 ec 30 44 89 4c 24 RSP: 002b:00007ffebf113d78 EFLAGS: 00000202 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f475f834620 RCX: 00007f475eb77913 RDX: 000000000000006c RSI: 00007f475f834670 RDI: 0000000000000003 RBP: 0000000000000001 R08: 00007ffebf113d94 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f475f834670 R15: 0000000000000000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 590 Comm: syz.3.85 Not tainted 6.1.84-syzkaller-00005-g96d66062d076 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:230 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:147 [inline] RIP: 0010:wrmsr arch/x86/include/asm/msr.h:254 [inline] RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:205 Code: 74 05 83 ff 30 75 12 5d c3 81 ff d0 00 00 00 74 f6 81 ff e0 00 00 00 74 ee c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 eb d9 89 f6 31 d2 e8 8a c1 6a 01 5d c3 0f 1f 84 00 00 00 00 RSP: 0018:ffffc900001b0278 EFLAGS: 00000046 RAX: 0000000000000105 RBX: ffffffff86510a30 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 0000000000000105 RDI: 0000000000000838 RBP: ffffc900001b0278 R08: ffffffff8169f81b R09: ffffffff8169f70d R10: 0000000000000002 R11: ffff888115d73cc0 R12: 0000000000000020 R13: dffffc0000000000 R14: 0000000000000105 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f475ecce1b8 CR3: 0000000142b46000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:393 [inline] lapic_next_event+0x5f/0x70 arch/x86/kernel/apic/apic.c:478 clockevents_program_event+0x1c1/0x300 kernel/time/clockevents.c:334 tick_program_event+0x9f/0x120 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x625/0xaa0 kernel/time/hrtimer.c:1824 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x44/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:arch_stack_walk+0x108/0x140 arch/x86/kernel/stacktrace.c:25 Code: ff ff ff 00 74 32 48 8d 9d 70 ff ff ff 48 89 df e8 0d 9b 05 00 48 85 c0 74 1e 4c 89 f7 48 89 c6 41 ff d5 84 c0 74 11 48 89 df 23 9c 05 00 83 bd 70 ff ff ff 00 75 d5 65 48 8b 04 25 28 00 00 RSP: 0018:ffffc900001b0540 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffc900001b0540 RCX: ffffffff87768000 RDX: dffffc0000000000 RSI: ffffffff8166cb9b RDI: ffffc900001b0540 RBP: ffffc900001b05d0 R08: ffffc900001b0628 R09: 0000000000000009 R10: ffffc900001b0630 R11: dffffc0000000001 R12: ffff888115d73cc0 R13: ffffffff8165a700 R14: ffffc900001b0620 R15: 0000000000000000 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:379 [inline] __kasan_kmalloc+0x9c/0xb0 mm/kasan/common.c:388 kasan_kmalloc include/linux/kasan.h:212 [inline] kmalloc_trace+0x44/0xa0 mm/slab_common.c:1052 kmalloc include/linux/slab.h:556 [inline] dst_cow_metrics_generic+0x55/0x1c0 net/core/dst.c:199 dst_metrics_write_ptr include/net/dst.h:119 [inline] dst_metric_set include/net/dst.h:180 [inline] icmp6_dst_alloc+0x363/0x510 net/ipv6/route.c:3279 ndisc_send_skb+0x28b/0xdc0 net/ipv6/ndisc.c:489 ndisc_send_rs+0x47d/0x5f0 net/ipv6/ndisc.c:719 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3983 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1510 expire_timers kernel/time/timer.c:1555 [inline] __run_timers+0x72a/0xa10 kernel/time/timer.c:1826 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1839 __do_softirq+0x1d8/0x661 kernel/softirq.c:617 invoke_softirq kernel/softirq.c:472 [inline] __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:700 irq_exit_rcu+0x9/0x10 kernel/softirq.c:712 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:543 [inline] RIP: 0010:queued_write_lock include/asm-generic/qrwlock.h:98 [inline] RIP: 0010:__raw_write_lock include/linux/rwlock_api_smp.h:210 [inline] RIP: 0010:_raw_write_lock+0xbc/0x170 kernel/locking/spinlock.c:300 Code: e8 29 a3 bb fc 4c 89 ff be 04 00 00 00 e8 1c a3 bb fc 43 0f b6 04 26 84 c0 75 7d 8b 44 24 20 b9 ff 00 00 00 f0 41 0f b1 4d 00 <75> 33 48 c7 04 24 0e 36 e0 45 49 c7 04 1c 00 00 00 00 65 48 8b 04 RSP: 0018:ffffc9000a49f620 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff92001493ec4 RCX: 00000000000000ff RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc9000a49f640 RBP: ffffc9000a49f6b0 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffffff879e5e60 R14: 1ffff92001493ec8 R15: ffffc9000a49f640 netdev_run_todo+0x1e5/0xd00 net/core/dev.c:10393 rtnl_unlock+0xe/0x10 net/core/rtnetlink.c:147 tun_detach drivers/net/tun.c:704 [inline] tun_chr_close+0xc4/0x140 drivers/net/tun.c:3487 __fput+0x3ab/0x870 fs/file_table.c:320 ____fput+0x15/0x20 fs/file_table.c:348 task_work_run+0x24d/0x2e0 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xbd5/0x2b80 kernel/exit.c:875 do_group_exit+0x21a/0x2d0 kernel/exit.c:1025 get_signal+0x169d/0x1820 kernel/signal.c:2880 arch_do_signal_or_restart+0xb0/0x16f0 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x74/0xa0 kernel/entry/common.c:174 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:210 irqentry_exit_to_user_mode+0x9/0x10 kernel/entry/common.c:316 irqentry_exit+0x12/0x40 kernel/entry/common.c:419 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0033:0x7f7095d75bd9 Code: Unable to access opcode bytes at 0x7f7095d75baf. RSP: 002b:00007f7096bac0f8 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 00007f7095f04040 RCX: 00007f7095d75bd9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f7095f04044 RBP: 00007f7095f04038 R08: 00007fffc8bec0b0 R09: 00007f7096bac6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7095f04044 R13: 000000000000000b R14: 00007fffc8b56d00 R15: 00007fffc8b56de8