[moderation] [net?] BUG: soft lockup in hsr_announce (2)

8 views
Skip to first unread message

syzbot

unread,
Sep 19, 2023, 5:49:57 AM9/19/23
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 5c04433daf9e bpf: Charge modmem for struct_ops trampoline
git tree: bpf-next
console output: https://syzkaller.appspot.com/x/log.txt?x=1627e674680000
kernel config: https://syzkaller.appspot.com/x/.config?x=e82a7781f9208c0d
dashboard link: https://syzkaller.appspot.com/bug?extid=3bfa0027a7cbda7c7cf3
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
CC: [da...@davemloft.net edum...@google.com ku...@kernel.org linux-...@vger.kernel.org net...@vger.kernel.org pab...@redhat.com]

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/e685b1785b53/disk-5c04433d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/eb9706bb5335/vmlinux-5c04433d.xz
kernel image: https://storage.googleapis.com/syzbot-assets/cd4ff6cc7c79/bzImage-5c04433d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+3bfa00...@syzkaller.appspotmail.com

watchdog: BUG: soft lockup - CPU#0 stuck for 143s! [syz-executor.3:6329]
Modules linked in:
irq event stamp: 0
hardirqs last enabled at (0): [<0000000000000000>] 0x0
hardirqs last disabled at (0): [<ffffffff814d76e7>] copy_process+0x21e7/0x7400 kernel/fork.c:2442
softirqs last enabled at (0): [<ffffffff814d7728>] copy_process+0x2228/0x7400 kernel/fork.c:2446
softirqs last disabled at (0): [<0000000000000000>] 0x0
CPU: 0 PID: 6329 Comm: syz-executor.3 Not tainted 6.5.0-syzkaller-12721-g5c04433daf9e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x31/0x70 kernel/kcov.c:207
Code: 0d e9 7b 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 c0 bc 03 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 04 16 00 00 <85> c0 74 2b 8b 82 e0 15 00 00 83 f8 02 75 20 48 8b 8a e8 15 00 00
RSP: 0018:ffffc90000007588 EFLAGS: 00000206
RAX: 0000000000000000 RBX: ffffc90000007610 RCX: 0000000000000100
RDX: ffff88802524bb80 RSI: ffffffff813a4d16 RDI: 0000000000000006
RBP: 0000000000000002 R08: 0000000000000006 R09: ffffffff81766b93
R10: ffffffff817668ed R11: 0000000000000000 R12: ffffffff8f5a3f4e
R13: ffffffff8f5a3f4e R14: 000000000001b20f R15: ffffc90000007645
FS: 00007fdceabaa6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f97ba022cbd CR3: 000000007dc96000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
unwind_next_frame+0x5a6/0x2390 arch/x86/kernel/unwind_orc.c:505
arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x50 mm/kasan/common.c:45
kasan_set_track+0x25/0x30 mm/kasan/common.c:52
kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522
____kasan_slab_free mm/kasan/common.c:236 [inline]
____kasan_slab_free+0x15b/0x1b0 mm/kasan/common.c:200
kasan_slab_free include/linux/kasan.h:162 [inline]
slab_free_hook mm/slub.c:1800 [inline]
slab_free_freelist_hook+0x114/0x1e0 mm/slub.c:1826
slab_free mm/slub.c:3809 [inline]
kmem_cache_free+0xf0/0x480 mm/slub.c:3831
kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:1010
__kfree_skb net/core/skbuff.c:1068 [inline]
kfree_skb_reason+0x10e/0x210 net/core/skbuff.c:1103
kfree_skb include/linux/skbuff.h:1234 [inline]
hsr_forward_skb+0xcc2/0x1fd0 net/hsr/hsr_forward.c:630
send_hsr_supervision_frame+0x4a4/0x810 net/hsr/hsr_device.c:326
hsr_announce+0x116/0x380 net/hsr/hsr_device.c:382
call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700
expire_timers kernel/time/timer.c:1751 [inline]
__run_timers+0x764/0xb10 kernel/time/timer.c:2022
run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035
__do_softirq+0x218/0x965 kernel/softirq.c:553
invoke_softirq kernel/softirq.c:427 [inline]
__irq_exit_rcu kernel/softirq.c:632 [inline]
irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1074
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:preempt_schedule_irq+0x4d/0x90 kernel/sched/core.c:7007
Code: 55 65 48 8b 2c 25 c0 bc 03 00 53 48 89 eb 48 c1 eb 03 48 01 c3 bf 01 00 00 00 e8 fe 71 19 f7 e8 d9 4a 4d f7 fb bf 01 00 00 00 <e8> 5e 99 ff ff 9c 58 fa f6 c4 02 75 1a bf 01 00 00 00 e8 3c 38 19
RSP: 0018:ffffc90003527a28 EFLAGS: 00000246
RAX: 0000000000000003 RBX: ffffed1004a49770 RCX: 1ffffffff1d9cb5a
RDX: 0000000000000000 RSI: ffffffff8ae92aa0 RDI: 0000000000000001
RBP: ffff88802524bb80 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff8ece2557 R11: 0000000000000800 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
irqentry_exit+0x35/0x80 kernel/entry/common.c:432
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:acct_collect+0x62f/0x8f0 kernel/acct.c:566
Code: 48 89 44 24 10 e8 f1 d4 c4 08 0f 1f 44 00 00 48 8d 84 24 80 00 00 00 45 31 e4 49 bd 00 00 00 00 00 fc ff df 48 89 04 24 eb 37 <e8> ec c3 0a 00 49 8d 7f 08 48 89 fa 48 c1 ea 03 42 80 3c 2a 00 0f
RSP: 0018:ffffc90003527af0 EFLAGS: 00000286
RAX: ffff8880173d8d00 RBX: ffff88801db14380 RCX: 0000000000000000
RDX: ffff88802524bb80 RSI: ffffffff8a2d9f2c RDI: 0000000000000005
RBP: 1ffff920006a4f62 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000b00 R15: ffff8880173d8d00
do_exit+0x17d5/0x2a20 kernel/exit.c:853
do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
get_signal+0x23d1/0x27b0 kernel/signal.c:2892
arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:309
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0033:0x7fdce9e7cae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdceabaa178 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 00007fdce9f9bf88 RCX: 00007fdce9e7cae9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fdce9f9bf88
RBP: 00007fdce9f9bf80 R08: 00007fdceabaa6c0 R09: 00007fdceabaa6c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdce9f9bf8c
R13: 000000000000000b R14: 00007ffd97a33b60 R15: 00007ffd97a33c48
</TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 6336 Comm: syz-executor.1 Not tainted 6.5.0-syzkaller-12721-g5c04433daf9e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:147 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:254 [inline]
RIP: 0010:native_apic_msr_write arch/x86/include/asm/apic.h:195 [inline]
RIP: 0010:native_apic_msr_write+0x28/0x40 arch/x86/include/asm/apic.h:189
Code: 66 90 f3 0f 1e fa 8d 87 30 ff ff ff 83 e0 ef 74 1c 89 f8 83 e0 ef 83 f8 20 74 12 c1 ef 04 31 d2 89 f0 8d 8f 00 08 00 00 0f 30 <66> 90 c3 c3 89 f6 31 d2 89 cf e9 79 1c 1d 03 66 0f 1f 84 00 00 00
RSP: 0018:ffffc900001f00a8 EFLAGS: 00000046
RAX: 00000000000000f6 RBX: 0000000000000001 RCX: 000000000000083f
RDX: 0000000000000000 RSI: 00000000000000f6 RDI: 000000000000003f
RBP: 000000007f4cbb01 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: ffff888017252864 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055842f81f870 CR3: 0000000041848000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<NMI>
</NMI>
<IRQ>
__apic_send_IPI_self arch/x86/include/asm/apic.h:452 [inline]
arch_irq_work_raise+0x4f/0x70 arch/x86/kernel/irq_work.c:31
irq_work_raise kernel/irq_work.c:84 [inline]
__irq_work_queue_local+0x148/0x3f0 kernel/irq_work.c:112
irq_work_queue kernel/irq_work.c:124 [inline]
irq_work_queue+0x46/0x70 kernel/irq_work.c:116
__perf_event_overflow+0x412/0x9f0 kernel/events/core.c:9543
perf_swevent_hrtimer+0x370/0x3e0 kernel/events/core.c:10985
__run_hrtimer kernel/time/hrtimer.c:1688 [inline]
__hrtimer_run_queues+0x647/0xc10 kernel/time/hrtimer.c:1752
hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline]
__sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1080
sysvec_apic_timer_interrupt+0x42/0xc0 arch/x86/kernel/apic/apic.c:1074
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:unwind_next_frame+0x5c0/0x2390 arch/x86/kernel/unwind_orc.c:505
Code: 85 c0 49 89 c4 0f 84 99 fd ff ff e8 9a 86 4d 00 4d 8d 6c 24 05 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 0f b6 04 02 <4c> 89 ea 83 e2 07 38 d0 7f 08 84 c0 0f 85 1d 19 00 00 45 0f b6 74
RSP: 0018:ffffc900001f05b8 EFLAGS: 00000a07
RAX: 0000000000000000 RBX: ffffc900001f0638 RCX: 0000000000000100
RDX: 1ffffffff1ec4f47 RSI: ffffffff813a4d16 RDI: 0000000000000006
RBP: 0000000000000002 R08: 0000000000000006 R09: ffffffff81dd84b1
R10: ffffffff81dd84b4 R11: dd862eaaaaaaaaaa R12: ffffffff8f627a38
R13: ffffffff8f627a3d R14: 0000000000031126 R15: ffffc900001f066d
arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x50 mm/kasan/common.c:45
kasan_set_track+0x25/0x30 mm/kasan/common.c:52
____kasan_kmalloc mm/kasan/common.c:374 [inline]
__kasan_kmalloc+0xa2/0xb0 mm/kasan/common.c:383
kmalloc include/linux/slab.h:599 [inline]
dst_cow_metrics_generic+0x4c/0x1f0 net/core/dst.c:180
dst_metrics_write_ptr include/net/dst.h:133 [inline]
dst_metric_set include/net/dst.h:194 [inline]
icmp6_dst_alloc+0x4a2/0x620 net/ipv6/route.c:3276
ndisc_send_skb+0x100c/0x1430 net/ipv6/ndisc.c:489
ndisc_send_rs+0x133/0x690 net/ipv6/ndisc.c:719
addrconf_rs_timer+0x412/0x840 net/ipv6/addrconf.c:3973
call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700
expire_timers kernel/time/timer.c:1751 [inline]
__run_timers+0x764/0xb10 kernel/time/timer.c:2022
run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035
__do_softirq+0x218/0x965 kernel/softirq.c:553
invoke_softirq kernel/softirq.c:427 [inline]
__irq_exit_rcu kernel/softirq.c:632 [inline]
irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1074
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:finish_task_switch.isra.0+0x220/0xc90 kernel/sched/core.c:5254
Code: 0a 00 00 44 8b 0d d0 39 73 0d 45 85 c9 0f 85 c0 01 00 00 48 89 df e8 ff f8 ff ff e8 2a 63 33 00 fb 65 48 8b 1c 25 c0 bc 03 00 <48> 8d bb e0 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1
RSP: 0018:ffffc90003567678 EFLAGS: 00000246
RAX: 0000000000000003 RBX: ffff88807f4cbb80 RCX: 1ffffffff1d9cb5a
RDX: 0000000000000000 RSI: ffffffff8ae92aa0 RDI: ffffffff815b2116
RBP: ffffc900035676c0 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff8ece2557 R11: 0000000000000000 R12: ffff8880b993d458
R13: ffff88802ab80000 R14: 0000000000000000 R15: ffff8880b993c700
context_switch kernel/sched/core.c:5385 [inline]
__schedule+0xee9/0x59f0 kernel/sched/core.c:6695
preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:7007
irqentry_exit+0x35/0x80 kernel/entry/common.c:432
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:ma_pivots lib/maple_tree.c:638 [inline]
RIP: 0010:mas_next_slot+0x7ac/0x1d40 lib/maple_tree.c:4587
Code: 48 89 44 24 10 48 b8 00 00 00 00 00 fc ff df 0f b6 04 02 84 c0 74 06 0f 8e 1e 14 00 00 44 0f b6 ad f0 00 00 00 e9 5b f9 ff ff <e8> 2f 52 5a f7 48 8d 45 08 48 b9 00 00 00 00 00 fc ff df 48 89 44
RSP: 0018:ffffc90003567948 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff8a2d7aba
RDX: ffff88807f4cbb80 RSI: 0000000000000000 RDI: 0000000000000005
RBP: ffff888079bfec00 R08: 0000000000000005 R09: 0000000000000003
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
R13: ffffc90003567a90 R14: ffffc90003567a88 R15: ffffc90003567ac1
mas_next lib/maple_tree.c:5640 [inline]
mas_find+0xe4/0x320 lib/maple_tree.c:5632
exit_mmap+0x16a/0xa60 mm/mmap.c:3198
__mmput+0x12a/0x4d0 kernel/fork.c:1349
mmput+0x62/0x70 kernel/fork.c:1371
exit_mm kernel/exit.c:567 [inline]
do_exit+0x9b4/0x2a20 kernel/exit.c:861
do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
get_signal+0x23d1/0x27b0 kernel/signal.c:2892
arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:309
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0033:0x7faec0e7cae9
Code: Unable to access opcode bytes at 0x7faec0e7cabf.
RSP: 002b:00007faebf9fe0c8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 00007faec0f9bf80 RCX: 00007faec0e7cae9
RDX: 00000000200004c0 RSI: 0000000000005452 RDI: 0000000000000005
RBP: 00007faec0ec847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007faec0f9bf80 R15: 00007ffc4d82c0e8
</TASK>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the bug is already fixed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite bug's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the bug is a duplicate of another bug, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Dec 27, 2023, 7:08:14 AM12/27/23
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages