syzbot


kernel BUG in ipgre_header

Status: fixed on 2024/01/20 21:18
Subsystems: net
[Documentation on labels]
Fix commit: 3cffa2ddc4d3 bonding: stop the device in bond_setup_by_slave()
First crash: 161d, last: 146d
Discussions (1)
Title Replies (including bot) Last reply
Re: [PATCH net] ipv4: ip_gre: Handle skb_pull() failure in ipgre_xmit() 1 (1) 2023/11/28 16:15
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in ipgre_header origin:upstream C 5 1d09h 161d 0/3 upstream: reported C repro on 2023/11/18 02:08
upstream kernel BUG in llc_sap_action_send_xid_c net C error 61 899d 1113d 20/26 fixed on 2021/11/10 00:50
upstream kernel BUG in pskb_expand_head net C done 1600 442d 893d 22/26 fixed on 2023/02/25 08:02

Sample crash report:
bond1: (slave gre1): Enslaving as an active interface with an up link
skbuff: skb_under_panic: text:ffff80008939aa34 len:-32748 put:-32748 head:ffff0000d16dfc00 data:fffeffffd16e7cac tail:0xc0 end:0x140 dev:<NULL>
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:193!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 6097 Comm: syz-executor179 Not tainted 6.7.0-rc3-syzkaller-g2cc14f52aeb7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : skb_panic net/core/skbuff.c:189 [inline]
pc : skb_under_panic+0x13c/0x140 net/core/skbuff.c:203
lr : skb_panic net/core/skbuff.c:189 [inline]
lr : skb_under_panic+0x13c/0x140 net/core/skbuff.c:203
sp : ffff800096e974b0
x29: ffff800096e974c0 x28: 1ffff00012dd2f08 x27: dfff800000000000
x26: ffff0000d0154290 x25: 00000000000000c0 x24: fffeffffd16e7cac
x23: ffff0000d16dfc00 x22: 00000000ffff8014 x21: 0000000000000140
x20: 00000000ffff8014 x19: ffff80008939aa34 x18: 1fffe0003682a9ce
x17: ffff80008e4dd000 x16: ffff80008a825660 x15: 0000000000000001
x14: 1ffff00012dd2dec x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000000001 x10: 0000000000ff0100 x9 : bb39991abc81c200
x8 : bb39991abc81c200 x7 : ffff8000802921f8 x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff800082b79cd4
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000008f
Call trace:
 skb_panic net/core/skbuff.c:189 [inline]
 skb_under_panic+0x13c/0x140 net/core/skbuff.c:203
 skb_push+0xf0/0x108 net/core/skbuff.c:2451
 ipgre_header+0x78/0x3c4 net/ipv4/ip_gre.c:854
 dev_hard_header include/linux/netdevice.h:3188 [inline]
 packet_snd net/packet/af_packet.c:3039 [inline]
 packet_sendmsg+0x300c/0x4ca8 net/packet/af_packet.c:3119
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg net/socket.c:745 [inline]
 ____sys_sendmsg+0x56c/0x840 net/socket.c:2584
 ___sys_sendmsg net/socket.c:2638 [inline]
 __sys_sendmsg+0x26c/0x33c net/socket.c:2667
 __do_sys_sendmsg net/socket.c:2676 [inline]
 __se_sys_sendmsg net/socket.c:2674 [inline]
 __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2674
 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155
 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595
Code: aa1803e6 aa1903e7 a90023f5 947926d8 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/02 07:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2cc14f52aeb7 f819d6f7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ipgre_header
2023/12/02 05:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2cc14f52aeb7 f819d6f7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ipgre_header
2023/11/18 01:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ipgre_header
2023/11/18 00:13 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ipgre_header
* Struck through repros no longer work on HEAD.