syzbot


kernel BUG in ip6gre_header

Status: fixed on 2023/09/28 17:51
Subsystems: net
[Documentation on labels]
Fix commit: 9eed321cde22 net: lapbether: only support ethernet devices
First crash: 540d, last: 469d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG at net/core/skbuff.c:LINE! C unreliable 494 829d 2048d 0/1 upstream: reported C repro on 2019/04/27 20:12
upstream kernel BUG in ip6gre_header (2) net C 2 418d 433d 25/28 fixed on 2024/01/20 21:18
upstream kernel BUG in ip6gre_header (5) net 1 121d 121d 0/28 closed as invalid on 2024/08/29 14:58
upstream kernel BUG in ip6gre_header (3) net 1 303d 303d 0/28 closed as invalid on 2024/03/01 17:31
upstream kernel BUG in ip6gre_header (4) net 1 210d 210d 0/28 closed as invalid on 2024/06/03 15:58
upstream kernel BUG in llc_sap_action_send_xid_c net C error 61 1121d 1335d 20/28 fixed on 2021/11/10 00:50
upstream kernel BUG in pskb_expand_head net C done 1600 664d 1115d 22/28 fixed on 2023/02/25 08:02
linux-6.1 kernel BUG in ip6gre_header origin:upstream C error 1 84d 539d 0/3 upstream: reported C repro on 2023/06/14 11:11

Sample crash report:
skbuff: skb_under_panic: text:ffff80008934c100 len:44 put:40 head:ffff0000d18dd200 data:ffff0000d18dd1ea tail:0x16 end:0x140 dev:bond1
------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:200!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 5643 Comm: dhcpcd Not tainted 6.4.0-rc5-syzkaller-g4641cff8e810 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : skb_panic net/core/skbuff.c:196 [inline]
pc : skb_under_panic+0x13c/0x140 net/core/skbuff.c:210
lr : skb_panic net/core/skbuff.c:196 [inline]
lr : skb_under_panic+0x13c/0x140 net/core/skbuff.c:210
sp : ffff8000973b7260
x29: ffff8000973b7270 x28: ffff8000973b7360 x27: dfff800000000000
x26: ffff0000d85d8150 x25: 0000000000000016 x24: ffff0000d18dd1ea
x23: ffff0000d18dd200 x22: 000000000000002c x21: 0000000000000140
x20: 0000000000000028 x19: ffff80008934c100 x18: ffff8000973b68a0
x17: 0000000000000000 x16: ffff80008a43bfbc x15: 0000000000000202
x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000000201 x10: 0000000000000000 x9 : f22f7eb937cced00
x8 : f22f7eb937cced00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff8000973b6b78 x4 : ffff80008df9ee80 x3 : ffff8000805974f4
x2 : 0000000000000001 x1 : 0000000100000201 x0 : 0000000000000086
Call trace:
 skb_panic net/core/skbuff.c:196 [inline]
 skb_under_panic+0x13c/0x140 net/core/skbuff.c:210
 skb_push+0xf0/0x108 net/core/skbuff.c:2409
 ip6gre_header+0xbc/0x738 net/ipv6/ip6_gre.c:1383
 dev_hard_header include/linux/netdevice.h:3137 [inline]
 lapbeth_data_transmit+0x1c4/0x298 drivers/net/wan/lapbether.c:257
 lapb_data_transmit+0x8c/0xb0 net/lapb/lapb_iface.c:447
 lapb_transmit_buffer+0x178/0x204 net/lapb/lapb_out.c:149
 lapb_send_control+0x220/0x320 net/lapb/lapb_subr.c:251
 lapb_establish_data_link+0x94/0xec
 lapb_device_event+0x348/0x4e0
 notifier_call_chain+0x1a4/0x510 kernel/notifier.c:93
 raw_notifier_call_chain+0x3c/0x50 kernel/notifier.c:461
 __dev_notify_flags+0x2bc/0x544
 dev_change_flags+0xd0/0x15c net/core/dev.c:8643
 devinet_ioctl+0x858/0x17e4 net/ipv4/devinet.c:1150
 inet_ioctl+0x2ac/0x4d8 net/ipv4/af_inet.c:979
 sock_do_ioctl+0x134/0x2dc net/socket.c:1201
 sock_ioctl+0x4ec/0x858 net/socket.c:1318
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl fs/ioctl.c:856 [inline]
 __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x244 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:191
 el0_svc+0x4c/0x160 arch/arm64/kernel/entry-common.c:647
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:665
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591
Code: aa1803e6 aa1903e7 a90023f5 947730f5 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/14 03:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 4641cff8e810 d2ee9228 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ip6gre_header
2023/07/09 11:34 net-next 6843306689af 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce kernel BUG in ip6gre_header
2023/08/23 20:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 35e2132122ba 4d7ae7ab .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ip6gre_header
2023/08/11 15:45 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6f09e57d8cf6 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ip6gre_header
2023/08/09 14:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 86d7896480b0 13ca4cd6 .config console log report info ci-upstream-gce-arm64 kernel BUG in ip6gre_header
* Struck through repros no longer work on HEAD.