BUG: soft lockup in garp_join_timer

4 views
Skip to first unread message

syzbot

unread,
Jun 11, 2021, 3:01:18 AM6/11/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 9a2dc0e6 Linux 4.19.194
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=157179c0300000
kernel config: https://syzkaller.appspot.com/x/.config?x=4fa0751b4d49ae79
dashboard link: https://syzkaller.appspot.com/bug?extid=c8fad93d6042c360ee83

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+c8fad9...@syzkaller.appspotmail.com

bridge638: port 1(bridge_slave_0) entered blocking state
watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.1:25780]
Modules linked in:
irq event stamp: 2807443
hardirqs last enabled at (2807442): [<ffffffff81003ce4>] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (2807443): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last enabled at (2552): [<ffffffff88400678>] __do_softirq+0x678/0x980 kernel/softirq.c:318
softirqs last disabled at (2555): [<ffffffff813926d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (2555): [<ffffffff813926d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 1 PID: 25780 Comm: syz-executor.1 Not tainted 4.19.194-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 69 35 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: 0018:ffff8880ba107c90 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3049 RBX: ffff888026c18080 RCX: 000000000000656f
RDX: dffffc0000000000 RSI: 00000000f8f1f641 RDI: 0000000000000286
RBP: ffff88809edd0bb0 R08: ffffffff8cd470b8 R09: 0000000000000004
R10: ffff888026c189a8 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
FS: 00007f08f6aab700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000051e7f0 CR3: 000000022e38b000 CR4: 00000000001426e0
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]
garp_join_timer+0x20/0xf0 net/802/garp.c:408
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:preempt_schedule_irq+0xa6/0x140 kernel/sched/core.c:3744
Code: 00 00 e8 bd f9 29 f9 e8 78 2e 50 f9 4c 89 e8 48 c1 e8 03 80 3c 18 00 75 69 48 83 3d 3b 10 da 01 00 74 5b fb 66 0f 1f 44 00 00 <bf> 01 00 00 00 e8 40 d1 ff ff 48 c7 c0 50 82 f1 89 48 c1 e8 03 80
RSP: 0018:ffff88822c9b7400 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e304b RBX: dffffc0000000000 RCX: 1ffff11004d8312a
RDX: 0000000000000000 RSI: ffff888026c18958 RDI: ffff888026c18904
RBP: ffffed1004d83010 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888026c18080
R13: ffffffff89f18258 R14: 0000000000000000 R15: 0000000000000000
retint_kernel+0x1b/0x2d
RIP: 0010:compound_head include/linux/page-flags.h:144 [inline]
RIP: 0010:find_get_pages_range_tag+0x240/0xc50 mm/filemap.c:1930
Code: 48 85 db 0f 85 96 05 00 00 e8 8c 56 e6 ff 48 8d 45 08 48 89 44 24 10 48 c1 e8 03 42 80 3c 38 00 0f 85 14 09 00 00 48 8b 5d 08 <31> ff 49 89 ee 49 89 dc 41 83 e4 01 4c 89 e6 e8 ec 57 e6 ff 4d 85
RSP: 0018:ffff88822c9b74d0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffffd4001161b01 RBX: ffffea0008b0d7c8 RCX: ffffc90009222000
RDX: 0000000000011f5d RSI: ffffffff817c2354 RDI: 0000000000000007
RBP: ffffea0008b0d800 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000012
R13: 0000000000000000 R14: 0000000000010000 R15: dffffc0000000000
pagevec_lookup_range_tag+0x3b/0x80 mm/swap.c:1015
mpage_prepare_extent_to_map+0x314/0xf10 fs/ext4/inode.c:2658
ext4_writepages+0x1598/0x37f0 fs/ext4/inode.c:2879
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
ext4_punch_hole+0x23c/0x11f0 fs/ext4/inode.c:4316
ext4_fallocate+0x3f8/0x2150 fs/ext4/extents.c:4957
vfs_fallocate+0x487/0x9a0 fs/open.c:308
ksys_fallocate fs/open.c:331 [inline]
__do_sys_fallocate fs/open.c:339 [inline]
__se_sys_fallocate fs/open.c:337 [inline]
__x64_sys_fallocate+0xcf/0x140 fs/open.c:337
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4665d9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f08f6aab188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665d9
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000004
RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000010000101 R11: 0000000000000246 R12: 000000000056c0f0
R13: 00007ffed674721f R14: 00007f08f6aab300 R15: 0000000000022000
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 25741 Comm: syz-executor.1 Not tainted 4.19.194-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:atomic_inc include/asm-generic/atomic-instrumented.h:109 [inline]
RIP: 0010:__lock_acquire+0x24c/0x3ff0 kernel/locking/lockdep.c:3308
Code: 03 80 3c 11 00 0f 85 90 2a 00 00 49 8b 44 c6 08 48 85 c0 0f 84 38 ff ff ff 48 8d b8 38 01 00 00 be 04 00 00 00 48 89 44 24 10 <e8> df 3e 4d 00 48 8b 44 24 10 f0 ff 80 38 01 00 00 49 8d b5 80 08
RSP: 0018:ffff8880ba007188 EFLAGS: 00000082
RAX: ffffffff8cd62e80 RBX: 0000000000000000 RCX: 1ffff11017404994
RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffffff8cd62fb8
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000005 R11: ffffffff8c66201b R12: 0000000000000001
R13: ffff8880b0176380 R14: ffff8880ba024c98 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0a64b56718 CR3: 000000022e38b000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908
__raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline]
_raw_spin_lock_irq+0x5b/0x80 kernel/locking/spinlock.c:160
__run_hrtimer kernel/time/hrtimer.c:1421 [inline]
__hrtimer_run_queues+0x45d/0xe60 kernel/time/hrtimer.c:1481
hrtimer_interrupt+0x326/0x9e0 kernel/time/hrtimer.c:1539
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline]
smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
RIP: 0010:__read_once_size_nocheck.constprop.0+0x3/0x10 include/linux/compiler.h:279
Code: 00 75 18 48 8b 43 48 5b 5d c3 e8 48 c7 6e 00 eb a8 48 89 ef e8 ce c7 6e 00 eb c4 48 89 ef e8 c4 c7 6e 00 eb de 66 90 48 8b 07 <48> 89 06 c3 66 0f 1f 84 00 00 00 00 00 48 b8 00 00 00 00 00 fc ff
RSP: 0018:ffff8880ba007690 EFLAGS: 00000283 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: 1ffff11017400ed4 RCX: 0000000000000000
RDX: ffff8880ba0078a0 RSI: ffff8880ba0076c0 RDI: ffff88822e147ce8
RBP: ffff88822e147ce8 R08: 0000000000000001 R09: 0000000000000001
R10: ffff8880ba0078bf R11: 0000000000074071 R12: ffff8880ba007860
R13: ffff8880ba0078a0 R14: ffff88822e140000 R15: ffffffff8b9151c6
deref_stack_reg arch/x86/kernel/unwind_orc.c:334 [inline]
deref_stack_reg+0x134/0x1d0 arch/x86/kernel/unwind_orc.c:328
unwind_next_frame+0xf83/0x1400 arch/x86/kernel/unwind_orc.c:555
__save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44
save_stack mm/kasan/kasan.c:448 [inline]
set_track mm/kasan/kasan.c:460 [inline]
kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553
kmem_cache_alloc_node_trace+0x151/0x3b0 mm/slab.c:3668
__do_kmalloc_node mm/slab.c:3688 [inline]
__kmalloc_node_track_caller+0x38/0x70 mm/slab.c:3703
__kmalloc_reserve net/core/skbuff.c:137 [inline]
__alloc_skb+0xae/0x560 net/core/skbuff.c:205
skb_copy+0x139/0x2f0 net/core/skbuff.c:1358
mac80211_hwsim_tx_frame_no_nl.isra.0+0xb8a/0x1330 drivers/net/wireless/mac80211_hwsim.c:1353
mac80211_hwsim_tx_frame+0x12b/0x210 drivers/net/wireless/mac80211_hwsim.c:1556
mac80211_hwsim_beacon_tx+0x3f8/0x680 drivers/net/wireless/mac80211_hwsim.c:1595
__iterate_interfaces+0x2e1/0x4a0 net/mac80211/util.c:614
ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:650
mac80211_hwsim_beacon+0xc9/0x190 drivers/net/wireless/mac80211_hwsim.c:1615
__tasklet_hrtimer_trampoline+0x29/0xa0 kernel/softirq.c:601
tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522
__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:mm_update_next_owner+0x43e/0x650 kernel/exit.c:453
Code: 05 00 00 48 8d a8 70 fa ff ff 49 39 c5 0f 84 df fe ff ff e8 a4 bc 29 00 4c 8d 85 20 04 00 00 4c 89 c0 48 c1 e8 03 80 3c 18 00 <0f> 85 18 01 00 00 4c 8b bd 20 04 00 00 4d 39 e7 75 95 e9 12 fd ff
RSP: 0018:ffff88822e147a98 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffff110161a3884 RBX: dffffc0000000000 RCX: ffffffff8138bc9e
RDX: 0000000000000000 RSI: ffffffff8138bd3c RDI: ffff8880b0d1c700
RBP: ffff8880b0d1c000 R08: ffff8880b0d1c420 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88801eaa9900
R13: ffff8880a8b69950 R14: ffff8880b0176380 R15: ffff8880b3fd3680
exit_mm kernel/exit.c:548 [inline]
do_exit+0xae4/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 arch/x86/entry/common.c:198 [inline]
syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4666e7
Code: 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffed67471b8 EFLAGS: 00000206 ORIG_RAX: 000000000000000a
RAX: 0000000000000000 RBX: 0000000000021000 RCX: 00000000004666e7
RDX: 0000000000000003 RSI: 0000000000020000 RDI: 00007f08f6a6b000
RBP: 00007ffed6747290 R08: 00000000ffffffff R09: 00007f08f6a8a700
R10: 0000000000020022 R11: 0000000000000206 R12: 00007ffed67473a0
R13: 00007f08f6a8a700 R14: 0000000000000000 R15: 0000000000022000


---
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,
Feb 28, 2023, 7:21:39 PM2/28/23
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