syzbot


general protection fault in ipvlan_hard_header

Status: auto-closed as invalid on 2021/04/08 09:20
Reported-by: syzbot+a452252f73e722a45d67@syzkaller.appspotmail.com
First crash: 575d, last: 575d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in ipvlan_hard_header 1 303d 303d 0/1 auto-closed as invalid on 2022/01/05 12:41

Sample crash report:
team0: Port device ipvlan1 added
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
Modules linked in:
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880b5468340 task.stack: ffff8880b5470000
RIP: 0010:dev_hard_header include/linux/netdevice.h:2718 [inline]
RIP: 0010:ipvlan_hard_header+0x75/0x150 drivers/net/ipvlan/ipvlan_main.c:444
RSP: 0018:ffff8880ba507860 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: ffff888093130840 RCX: ffff8880ab001c80
RDX: 0000000020000043 RSI: ffff888093130840 RDI: 000000010000021f
RBP: ffff8880aaaf1810 R08: 0000000000000000 R09: 0000000000000060
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809df7d3c0
R13: 00000000ffffffff R14: ffff8880ab001c80 R15: 0000000000000060
FS:  0000000000000000(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0041f4820 CR3: 0000000069da6000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 dev_hard_header include/linux/netdevice.h:2721 [inline]
 neigh_resolve_output+0x49d/0x870 net/core/neighbour.c:1364
 neigh_output include/net/neighbour.h:500 [inline]
 ip6_finish_output2+0xf48/0x1f10 net/ipv6/ip6_output.c:120
 ip6_finish_output+0x60c/0xaf0 net/ipv6/ip6_output.c:154
 NF_HOOK_COND include/linux/netfilter.h:239 [inline]
 ip6_output+0x1c5/0x660 net/ipv6/ip6_output.c:171
 dst_output include/net/dst.h:470 [inline]
 NF_HOOK include/linux/netfilter.h:250 [inline]
 mld_sendpack+0x5fe/0xea0 net/ipv6/mcast.c:1660
 mld_send_cr net/ipv6/mcast.c:1956 [inline]
 mld_ifc_timer_expire+0x57c/0xcd0 net/ipv6/mcast.c:2455
 call_timer_fn+0x14a/0x650 kernel/time/timer.c:1280
 expire_timers+0x232/0x4d0 kernel/time/timer.c:1319
 __run_timers kernel/time/timer.c:1637 [inline]
 run_timer_softirq+0x1d5/0x5a0 kernel/time/timer.c:1650
 __do_softirq+0x254/0xa1d kernel/softirq.c:288
 invoke_softirq kernel/softirq.c:368 [inline]
 irq_exit+0x193/0x240 kernel/softirq.c:409
 exiting_irq arch/x86/include/asm/apic.h:648 [inline]
 smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1102
 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793
 </IRQ>
RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61
RSP: 0018:ffff8880b5477e68 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff10
RAX: 1ffffffff11e1254 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff8880b5468bc4
RBP: ffffffff88f09290 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffed1016a8d068
R13: ffff8880b5468340 R14: 0000000000000000 R15: 0000000000000000
 arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline]
 default_idle+0x47/0x370 arch/x86/kernel/process.c:558
 cpuidle_idle_call kernel/sched/idle.c:156 [inline]
 do_idle+0x250/0x3c0 kernel/sched/idle.c:246
 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:351
 start_secondary+0x4db/0x670 arch/x86/kernel/smpboot.c:272
 secondary_startup_64+0xa5/0xb0 arch/x86/kernel/head_64.S:240
Code: ed 4c 8b ab e0 0a 00 00 0f 84 9f 00 00 00 e8 b3 da 7b fd 49 8d bd 20 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 a7 00 00 00 49 8b 9d 20 02 00 00 48 85 db 74 
RIP: dev_hard_header include/linux/netdevice.h:2718 [inline] RSP: ffff8880ba507860
RIP: ipvlan_hard_header+0x75/0x150 drivers/net/ipvlan/ipvlan_main.c:444 RSP: ffff8880ba507860
---[ end trace aeba5ba2031b2052 ]---

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2020/12/09 09:19 linux-4.14.y 47cbf4cc32db 99917735 .config log report info