watchdog: BUG: soft lockup - CPU#0 stuck for 140s! [syz.3.1532:5892]
Modules linked in:
CPU: 0 PID: 5892 Comm: syz.3.1532 Not tainted 5.15.151-syzkaller-00059-g5356d2f17edf #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:queued_write_lock_slowpath+0x154/0x440 kernel/locking/qrwlock.c:78
Code: 12 6c 5d 00 f0 41 81 0f 00 01 00 00 48 8b 5c 24 08 43 0f b6 04 2e 84 c0 0f 85 94 00 00 00 41 8b 07 3d 00 01 00 00 74 27 f3 90 <43> 0f b6 04 2e 84 c0 74 eb 44 89 f9 80 e1 07 80 c1 03 38 c1 7c de
RSP: 0018:ffffc90000007460 EFLAGS: 00000206
RAX: 00000000000001ff RBX: 1ffff92000000e96 RCX: ffffffff815510ee
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff86f92788
RBP: ffffc90000007510 R08: dffffc0000000000 R09: fffffbfff0df24f2
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900000074b0
R13: dffffc0000000000 R14: 1ffffffff0df24f1 R15: ffffffff86f92788
FS: 00007f9d74c926c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc07c6a9866 CR3: 00000001172eb000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
queued_write_lock include/asm-generic/qrwlock.h:97 [inline]
__raw_write_lock_bh include/linux/rwlock_api_smp.h:204 [inline]
_raw_write_lock_bh+0x10a/0x170 kernel/locking/spinlock.c:324
___neigh_create+0xd0d/0x1bd0 net/core/neighbour.c:625
__neigh_create+0x32/0x40 net/core/neighbour.c:679
ip6_finish_output2+0x9ee/0x16e0 net/ipv6/ip6_output.c:123
__ip6_finish_output+0x60f/0x7c0 net/ipv6/ip6_output.c:197
ip6_finish_output+0x31/0x210 net/ipv6/ip6_output.c:207
NF_HOOK_COND include/linux/netfilter.h:294 [inline]
ip6_output+0x1f7/0x4d0 net/ipv6/ip6_output.c:230
dst_output include/net/dst.h:444 [inline]
NF_HOOK include/linux/netfilter.h:305 [inline]
ndisc_send_skb+0x73e/0xc90 net/ipv6/ndisc.c:509
ndisc_send_rs+0x532/0x6a0 net/ipv6/ndisc.c:703
addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3977
call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1427
expire_timers kernel/time/timer.c:1472 [inline]
__run_timers+0x72a/0xa10 kernel/time/timer.c:1743
run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1756
__do_softirq+0x26d/0x5bf kernel/softirq.c:565
invoke_softirq kernel/softirq.c:425 [inline]
__irq_exit_rcu+0x50/0xf0 kernel/softirq.c:648
irq_exit_rcu+0x9/0x10 kernel/softirq.c:660
sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:arch_test_and_set_bit arch/x86/include/asm/bitops.h:138 [inline]
RIP: 0010:test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:71 [inline]
RIP: 0010:queue_work_on+0x138/0x170 kernel/workqueue.c:1565
Code: 00 31 ff e8 7a 71 28 00 49 81 e7 00 02 00 00 49 bf 00 00 00 00 00 fc ff df 75 07 e8 22 6d 28 00 eb 06 e8 1b 6d 28 00 fb 84 db <0f> 94 c0 48 c7 44 24 20 0e 36 e0 45 4b c7 04 37 00 00 00 00 65 48
RSP: 0018:ffffc900015a7220 EFLAGS: 00000246
RAX: ffffffff8147d3b5 RBX: 0000000000000000 RCX: 0000000000040000
RDX: ffffc900051f2000 RSI: 0000000000007847 RDI: 0000000000007848
RBP: ffffc900015a72d0 R08: ffffffff8147d396 R09: 0000000000000003
R10: fffff520002b4df0 R11: dffffc0000000001 R12: ffff8881f7034c40
R13: dffffc0000000001 R14: 1ffff920002b4e48 R15: dffffc0000000000
queue_work include/linux/workqueue.h:510 [inline]
schedule_work include/linux/workqueue.h:571 [inline]
__vfree_deferred mm/vmalloc.c:2674 [inline]
vfree_atomic+0x99/0xc0 mm/vmalloc.c:2692
free_thread_stack+0x310/0x470 kernel/fork.c:302
release_task_stack kernel/fork.c:475 [inline]
put_task_stack+0x9d/0x140 kernel/fork.c:486
finish_task_switch+0x33b/0x7b0 kernel/sched/core.c:5063
context_switch kernel/sched/core.c:5155 [inline]
__schedule+0xcd4/0x1590 kernel/sched/core.c:6512
preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:6916
irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:392
irqentry_exit+0x30/0x40 kernel/entry/common.c:426
sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:copy_pte_range mm/memory.c:1081 [inline]
RIP: 0010:copy_pmd_range mm/memory.c:1216 [inline]
RIP: 0010:copy_pud_range mm/memory.c:1253 [inline]
RIP: 0010:copy_p4d_range mm/memory.c:1277 [inline]
RIP: 0010:copy_page_range+0xe52/0x2f90 mm/memory.c:1350
Code: ba 10 00 00 00 48 8d bc 24 90 02 00 00 31 f6 e8 b4 af 0b 00 4d 89 f7 49 c1 ef 03 48 b8 00 00 00 00 00 fc ff df 41 80 3c 07 00 <74> 08 4c 89 f7 e8 74 ad 0b 00 49 8b 1e 48 89 de 48 83 e6 9f 31 ff
RSP: 0018:ffffc900015a7660 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 00007f9d750bc000 RCX: 0000000000000000
RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc900015a7900
RBP: ffffc900015a79b0 R08: dffffc0000000000 R09: ffffc900015a78f0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88813bbc65e0
R13: ffff88811d36d5e0 R14: ffff888132746d40 R15: 1ffff110264e8da8
dup_mmap kernel/fork.c:659 [inline]
dup_mm kernel/fork.c:1521 [inline]
copy_mm+0xc7e/0x13e0 kernel/fork.c:1573
copy_process+0x1149/0x3290 kernel/fork.c:2264
kernel_clone+0x21e/0x9e0 kernel/fork.c:2662
__do_sys_clone kernel/fork.c:2788 [inline]
__se_sys_clone kernel/fork.c:2772 [inline]
__x64_sys_clone+0x23f/0x290 kernel/fork.c:2772
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f9d76052f19
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:00007f9d74c91ff8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f9d761e3110 RCX: 00007f9d76052f19
RDX: 0000000000000000 RSI: 0000000020001b80 RDI: 0000000000000000
RBP: 00007f9d760c1e68 R08: 0000000020002d00 R09: 0000000020002d00
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f9d761e3110 R15: 00007ffdd3d5a4a8
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4503 Comm: syz.3.1225 Not tainted 5.15.151-syzkaller-00059-g5356d2f17edf #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:pvclock_clocksource_read+0x634/0x6e0 arch/x86/kernel/pvclock.c:80
Code: b8 4c 89 55 b0 4c 89 5d d0 e8 58 b8 50 01 4c 8b 5d d0 48 8b 75 c8 4c 8b 55 b0 4c 8b 4d b8 4d 89 e8 48 8b 7d c0 e9 11 fb ff ff <41> f6 c4 02 75 72 4c 03 bd 70 ff ff ff f6 05 50 d9 d1 05 01 74 06
RSP: 0018:ffffc900001cf668 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 1ffffffff0e5240b RCX: 1ffffffff0e52408
RDX: 1ffffffff0e52408 RSI: ffffffff8729205c RDI: ffffffff8729205d
RBP: ffffc900001cf710 R08: ffffffff87292040 R09: ffffffff87292048
R10: ffffffff87292058 R11: ffffffff87292050 R12: 0000000000000001
R13: 000000000000000a R14: dffffc0000000000 R15: 00000000153669ef
FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000000680f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
kvm_clock_read arch/x86/kernel/kvmclock.c:79 [inline]
kvm_sched_clock_read+0x18/0x40 arch/x86/kernel/kvmclock.c:91
paravirt_sched_clock arch/x86/include/asm/paravirt.h:31 [inline]
sched_clock+0x9/0x10 arch/x86/kernel/tsc.c:253
sched_clock_cpu+0x18/0x3b0 kernel/sched/clock.c:371
local_clock include/linux/sched/clock.h:84 [inline]
cpu_clock_event_update kernel/events/core.c:10787 [inline]
cpu_clock_event_read+0x1b/0x50 kernel/events/core.c:10820
perf_swevent_hrtimer+0x115/0x560 kernel/events/core.c:10703
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x41a/0xad0 kernel/time/hrtimer.c:1749
hrtimer_interrupt+0x40c/0xaa0 kernel/time/hrtimer.c:1811
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline]
__sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1102
sysvec_apic_timer_interrupt+0x44/0xc0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:stack_trace_consume_entry+0x126/0x290 kernel/stacktrace.c:94
Code: 1e 48 89 df 49 89 d6 49 89 f7 4d 89 c5 e8 a2 1e 53 00 4d 89 e8 4c 8b 55 c8 4c 89 fe 4c 89 f2 48 89 33 41 8b 1a 41 0f b6 04 14 <84> c0 0f 85 37 01 00 00 41 3b 18 0f 92 c0 48 83 c4 20 5b 41 5c 41
RSP: 0018:ffffc900001cfd88 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000030 RCX: 00000000001cfe01
RDX: dffffc0000000000 RSI: ffffffff81ac016f RDI: ffffc900001cfecc
RBP: ffffc900001cfdd0 R08: ffffc900001cfec8 R09: 000000000000002f
R10: ffffc900001cfed0 R11: dffffc0000000001 R12: 1ffff92000039fd9
R13: 1ffff92000039fd9 R14: ffffc900001cff70 R15: 1ffff92000039fda
arch_stack_walk+0x101/0x140 arch/x86/kernel/stacktrace.c:27
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:45
kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370
____kasan_slab_free+0x126/0x160 mm/kasan/common.c:365
__kasan_slab_free+0x11/0x20 mm/kasan/common.c:373
kasan_slab_free include/linux/kasan.h:193 [inline]
slab_free_hook mm/slub.c:1723 [inline]
slab_free_freelist_hook+0xbd/0x190 mm/slub.c:1749
slab_free mm/slub.c:3519 [inline]
kfree+0xc8/0x220 mm/slub.c:4579
skb_free_head net/core/skbuff.c:656 [inline]
skb_release_data+0x8a9/0xa80 net/core/skbuff.c:678
skb_release_all net/core/skbuff.c:743 [inline]
__kfree_skb net/core/skbuff.c:757 [inline]
consume_skb+0xac/0x250 net/core/skbuff.c:930
netlink_broadcast_filtered+0x10f4/0x1220 net/netlink/af_netlink.c:1540
netlink_broadcast net/netlink/af_netlink.c:1562 [inline]
nlmsg_multicast include/net/netlink.h:1033 [inline]
nlmsg_notify+0x101/0x1c0 net/netlink/af_netlink.c:2548
rtnl_notify+0x9c/0xd0 net/core/rtnetlink.c:730
__neigh_notify+0xcc/0x120 net/core/neighbour.c:3386
neigh_cleanup_and_release+0x2c/0x1b0 net/core/neighbour.c:101
neigh_del net/core/neighbour.c:197 [inline]
neigh_remove_one+0x3a6/0x430 net/core/neighbour.c:218
neigh_forced_gc net/core/neighbour.c:251 [inline]
neigh_alloc net/core/neighbour.c:429 [inline]
___neigh_create+0x474/0x1bd0 net/core/neighbour.c:591
__neigh_create+0x32/0x40 net/core/neighbour.c:679
ip6_finish_output2+0x9ee/0x16e0 net/ipv6/ip6_output.c:123
__ip6_finish_output+0x60f/0x7c0 net/ipv6/ip6_output.c:197
ip6_finish_output+0x31/0x210 net/ipv6/ip6_output.c:207
NF_HOOK_COND include/linux/netfilter.h:294 [inline]
ip6_output+0x1f7/0x4d0 net/ipv6/ip6_output.c:230
dst_output include/net/dst.h:444 [inline]
NF_HOOK include/linux/netfilter.h:305 [inline]
ndisc_send_skb+0x73e/0xc90 net/ipv6/ndisc.c:509
ndisc_send_rs+0x532/0x6a0 net/ipv6/ndisc.c:703
addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3977
call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1427
expire_timers kernel/time/timer.c:1472 [inline]
__run_timers+0x72a/0xa10 kernel/time/timer.c:1743
run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1756
__do_softirq+0x26d/0x5bf kernel/softirq.c:565
invoke_softirq kernel/softirq.c:425 [inline]
__irq_exit_rcu+0x50/0xf0 kernel/softirq.c:648
irq_exit_rcu+0x9/0x10 kernel/softirq.c:660
sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:__schedule+0xce2/0x1590 kernel/sched/core.c:6520
Code: 00 00 41 80 24 24 fc 4c 89 f7 48 8b 74 24 08 e8 94 94 38 fc 48 89 c7 e8 cc 4c 85 fc 48 8b 44 24 50 48 c7 44 24 60 0e 36 e0 45 <49> c7 44 05 00 00 00 00 00 65 48 8b 04 25 28 00 00 00 48 3b 84 24
RSP: 0018:ffffc90000b06f80 EFLAGS: 00000286
RAX: 1ffff92000160dfc RBX: ffff8881f7138380 RCX: 0000000000000002
RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc90000b07070 R08: ffffffff8191d4d9 R09: fffffbfff0e0cc23
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f7138388
R13: dffffc0000000000 R14: ffff888115b1bb40 R15: ffff888116bd5500
preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:6916
irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:392
irqentry_exit+0x30/0x40 kernel/entry/common.c:426
sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:update_stack_state+0x29d/0x460 arch/x86/kernel/unwind_frame.c:202
Code: 8b ad 78 ff ff ff 74 22 44 3b 7d a4 75 1c 48 3b 45 98 73 16 31 db 89 d8 48 81 c4 90 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 <4d> 85 ed 4c 89 75 b0 74 77 49 bf 00 00 00 00 00 fc ff df 48 8b 45
RSP: 0018:ffffc90000b07210 EFLAGS: 00000216
RAX: ffffc90000b07670 RBX: ffffc90000b07388 RCX: ffffc90000b07680
RDX: 1ffff92000160e6e RSI: ffffc90000b07670 RDI: ffffc90000b073b8
RBP: ffffc90000b072c8 R08: ffffc90000b07448 R09: 0000000000000000
R10: ffffc90000b07450 R11: dffffc0000000001 R12: 1ffff92000160e74
R13: 0000000000000000 R14: ffffc90000b073a0 R15: 0000000000000001
unwind_next_frame+0x3cb/0x700 arch/x86/kernel/unwind_frame.c:305
arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
save_stack+0xf6/0x1e0 mm/page_owner.c:139
__reset_page_owner+0x36/0x190 mm/page_owner.c:156
reset_page_owner include/linux/page_owner.h:26 [inline]
free_pages_prepare mm/page_alloc.c:1472 [inline]
free_pcp_prepare mm/page_alloc.c:1544 [inline]
free_unref_page_prepare+0x7c8/0x7d0 mm/page_alloc.c:3534
free_unref_page+0xe8/0x750 mm/page_alloc.c:3616
free_the_page mm/page_alloc.c:805 [inline]
__free_pages+0x61/0xf0 mm/page_alloc.c:5853
__vunmap+0x7bc/0x8f0 mm/vmalloc.c:2652
__vfree mm/vmalloc.c:2700 [inline]
vfree+0x7f/0xb0 mm/vmalloc.c:2731
kcov_put kernel/kcov.c:408 [inline]
kcov_close+0x2b/0x50 kernel/kcov.c:510
__fput+0x3fe/0x910 fs/file_table.c:280
____fput+0x15/0x20 fs/file_table.c:308
task_work_run+0x129/0x190 kernel/task_work.c:164
exit_task_work include/linux/task_work.h:32 [inline]
do_exit+0xc48/0x2ca0 kernel/exit.c:878
do_group_exit+0x141/0x310 kernel/exit.c:1000
get_signal+0x7a3/0x1630 kernel/signal.c:2896
arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop+0xa0/0xe0 kernel/entry/common.c:172
exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:208
__syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
syscall_exit_to_user_mode+0x26/0x160 kernel/entry/common.c:301
do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f3cb9d0ef19
Code: Unable to access opcode bytes at RIP 0x7f3cb9d0eeef.
RSP: 002b:00007f3cb89900f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007f3cb9e9ef68 RCX: 00007f3cb9d0ef19
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f3cb9e9ef6c
RBP: 00007f3cb9e9ef60 R08: 00007ffd39d120b0 R09: 00007f3cb89906c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3cb9e9ef6c
R13: 000000000000000b R14: 00007ffd39cd7500 R15: 00007ffd39cd75e8