watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.3.1754:6983]
Modules linked in:
CPU: 1 PID: 6983 Comm: syz.3.1754 Tainted: G W 5.4.274-syzkaller-00002-g6f97bd951d82 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:queued_write_lock_slowpath+0x1a1/0x390 kernel/locking/qrwlock.c:79
Code: 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 4c 89 ff e8 92 d2 47 00 41 8b 07 <3d> 00 01 00 00 75 d6 43 0f b6 04 34 84 c0 75 53 c7 44 24 50 00 01
RSP: 0018:ffff8881f6f095c0 EFLAGS: 00000246 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: 00007fd263d5a6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200029c0 CR3: 00000001b84a1000 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_create+0xd22/0x1ae0 net/core/neighbour.c:626
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:unwind_next_frame+0x1217/0x1ea0 arch/x86/kernel/unwind_orc.c:566
Code: e8 45 c8 1f 03 e9 f5 05 00 00 80 3d d9 c7 19 05 00 0f 85 e8 05 00 00 c6 05 cc c7 19 05 01 48 c7 c7 40 b0 a6 84 e9 88 05 00 00 <4c> 8d b4 24 00 01 00 00 4c 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08
RSP: 0018:ffff8881bbb171a0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff8881bbb18000 RBX: ffff8881bbb18000 RCX: ffffffff8675ea48
RDX: ffffffff86b32c42 RSI: 0000000000000001 RDI: ffff8881bbb174b0
RBP: ffff8881bbb17490 R08: 0000000000000004 R09: ffff8881bbb174f0
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff0d66588
R13: ffff8881bbb174a0 R14: ffff8881bbb10000 R15: dffffc0000000000
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]
kfree+0x123/0x370 mm/slub.c:4071
context_add_hash+0x1c4/0x270 security/selinux/ss/services.c:1484
context_struct_to_sid security/selinux/ss/services.c:1497 [inline]
security_compute_sid+0x11a7/0x1d60 security/selinux/ss/services.c:1861
security_transition_sid+0x78/0x90 security/selinux/ss/services.c:1886
socket_sockcreate_sid security/selinux/hooks.c:4585 [inline]
selinux_socket_post_create+0x37f/0x500 security/selinux/hooks.c:4638
security_socket_post_create+0x86/0xc0 security/security.c:2020
__sock_create+0x46d/0x7a0 net/socket.c:1443
sock_create net/socket.c:1478 [inline]
__sys_socketpair+0x28f/0x6e0 net/socket.c:1578
__do_sys_socketpair net/socket.c:1631 [inline]
__se_sys_socketpair net/socket.c:1628 [inline]
__x64_sys_socketpair+0x97/0xb0 net/socket.c:1628
do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x7fd264ad8ae9
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:00007fd263d5a048 EFLAGS: 00000246 ORIG_RAX: 0000000000000035
RAX: ffffffffffffffda RBX: 00007fd264c66fa0 RCX: 00007fd264ad8ae9
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000001
RBP: 00007fd264b59746 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000200029c0 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fd264c66fa0 R15: 00007ffcbb11a208
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4106 Comm: syz.1.1078 Tainted: G W 5.4.274-syzkaller-00002-g6f97bd951d82 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x4d/0x80 kernel/locking/spinlock.c:191
Code: 74 0c 48 c7 c7 90 3b eb 85 e8 ef 12 43 fd 48 83 3d 47 2d 9a 01 00 74 36 48 89 df e8 5d e8 fa fc 66 90 4c 89 34 24 ff 34 24 9d 01 00 00 00 e8 d9 d4 f3 fc 65 8b 05 1e 7f b1 7b 85 c0 74 08 48
RSP: 0018:ffff8881f6e08b40 EFLAGS: 00000046
RAX: 0000000000000001 RBX: ffff8881f6e4b600 RCX: dffffc0000000000
RDX: 0000000000010504 RSI: 0000000000000046 RDI: ffff8881f6e4b600
RBP: ffff8881f6e08cc0 R08: ffffffff844c0fbd R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8881f6e4b600
R13: ffff8881ddd22158 R14: 0000000000000046 R15: ffff8881f6e4b600
FS: 00007fc5284646c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc5291e2abf CR3: 00000001c04e2000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
__run_hrtimer kernel/time/hrtimer.c:1579 [inline]
__hrtimer_run_queues+0x3da/0xb90 kernel/time/hrtimer.c:1643
hrtimer_interrupt+0x38a/0x890 kernel/time/hrtimer.c:1705
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1122 [inline]
smp_apic_timer_interrupt+0x110/0x460 arch/x86/kernel/apic/apic.c:1147
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834
RIP: 0010:get_reg+0xa/0x220 arch/x86/kernel/unwind_orc.c:393
Code: ff ff 4c 89 f7 48 89 d3 e8 43 44 64 00 48 89 da e9 b1 e5 ff ff e8 86 14 0b 00 66 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 <41> 54 53 48 83 e4 e0 48 81 ec a0 00 00 00 48 89 54 24 18 49 89 fc
RSP: 0018:ffff8881f6e08eb8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: ffff8881f6e091e0 RCX: 0000000000000001
RDX: ffff8881f6e09160 RSI: 0000000000000020 RDI: ffff8881f6e091e0
RBP: ffff8881f6e08ed0 R08: 0000000000000001 R09: ffff8881f6e09230
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff0d6688e
R13: ffffffff86b3446e R14: ffff8881f6e09215 R15: dffffc0000000000
unwind_next_frame+0x1574/0x1ea0 arch/x86/kernel/unwind_orc.c:574
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: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:preempt_schedule_irq+0xc2/0x140 kernel/sched/core.c:4558
Code: 4c 89 e7 e8 90 e1 43 fd f6 44 24 21 02 74 0b 0f 0b 48 f7 03 08 00 00 00 74 4d bf 01 00 00 00 e8 04 a2 f4 fc fb bf 01 00 00 00 b9 e6 ff ff fa bf 01 00 00 00 e8 6e a3 f4 fc 65 48 8b 1d a6 4d
RSP: 0018:ffff8881d4c3f500 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffff1103c7dd51f RBX: 1ffff1103a987ea4 RCX: ffffffff84511c00
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001
RBP: ffff8881d4c3f598 R08: dffffc0000000000 R09: ffffed103edcaf6d
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881d4c3f520
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff1103a987ea0
retint_kernel+0x1b/0x1b
RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x1b/0x70 kernel/kcov.c:276
Code: 0a 18 4c 89 44 0a 20 49 ff c1 4c 89 09 c3 90 4c 8b 04 24 65 48 8b 05 64 4e 9e 7e 65 8b 0d 69 4e 9e 7e f7 c1 00 01 1f 00 74 01 8b 88 00 0a 00 00 83 f9 03 75 f4 48 8b 88 08 0a 00 00 44 8b 90
RSP: 0018:ffff8881d4c3f658 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff02
RAX: ffff8881e3ee9f80 RBX: ffffffff818fb87f RCX: 0000000000000000
RDX: ffff8881e3ee9f80 RSI: 000000000000000d RDI: 0000000000000002
RBP: ffff8881d4c3f7a0 R08: ffffffff819897e7 R09: ffffed103edcb135
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8198957f
R13: 000000000000000d R14: dffffc0000000000 R15: 1ffff1103a987ed0
check_recursive_alloc mm/page_owner.c:109 [inline]
save_stack+0x187/0x880 mm/page_owner.c:132
__reset_page_owner+0x1f/0x100 mm/page_owner.c:149
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1176 [inline]
free_pcp_prepare mm/page_alloc.c:1233 [inline]
free_unref_page_prepare+0x297/0x380 mm/page_alloc.c:3085
free_unref_page mm/page_alloc.c:3134 [inline]
free_the_page mm/page_alloc.c:4953 [inline]
__free_pages+0xaf/0x140 mm/page_alloc.c:4961
__vunmap+0x75b/0x890 mm/vmalloc.c:2260
kcov_put kernel/kcov.c:396 [inline]
kcov_close+0x27/0x50 kernel/kcov.c:495
__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:0x7fc5291e2ae9
Code: Bad RIP value.
RSP: 002b:00007fc528464048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007fc529370fa0 RCX: 00007fc5291e2ae9
RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000006
RBP: 00007fc529263746 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fc529370fa0 R15: 00007ffdb4d90078