BUG: soft lockup in mrp_periodic_timer

4 views
Skip to first unread message

syzbot

unread,
Nov 27, 2021, 8:59:29 PM11/27/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=178a1f06b00000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=22bb4af7cc3aa57ea4cb
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

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

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

bridge0: received packet on veth0_to_bridge with own address as source address (addr:24:02:48:ff:05:00, vlan:0)
ICMPv6: NA: 24:02:48:ff:05:00 advertised our address fe80::2602:48ff:feff:500 on bridge0!
bridge0: received packet on bridge_slave_0 with own address as source address (addr:24:02:48:ff:05:00, vlan:0)
watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.3:2069]
Modules linked in:
irq event stamp: 2606183
hardirqs last enabled at (2606182): [<ffffffff88195174>] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline]
hardirqs last enabled at (2606182): [<ffffffff88195174>] _raw_spin_unlock_irq+0x24/0x80 kernel/locking/spinlock.c:192
hardirqs last disabled at (2606183): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last enabled at (2605540): [<ffffffff88400678>] __do_softirq+0x678/0x980 kernel/softirq.c:318
softirqs last disabled at (2605543): [<ffffffff813927d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (2605543): [<ffffffff813927d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 1 PID: 2069 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:lock_acquire+0x1ec/0x3c0 kernel/locking/lockdep.c:3911
Code: 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 b7 01 00 00 48 83 3d 09 2e a6 08 00 0f 84 2a 01 00 00 48 8b 7c 24 08 57 9d <0f> 1f 44 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b
RSP: 0000:ffff8880ba107c80 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3051 RBX: ffff888092382180 RCX: 0000000000006473
RDX: dffffc0000000000 RSI: 0000000034dd1af1 RDI: 0000000000000286
RBP: ffff8880b3236638 R08: ffffffff8cd498d8 R09: 0000000000000003
R10: ffff888092382a80 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
FS: 0000555556f3e400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc25efb7000 CR3: 00000000a1688000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
__raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:144
spin_lock include/linux/spinlock.h:329 [inline]
mrp_periodic_timer+0x34/0x170 net/802/mrp.c:625
call_timer_fn+0x177/0x700 kernel/time/timer.c:1338
expire_timers+0x243/0x4e0 kernel/time/timer.c:1375
__run_timers kernel/time/timer.c:1696 [inline]
run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709
__do_softirq+0x265/0x980 kernel/softirq.c:292
invoke_softirq kernel/softirq.c:372 [inline]
irq_exit+0x215/0x260 kernel/softirq.c:412
exiting_irq arch/x86/include/asm/apic.h:536 [inline]
smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
</IRQ>
RIP: 0010:PageCompound include/linux/page-flags.h:156 [inline]
RIP: 0010:PageHuge+0x2a/0x160 mm/hugetlb.c:1374
Code: 41 54 55 53 48 89 fb e8 b4 65 ce ff 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 13 01 00 00 48 8b 2b <31> ff 48 c1 ed 0f 83 e5 01 89 ee e8 b6 66 ce ff 40 84 ed 0f 84 8c
RSP: 0000:ffff88808b0376e8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: ffffea00013cfb00 RCX: ffffffff81518c83
RDX: 1ffffd4000279f60 RSI: ffffffff81941fbc RDI: ffffea00013cfb00
RBP: 00fff00000000000 R08: 0000000000000000 R09: ffffed101742455a
R10: ffff8880ba122ad3 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffea00013cfb00 R15: 00007fda490e9000
page_remove_file_rmap+0x3e/0xa30 mm/rmap.c:1215
page_remove_rmap+0xe5/0x120 mm/rmap.c:1297
zap_pte_range mm/memory.c:1350 [inline]
zap_pmd_range mm/memory.c:1463 [inline]
zap_pud_range mm/memory.c:1492 [inline]
zap_p4d_range mm/memory.c:1513 [inline]
unmap_page_range+0x147d/0x2c50 mm/memory.c:1534
unmap_single_vma+0x198/0x300 mm/memory.c:1579
unmap_vmas+0xa9/0x180 mm/memory.c:1609
exit_mmap+0x2b9/0x530 mm/mmap.c:3093
__mmput kernel/fork.c:1016 [inline]
mmput+0x14e/0x4a0 kernel/fork.c:1037
exit_mm kernel/exit.c:549 [inline]
do_exit+0xaec/0x2be0 kernel/exit.c:857
do_group_exit+0x125/0x310 kernel/exit.c:967
get_signal+0x3f2/0x1f70 kernel/signal.c:2589
do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
prepare_exit_to_usermode+0x277/0x2d0 arch/x86/entry/common.c:198
retint_user+0x8/0x18
RIP: 0033:0x7fda4af82bc7
Code: Bad RIP value.
RSP: 002b:00007ffdccff4f50 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
RAX: 0000000027bf46fe RBX: 00007fda4ad4c008 RCX: 0000001b2dd20000
RDX: 0000001b2dd20ce8 RSI: ffffffff8189796f RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000027bf46fe R09: 0000001b2dd20cc4
R10: 00000000000006fe R11: 0000000027bf4702 R12: 0000000000000035
R13: 00007fda4b0dc000 R14: ffffffff8189796f R15: 00007fda4b0e7ff0
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 8071 Comm: kworker/u4:6 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:perf_trace_lock+0xe2/0x4b0 include/trace/events/lock.h:39
Code: fa 48 89 85 50 ff ff ff 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 bc 02 00 00 49 8b 5c 24 78 e8 3e a7 2c 02 <48> ba 00 00 00 00 00 fc ff df 89 c0 48 8d 3c c5 00 af cf 89 48 89
RSP: 0018:ffff8880973ffaa8 EFLAGS: 00000093
RAX: 0000000000000000 RBX: 0000607f45c70ea0 RCX: ffffffff83771e23
RDX: 0000000000000000 RSI: ffffffff83771e31 RDI: 0000000000000005
RBP: ffff8880973ffb80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff89f6d360
R13: ffffffff89f85fa0 R14: ffffffff814a7850 R15: ffff8880973ffb58
FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc25efbb020 CR3: 00000000aad5c000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
trace_lock_release include/trace/events/lock.h:58 [inline]
lock_release+0x4e8/0x8b0 kernel/locking/lockdep.c:3926
rcu_lock_release include/linux/rcupdate.h:247 [inline]
rcu_read_unlock include/linux/rcupdate.h:681 [inline]
batadv_nc_process_nc_paths.part.0+0x285/0x3d0 net/batman-adv/network-coding.c:710
batadv_nc_process_nc_paths net/batman-adv/network-coding.c:690 [inline]
batadv_nc_worker+0x9bb/0xd50 net/batman-adv/network-coding.c:739
process_one_work+0x864/0x1570 kernel/workqueue.c:2153
worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
kthread+0x33f/0x460 kernel/kthread.c:259
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
----------------
Code disassembly (best guess):
0: 08 00 or %al,(%rax)
2: 00 00 add %al,(%rax)
4: 00 00 add %al,(%rax)
6: 00 48 c1 add %cl,-0x3f(%rax)
9: e8 03 80 3c 10 callq 0x103c8011
e: 00 0f add %cl,(%rdi)
10: 85 b7 01 00 00 48 test %esi,0x48000001(%rdi)
16: 83 3d 09 2e a6 08 00 cmpl $0x0,0x8a62e09(%rip) # 0x8a62e26
1d: 0f 84 2a 01 00 00 je 0x14d
23: 48 8b 7c 24 08 mov 0x8(%rsp),%rdi
28: 57 push %rdi
29: 9d popfq
* 2a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) <-- trapping instruction
2f: 48 83 c4 18 add $0x18,%rsp
33: 5b pop %rbx
34: 5d pop %rbp
35: 41 5c pop %r12
37: 41 5d pop %r13
39: 41 5e pop %r14
3b: 41 5f pop %r15
3d: c3 retq
3e: 65 gs
3f: 8b .byte 0x8b


---
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.

syzbot

unread,
Mar 27, 2022, 10:00:16 PM3/27/22
to syzkaller...@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