watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.0.354:1519] Modules linked in: CPU: 1 PID: 1519 Comm: syz.0.354 Not tainted 5.4.276-syzkaller-00021-g58de09405d1e #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 c4 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: 1ffffffff0c7f8a5 RCX: ffffffff814c4b1b RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff863fc528 RBP: ffff8881f6f09670 R08: dffffc0000000000 R09: fffffbfff0c7f8a6 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103ede12c2 R13: 00000000000000ff R14: dffffc0000000000 R15: ffffffff863fc528 FS: 00007fcab19016c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcab18bfd58 CR3: 00000001d3edb000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:3954 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:539 [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:balance_callback kernel/sched/core.c:3513 [inline] RIP: 0010:__schedule+0xb26/0x1320 kernel/sched/core.c:4313 Code: ef 4c 89 f6 e8 8b c1 0f 00 48 89 c7 e8 53 ea f4 fc 48 89 c3 49 89 de 48 81 c3 00 0a 00 00 48 89 d8 48 c1 e8 03 42 80 3c 20 00 <74> 08 48 89 df e8 40 de 43 fd 48 83 3b 00 0f 85 ca 01 00 00 48 c7 RSP: 0018:ffff8881ee197a80 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 1ffff1103edeb0a8 RBX: ffff8881f6f58540 RCX: 0000000000000002 RDX: 0000000040000002 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffff8881ee197b70 R08: ffffffff81799679 R09: fffffbfff0c96e7b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881ef586e40 R14: ffff8881f6f57b40 R15: 1ffff1103deb0e5d preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:4558 retint_kernel+0x1b/0x1b RIP: 0010:do_vfs_ioctl+0x1244/0x1720 fs/ioctl.c:731 Code: 00 00 4b c7 44 25 22 00 00 00 00 66 43 c7 44 25 2a 00 00 65 48 8b 04 25 28 00 00 00 48 3b 84 24 c0 01 00 00 0f 85 d3 04 00 00 <89> d8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 86 9c c4 ff RSP: 0018:ffff8881ee197cc0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 6a4e5ac3d4aa0000 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90006b73000 RSI: 00000000000004bb RDI: 00000000000004bc RBP: ffff8881ee197ed8 R08: ffffffff819f95c1 R09: ffffed103e22213e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103dc32fa4 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881e05c4000 ksys_ioctl fs/ioctl.c:742 [inline] __do_sys_ioctl fs/ioctl.c:749 [inline] __se_sys_ioctl fs/ioctl.c:747 [inline] __x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:747 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7fcab267fb99 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcab1901048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fcab280df60 RCX: 00007fcab267fb99 RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000005 RBP: 00007fcab26eea7a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fcab280df60 R15: 00007fffa45feaa8 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 820 Comm: syz.1.157 Not tainted 5.4.276-syzkaller-00021-g58de09405d1e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:put_recursion_context kernel/events/internal.h:230 [inline] RIP: 0010:perf_swevent_put_recursion_context kernel/events/core.c:8538 [inline] RIP: 0010:perf_pending_event+0x399/0x520 kernel/events/core.c:6102 Code: 1c dd 10 1f 63 85 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 d5 b6 17 00 48 8b 03 44 89 e9 48 8d 9c 88 84 4e 05 00 <48> 89 d8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 bd 00 00 00 ff 0b RSP: 0018:ffff8881f6e08cd8 EFLAGS: 00000046 RAX: ffff8881f6e00000 RBX: ffff8881f6e54e8c RCX: 0000000000000002 RDX: 0000000000010502 RSI: 0000000000000000 RDI: 0000000000000008 RBP: 0000000000000000 R08: ffffffff817c671f R09: ffffed103c56cb29 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000002 R14: ffff8881e0e4c268 R15: dffffc0000000000 FS: 00007fc5efadf6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc5f085db6f CR3: 0000000005e0e000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: irq_work_run_list+0x1b0/0x240 kernel/irq_work.c:165 irq_work_run+0x63/0xe0 kernel/irq_work.c:180 smp_irq_work_interrupt+0x7f/0x250 arch/x86/kernel/irq_work.c:21 irq_work_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:865 RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:27 [inline] RIP: 0010:__orc_find arch/x86/kernel/unwind_orc.c:49 [inline] RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:175 [inline] RIP: 0010:unwind_next_frame+0x612/0x1ea0 arch/x86/kernel/unwind_orc.c:438 Code: e8 3f 48 01 c8 48 83 e0 fe 49 8d 5c 45 00 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 75 27 48 63 03 <48> 01 d8 48 8d 4b 04 4c 39 e0 4c 0f 46 e9 48 8d 43 fc 4c 0f 47 f8 RSP: 0018:ffff8881f6e08ee0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff09 RAX: fffffffffad65fd7 RBX: ffffffff86504688 RCX: dffffc0000000000 RDX: ffffffff8650467c RSI: ffffffff867ab60c RDI: 0000000000000001 RBP: ffff8881f6e091d0 R08: 0000000000000007 R09: ffff8881f6e09230 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8126a61f R13: ffffffff8650467c R14: ffffffff8650467c R15: ffffffff86504694 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_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:3954 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:539 [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:uncharge_batch+0x3be/0x5c0 mm/memcontrol.c:6732 Code: 38 48 89 f8 48 c1 e8 03 80 3c 18 00 74 05 e8 19 68 fc ff 49 8b 74 24 38 4c 89 ff e8 0c f4 ff ff 4c 89 6c 24 38 ff 74 24 38 9d <41> 80 3c 1e 00 74 08 4c 89 e7 e8 f3 67 fc ff 4d 8b 3c 24 4c 39 3d RSP: 0018:ffff8881e7df7580 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 1ffff1103eb96827 RBX: dffffc0000000000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8881f5cb4500 RBP: ffff8881e7df7650 R08: ffffffff82316a19 R09: ffffed103eb968d8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881e7df76a0 R13: 0000000000000246 R14: 1ffff1103cfbeed4 R15: ffff8881f5cb4000 uncharge_list mm/memcontrol.c:6805 [inline] mem_cgroup_uncharge_list+0x114/0x160 mm/memcontrol.c:6844 release_pages+0xad0/0xb20 mm/swap.c:841 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:189 [inline] tlb_flush_mmu mm/mmu_gather.c:196 [inline] tlb_finish_mmu+0x177/0x320 mm/mmu_gather.c:277 exit_mmap+0x2dc/0x520 mm/mmap.c:3193 __mmput+0x8e/0x2c0 kernel/fork.c:1101 exit_mm kernel/exit.c:536 [inline] do_exit+0xc08/0x2bc0 kernel/exit.c:846 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 ret_from_intr+0x1c/0x1c RIP: 0033:0x7fc5f085db99 Code: Bad RIP value. RSP: 002b:00007fc5efadf048 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 00007fc5f09ebf60 RCX: 00007fc5f085db99 RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000004 RBP: 00007fc5f08cca7a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc5f09ebf60 R15: 00007ffe5a8788e8