watchdog: BUG: soft lockup - CPU#0 stuck for 122s! [syz.0.1445:4619]
Modules linked in:
CPU: 0 PID: 4619 Comm: syz.0.1445 Not tainted 5.4.274-syzkaller-00002-g6f97bd951d82 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:preempt_count_add+0x0/0x180 kernel/sched/core.c:4003
Code: 4f 00 e9 29 ff ff ff 48 c7 c7 60 a2 ed 85 48 89 de e8 94 8d 03 01 e9 22 ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <41> 57 41 56 53 89 fb 48 c7 c0 c0 99 e9 86 48 c1 e8 03 49 bf 00 00
RSP: 0018:ffff8881f6e09138 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000002 RBX: ffffed103edc123c RCX: ffff8881f6e09440
RDX: dffffc0000000000 RSI: 0000000000000004 RDI: 0000000000000001
RBP: ffff8881f6e09430 R08: ffffffff82316ca1 R09: ffff8881f6e09540
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103edc12a8
R13: ffffffff812fe293 R14: ffff8881f6e09540 R15: dffffc0000000000
FS: 00007f7578e576c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f82f18f2d60 CR3: 0000000005e0e000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
unwind_next_frame+0x17c/0x1ea0 arch/x86/kernel/unwind_orc.c:423
__unwind_start+0x708/0x890 arch/x86/kernel/unwind_orc.c:691
unwind_start arch/x86/include/asm/unwind.h:60 [inline]
arch_stack_walk+0xdd/0x140 arch/x86/kernel/stacktrace.c:24
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
dst_alloc+0x154/0x4c0 net/core/dst.c:93
ip6_dst_alloc net/ipv6/route.c:357 [inline]
icmp6_dst_alloc+0xf1/0x550 net/ipv6/route.c:3183
ndisc_send_skb+0x262/0xc30 net/ipv6/ndisc.c:489
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:bytes_is_nonzero mm/kasan/generic.c:91 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:108 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:134 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:165 [inline]
RIP: 0010:check_memory_region_inline mm/kasan/generic.c:181 [inline]
RIP: 0010:check_memory_region+0x6f/0x280 mm/kasan/generic.c:191
Code: 00 00 00 00 fc ff df 4f 8d 34 1a 4c 89 f5 4c 29 cd 48 83 fd 10 7f 26 48 85 ed 0f 84 3a 01 00 00 49 f7 d2 49 01 da 41 80 39 00 <0f> 85 c4 01 00 00 49 ff c1 49 ff c2 75 ee e9 1d 01 00 00 45 89 cf
RSP: 0018:ffff8881d8517558 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffffffff818ac601 RBX: 1ffff1103b0a2ee4 RCX: ffffffff818ac713
RDX: 0000000000000001 RSI: 0000000000000010 RDI: ffff8881d8517720
RBP: 0000000000000002 R08: dffffc0000000000 R09: ffffed103b0a2ee4
R10: fffffffffffffffe R11: dffffc0000000001 R12: dffffc0000000000
R13: 00007f7578f61000 R14: ffffed103b0a2ee6 R15: 0000000000000000
memset+0x1f/0x40 mm/kasan/common.c:106
init_rss_vec mm/memory.c:492 [inline]
zap_pte_range mm/memory.c:1062 [inline]
zap_pmd_range mm/memory.c:1222 [inline]
zap_pud_range mm/memory.c:1251 [inline]
zap_p4d_range mm/memory.c:1272 [inline]
unmap_page_range+0xa33/0x2620 mm/memory.c:1293
unmap_single_vma mm/memory.c:1338 [inline]
unmap_vmas+0x355/0x4b0 mm/memory.c:1370
exit_mmap+0x2bc/0x520 mm/mmap.c:3191
__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:0x7f7579bf6ae9
Code: Bad RIP value.
RSP: 002b:00007f7578e57048 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 00007f7579d85070 RCX: 00007f7579bf6ae9
RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000004
RBP: 00007f7579c77746 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f7579d85070 R15: 00007fff0a75a208
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4775 Comm: syz.4.1504 Not tainted 5.4.274-syzkaller-00002-g6f97bd951d82 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:arch_static_branch arch/x86/include/asm/msr.h:105 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:200 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:164 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:275 [inline]
RIP: 0010:native_apic_msr_write+0x35/0x50 arch/x86/include/asm/apic.h:207
Code: 74 2d 83 ff 30 74 28 eb 10 81 ff d0 00 00 00 74 1e 81 ff e0 00 00 00 74 16 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <0f> 1f 44 00 00 c3 89 f6 31 d2 e9 ac 30 1a 01 66 66 2e 0f 1f 84 00
RSP: 0018:ffff8881f6f09878 EFLAGS: 00000046
RAX: 000000000000008c RBX: ffffffff856321e0 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 000000000000008c RDI: 0000000000000838
RBP: 000000000000008c R08: ffffffff8157c22b R09: ffffffff8157c1b7
R10: ffff8881e6ee6e40 R11: 0000000000000002 R12: dffffc0000000000
R13: 0000000000000002 R14: 000000000000008c R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffeea85f000 CR3: 00000001dfa0c000 CR4: 00000000003406a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
apic_write arch/x86/include/asm/apic.h:395 [inline]
lapic_next_event+0x5b/0x70 arch/x86/kernel/apic/apic.c:466
clockevents_program_event+0x199/0x2c0 kernel/time/clockevents.c:334
hrtimer_interrupt+0x4b3/0x890 kernel/time/hrtimer.c:1718
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:tcp_packets_in_flight include/net/tcp.h:1195 [inline]
RIP: 0010:tcp_enter_loss+0x727/0xfd0 net/ipv4/tcp_input.c:2025
Code: 50 42 0f b6 04 28 84 c0 0f 85 ab 04 00 00 45 8b 3f 48 8b 44 24 48 42 0f b6 04 28 84 c0 0f 85 b4 04 00 00 41 8b ae 88 07 00 00 <49> 8d be f8 06 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f
RSP: 0018:ffff8881f6f09ab0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 000000000000000b RCX: 0000000000000101
RDX: ffff8881e230adf4 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 000000000000000b R08: ffffffff83ad332c R09: ffff8881e230af20
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff86395440
R13: dffffc0000000000 R14: ffff8881e230a700 R15: 0000000000000000
tcp_retransmit_timer+0x14f5/0x2640 net/ipv4/tcp_timer.c:531
tcp_write_timer_handler+0x1e0/0x920 net/ipv4/tcp_timer.c:619
tcp_write_timer+0xad/0x1d0 net/ipv4/tcp_timer.c:639
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:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x50 kernel/kcov.c:186
Code: 00 00 00 0f 1f 00 be 0c 00 00 00 48 c7 c7 a0 a7 f1 85 e8 3f de 2f 00 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 8b 04 24 <65> 48 8b 0d 54 51 9e 7e 65 8b 15 59 51 9e 7e f7 c2 00 01 1f 00 74
RSP: 0018:ffff8881dbf67458 EFLAGS: 00000a02 ORIG_RAX: ffffffffffffff13
RAX: ffffffff818a50de RBX: 1ffff1103b7ece94 RCX: ffff8881dbf675c0
RDX: 0000000000000001 RSI: 0000000000000001 RDI: 00007fd6ec8bb000
RBP: ffff8881dbf67530 R08: ffffffff815952f0 R09: ffff8881dbf676c0
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 0000000000000001 R14: ffff8881dbf674c0 R15: 00007fd6ec8bb000
get_user_pages_fast+0x7e/0x3f0 mm/gup.c:2456
get_futex_key+0x245/0xf80 kernel/futex.c:614
futex_wake+0x138/0x840 kernel/futex.c:1694
do_futex+0x13fe/0x19f0 kernel/futex.c:3893
mm_release+0x134/0x250 kernel/fork.c:1328
exit_mm kernel/exit.c:488 [inline]
do_exit+0x685/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
entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x7fd6ed65aae9
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:00007fd6ec8bb0f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000000 RBX: 00007fd6ed7e9078 RCX: 00007fd6ed65aae9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fd6ed7e907c
RBP: 00007fd6ed7e9070 R08: 00007fff46ddc0b0 R09: 00007fd6ec8bb6c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd6ed7e907c
R13: 000000000000006e R14: 00007fff46d8a2a0 R15: 00007fff46d8a388