general protection fault in hsr_forward_skb

4 views
Skip to first unread message

syzbot

unread,
Sep 1, 2020, 12:40:18 PM9/1/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: f6d5cb9e Linux 4.19.142
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=11056476900000
kernel config: https://syzkaller.appspot.com/x/.config?x=30067df04d3254aa
dashboard link: https://syzkaller.appspot.com/bug?extid=4cf2a0e79a4efc373178
compiler: gcc (GCC) 10.1.0-syz 20200507

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

kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 25635 Comm: kworker/0:0 Not tainted 4.19.142-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events iterate_cleanup_work
RIP: 0010:ether_addr_copy include/linux/etherdevice.h:282 [inline]
RIP: 0010:hsr_xmit net/hsr/hsr_forward.c:235 [inline]
RIP: 0010:hsr_forward_do net/hsr/hsr_forward.c:295 [inline]
RIP: 0010:hsr_forward_skb+0x1314/0x1c30 net/hsr/hsr_forward.c:373
Code: b6 14 38 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 09 84 d2 74 05 e8 3d d5 6b fa 0f b7 85 c6 00 00 00 48 01 c3 4c 89 e0 48 c1 e8 03 <42> 0f b6 14 38 4c 89 e0 83 e0 07 83 c0 03 38 d0 7c 0c 84 d2 74 08
RSP: 0018:ffff8880ae607bc0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888087889d82 RCX: ffffffff87336644
RDX: 0000000000000000 RSI: ffffffff8733fb84 RDI: ffff8880a8c5e186
RBP: ffff8880a8c5e0c0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 00000000ea057c29 R12: 0000000000000000
R13: ffff888096725d00 R14: ffff888096725000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd67abfbdb8 CR3: 000000004be71000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
send_hsr_supervision_frame+0x917/0xf70 net/hsr/hsr_device.c:321
hsr_announce+0x125/0x3a0 net/hsr/hsr_device.c:350
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:1703 [inline]
run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1716
__do_softirq+0x26c/0x9a0 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:544 [inline]
smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1094
apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
</IRQ>
RIP: 0010:debug_lockdep_rcu_enabled kernel/rcu/update.c:254 [inline]
RIP: 0010:debug_lockdep_rcu_enabled+0x76/0xe0 kernel/rcu/update.c:251
Code: c1 83 e0 07 48 c1 e9 03 83 c0 03 0f b6 14 11 38 d0 7c 04 84 d2 75 64 8b 0d b7 f4 c4 07 85 c9 74 45 65 48 8b 1c 25 40 ee 01 00 <48> 8d bb 84 08 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1
RSP: 0018:ffff88802e907bb0 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000003 RBX: ffff8880a4b40500 RCX: 0000000000000001
RDX: 0000000000000004 RSI: 0000000000000002 RDI: 0000000000000282
RBP: ffffffff882f2da0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000789
R13: 0000000000000f6a R14: 0000000000000000 R15: 0000000000000001
___might_sleep+0x2b/0x2b0 kernel/sched/core.c:6161
get_next_corpse net/netfilter/nf_conntrack_core.c:1929 [inline]
nf_ct_iterate_cleanup+0x24c/0x520 net/netfilter/nf_conntrack_core.c:1951
nf_ct_iterate_cleanup_net net/netfilter/nf_conntrack_core.c:2036 [inline]
nf_ct_iterate_cleanup_net+0x113/0x170 net/netfilter/nf_conntrack_core.c:2021
iterate_cleanup_work+0x43/0xd0 net/ipv6/netfilter/nf_nat_masquerade_ipv6.c:113
process_one_work+0x864/0x1570 kernel/workqueue.c:2155
worker_thread+0x64c/0x1130 kernel/workqueue.c:2298
kthread+0x33f/0x460 kernel/kthread.c:259
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Modules linked in:
---[ end trace 762caedd67bda86e ]---
RIP: 0010:ether_addr_copy include/linux/etherdevice.h:282 [inline]
RIP: 0010:hsr_xmit net/hsr/hsr_forward.c:235 [inline]
RIP: 0010:hsr_forward_do net/hsr/hsr_forward.c:295 [inline]
RIP: 0010:hsr_forward_skb+0x1314/0x1c30 net/hsr/hsr_forward.c:373
Code: b6 14 38 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 09 84 d2 74 05 e8 3d d5 6b fa 0f b7 85 c6 00 00 00 48 01 c3 4c 89 e0 48 c1 e8 03 <42> 0f b6 14 38 4c 89 e0 83 e0 07 83 c0 03 38 d0 7c 0c 84 d2 74 08
RSP: 0018:ffff8880ae607bc0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888087889d82 RCX: ffffffff87336644
RDX: 0000000000000000 RSI: ffffffff8733fb84 RDI: ffff8880a8c5e186
RBP: ffff8880a8c5e0c0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 00000000ea057c29 R12: 0000000000000000
R13: ffff888096725d00 R14: ffff888096725000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd67abfbdb8 CR3: 000000004be71000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
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,
Dec 30, 2020, 11:40:15 AM12/30/20
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