watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.1.1513:5423] Modules linked in: CPU: 1 PID: 5423 Comm: syz.1.1513 Tainted: G W 5.4.274-syzkaller-00002-g6f97bd951d82 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__read_once_size include/linux/compiler.h:268 [inline] RIP: 0010:queued_write_lock_slowpath+0x180/0x390 kernel/locking/qrwlock.c:79 Code: 00 00 00 42 0f b6 04 33 84 c0 4c 8b 64 24 08 74 37 44 89 f9 80 e1 07 80 c1 03 38 c1 7c 2a 4c 89 ff e8 b4 d2 47 00 eb 20 f3 90 <42> 0f b6 04 33 84 c0 74 15 44 89 f9 80 e1 07 80 c1 03 38 c1 7c 08 RSP: 0018:ffff8881f6f095c0 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff13 RAX: 00000000000001ff RBX: 1ffffffff0c7f88d RCX: ffffffff814c4e3b RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff863fc468 RBP: ffff8881f6f09670 R08: dffffc0000000000 R09: fffffbfff0c7f88e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103ede12c2 R13: 00000000000000ff R14: dffffc0000000000 R15: ffffffff863fc468 FS: 00007f5c0ee236c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa5034c8249 CR3: 00000001ed50e000 CR4: 00000000003406a0 DR0: 0000000020000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: queued_write_lock include/asm-generic/qrwlock.h:95 [inline] __raw_write_lock_bh include/linux/rwlock_api_smp.h:204 [inline] _raw_write_lock_bh+0x10a/0x170 kernel/locking/spinlock.c:319 neigh_forced_gc net/core/neighbour.c:237 [inline] neigh_alloc net/core/neighbour.c:430 [inline] ___neigh_create+0x202/0x1ae0 net/core/neighbour.c:592 ip6_finish_output2+0x965/0x18e0 net/ipv6/ip6_output.c:141 NF_HOOK_COND include/linux/netfilter.h:292 [inline] ip6_output+0x1b3/0x430 net/ipv6/ip6_output.c:248 dst_output include/net/dst.h:438 [inline] NF_HOOK include/linux/netfilter.h:303 [inline] ndisc_send_skb+0x702/0xc30 net/ipv6/ndisc.c:509 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3953 call_timer_fn+0x36/0x390 kernel/time/timer.c:1448 expire_timers kernel/time/timer.c:1493 [inline] __run_timers+0x879/0xbe0 kernel/time/timer.c:1817 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x195/0x1c0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:538 [inline] smp_apic_timer_interrupt+0x11a/0x460 arch/x86/kernel/apic/apic.c:1149 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834 RIP: 0010:memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:64 Code: c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 aa 4c 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 RSP: 0018:ffff8881dc1e73f0 EFLAGS: 00010246 ORIG_RAX: ffffffffffffff13 RAX: ffff8881cfe88000 RBX: 0000000000000dc0 RCX: 0000000000000800 RDX: 0000000000001000 RSI: 0000000000000000 RDI: ffff8881cfe88800 RBP: ffff8881f5c0c280 R08: 0000000000000000 R09: ffff8881cfe88000 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881cfe88000 R13: ffff8881f5c0c280 R14: 0000000000000920 R15: 0000000000000dc0 slab_alloc_node mm/slub.c:2826 [inline] slab_alloc mm/slub.c:2837 [inline] kmem_cache_alloc_trace+0x252/0x260 mm/slub.c:2854 kmalloc include/linux/slab.h:556 [inline] kzalloc include/linux/slab.h:690 [inline] kobject_uevent_env+0x26f/0x710 lib/kobject_uevent.c:524 device_del+0xe8a/0xfa0 drivers/base/core.c:3095 rollback_registered_many+0xed6/0x1330 net/core/dev.c:8655 rollback_registered net/core/dev.c:8673 [inline] unregister_netdevice_queue+0x333/0x500 net/core/dev.c:9767 unregister_netdevice include/linux/netdevice.h:2726 [inline] __tun_detach+0x8de/0x1390 drivers/net/tun.c:747 tun_detach drivers/net/tun.c:763 [inline] tun_chr_close+0x8f/0x130 drivers/net/tun.c:3558 __fput+0x262/0x680 fs/file_table.c:281 task_work_run+0x140/0x170 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xcaf/0x2bc0 kernel/exit.c:859 do_group_exit+0x138/0x300 kernel/exit.c:982 get_signal+0xdb1/0x1440 kernel/signal.c:2735 do_signal+0xb0/0x11f0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0xc0/0x1a0 arch/x86/entry/common.c:159 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f5c0fba1b99 Code: Bad RIP value. RSP: 002b:00007f5c0ee23048 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: 0000000000000005 RBX: 00007f5c0fd2ffa0 RCX: 00007f5c0fba1b99 RDX: 00000000000026e1 RSI: 0000000020000240 RDI: ffffffffffffff9c RBP: 00007f5c0fc2277e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f5c0fd2ffa0 R15: 00007ffec04f8a08 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4369 Comm: syz.1.1296 Tainted: G W 5.4.274-syzkaller-00002-g6f97bd951d82 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__wrmsr arch/x86/include/asm/msr.h:105 [inline] RIP: 0010:native_apic_msr_eoi_write+0x0/0x10 arch/x86/include/asm/apic.h:212 Code: 83 c3 10 48 89 d8 48 c1 e8 03 80 3c 28 00 74 08 48 89 df e8 32 60 65 00 48 8b 03 bf f0 03 00 00 44 89 f6 5b 41 5e 5d ff e0 90 0b 08 00 00 31 c0 31 d2 0f 30 c3 0f 1f 40 00 81 ff cf 00 00 00 RSP: 0018:ffff8881f6e09098 EFLAGS: 00000046 RAX: 1ffffffff0ac643a RBX: ffffffff856321d0 RCX: ffffffff86e99903 RDX: 0000000000000502 RSI: 0000000000000000 RDI: 00000000000000b0 RBP: 0000000000000000 R08: ffffffff82316ca1 R09: ffffffff86e92018 R10: ffffffff86e92003 R11: 1ffffffff0dd2400 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fc34bfce6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc34cd6db6f CR3: 0000000005e0e000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: apic_eoi arch/x86/include/asm/apic.h:400 [inline] ack_APIC_irq arch/x86/include/asm/apic.h:446 [inline] ipi_entering_ack_irq arch/x86/include/asm/apic.h:532 [inline] smp_irq_work_interrupt+0x5a/0x250 arch/x86/kernel/irq_work.c:18 irq_work_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:865 RIP: 0010:stack_trace_consume_entry+0xf8/0x240 kernel/stacktrace.c:93 Code: 00 00 00 e8 3a 88 10 00 31 c0 e9 8a 00 00 00 e8 2e 88 10 00 48 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 80 3c 30 00 <74> 08 48 89 df e8 1e 6d 40 00 48 8b 1b 41 8d 6d 01 43 0f b6 04 37 RSP: 0018:ffff8881f6e09188 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff09 RAX: 1ffff1103edc1258 RBX: ffff8881f6e092c0 RCX: ffff8881ef344ec0 RDX: 0000000000000502 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 1ffff1103edc1259 R08: ffffffff8153b3af R09: ffff8881f6e09230 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103edc1259 R13: 0000000000000004 R14: dffffc0000000000 R15: 1ffff1103edc125a arch_stack_walk+0x105/0x140 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x118/0x1c0 kernel/stacktrace.c:123 save_stack mm/kasan/common.c:70 [inline] set_track mm/kasan/common.c:78 [inline] __kasan_kmalloc+0x171/0x210 mm/kasan/common.c:529 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2829 [inline] slab_alloc mm/slub.c:2837 [inline] kmem_cache_alloc+0xd9/0x250 mm/slub.c:2842 kmem_cache_alloc_node include/linux/slab.h:427 [inline] __alloc_skb+0x7a/0x4d0 net/core/skbuff.c:198 alloc_skb include/linux/skbuff.h:1080 [inline] nlmsg_new include/net/netlink.h:888 [inline] __neigh_notify+0x7c/0x130 net/core/neighbour.c:3370 neigh_cleanup_and_release+0x2b/0x210 net/core/neighbour.c:102 neigh_del net/core/neighbour.c:198 [inline] neigh_remove_one+0x350/0x3b0 net/core/neighbour.c:219 neigh_forced_gc net/core/neighbour.c:252 [inline] neigh_alloc net/core/neighbour.c:430 [inline] ___neigh_create+0x3b3/0x1ae0 net/core/neighbour.c:592 ip6_finish_output2+0x965/0x18e0 net/ipv6/ip6_output.c:141 NF_HOOK_COND include/linux/netfilter.h:292 [inline] ip6_output+0x1b3/0x430 net/ipv6/ip6_output.c:248 dst_output include/net/dst.h:438 [inline] NF_HOOK include/linux/netfilter.h:303 [inline] ndisc_send_skb+0x702/0xc30 net/ipv6/ndisc.c:509 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3953 call_timer_fn+0x36/0x390 kernel/time/timer.c:1448 expire_timers kernel/time/timer.c:1493 [inline] __run_timers+0x879/0xbe0 kernel/time/timer.c:1817 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x195/0x1c0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:538 [inline] smp_apic_timer_interrupt+0x11a/0x460 arch/x86/kernel/apic/apic.c:1149 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834 RIP: 0010:__read_once_size_nocheck+0x3/0x10 include/linux/compiler.h:286 Code: 80 e1 07 38 c1 0f 8c ae fc ff ff 48 89 df e8 d4 37 64 00 48 ba 00 00 00 00 00 fc ff df e9 97 fc ff ff e8 e0 07 0b 00 48 8b 07 <48> 89 06 c3 66 0f 1f 84 00 00 00 00 00 be 17 00 00 00 48 c7 c7 a0 RSP: 0018:ffff8881ea4172d8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: ffffffff813e9441 RBX: 1ffff1103d482e84 RCX: 1ffff1103d482ebc RDX: ffffffff867c13da RSI: ffff8881ea417420 RDI: ffff8881ea417c28 RBP: ffff8881ea4175d0 R08: 0000000000000001 R09: ffff8881ea417630 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff0cf827b R13: ffff8881ea417420 R14: ffff8881ea417c28 R15: dffffc0000000000 deref_stack_reg arch/x86/kernel/unwind_orc.c:350 [inline] unwind_next_frame+0xfab/0x1ea0 arch/x86/kernel/unwind_orc.c:526 arch_stack_walk+0x111/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1c0 kernel/stacktrace.c:123 save_stack mm/kasan/common.c:70 [inline] set_track mm/kasan/common.c:78 [inline] kasan_set_free_info mm/kasan/common.c:345 [inline] __kasan_slab_free+0x1b5/0x270 mm/kasan/common.c:487 slab_free_hook mm/slub.c:1455 [inline] slab_free_freelist_hook mm/slub.c:1494 [inline] slab_free mm/slub.c:3080 [inline] kmem_cache_free+0x10b/0x2c0 mm/slub.c:3096 kref_put include/linux/kref.h:65 [inline] put_uts_ns include/linux/utsname.h:45 [inline] free_nsproxy+0xa4/0x230 kernel/nsproxy.c:174 do_exit+0xcaa/0x2bc0 kernel/exit.c:858 do_group_exit+0x138/0x300 kernel/exit.c:982 get_signal+0xdb1/0x1440 kernel/signal.c:2735 do_signal+0xb0/0x11f0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0xc0/0x1a0 arch/x86/entry/common.c:159 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7fc34cd6db99 Code: Bad RIP value. RSP: 002b:00007fc34bfce048 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: 0000000000000006 RBX: 00007fc34cefc078 RCX: 00007fc34cd6db99 RDX: 0000000000200002 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007fc34cdee77e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc34cefc078 R15: 00007ffcb4b0b7e8