syzbot


WARNING in ip6erspan_tunnel_xmit

Status: fixed on 2023/02/24 13:50
Subsystems: net
[Documentation on labels]
Fix commit: 301bd140ed0b erspan: do not assume transport header is always set
First crash: 759d, last: 515d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in ip6erspan_tunnel_xmit C done 1 483d 483d 3/3 fixed on 2023/04/20 22:24
upstream WARNING in ip6erspan_tunnel_xmit (2) net C unreliable 5 483d 483d 22/27 fixed on 2023/06/08 14:41

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5352 at include/linux/skbuff.h:2850 ip6erspan_tunnel_xmit+0x1688/0x1f70 net/ipv6/ip6_gre.c:962
Modules linked in:
CPU: 0 PID: 5352 Comm: syz-executor.0 Not tainted 6.2.0-rc8-syzkaller-00083-g3ac88fa4605e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
RIP: 0010:skb_mac_header include/linux/skbuff.h:2850 [inline]
RIP: 0010:ip6erspan_tunnel_xmit+0x1688/0x1f70 net/ipv6/ip6_gre.c:962
Code: 49 bd 00 00 00 00 00 fc ff df 4c 8b 74 24 20 74 0a e8 7c 2b 08 f8 e9 e2 ec ff ff e8 72 2b 08 f8 e9 35 ed ff ff e8 68 2b 08 f8 <0f> 0b e9 79 ef ff ff e8 5c 2b 08 f8 0f 0b e9 71 ea ff ff e8 50 2b
RSP: 0018:ffffc90014977660 EFLAGS: 00010287
RAX: ffffffff8983a6e8 RBX: 000000000000ffff RCX: 0000000000040000
RDX: ffffc90004102000 RSI: 00000000000000cb RDI: 00000000000000cc
RBP: ffffc90014977850 R08: ffffffff89839657 R09: ffffc90014977760
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000000000d0
R13: 1ffff1100503fb57 R14: dffffc0000000000 R15: ffff8880281fdad0
FS:  00007f1f2cffe700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1f2e4dfaa0 CR3: 0000000092a3b000 CR4: 00000000003526f0
DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __netdev_start_xmit include/linux/netdevice.h:4863 [inline]
 netdev_start_xmit include/linux/netdevice.h:4877 [inline]
 __dev_direct_xmit+0x4a3/0x7c0 net/core/dev.c:4297
 dev_direct_xmit include/linux/netdevice.h:3046 [inline]
 packet_direct_xmit+0x17f/0x300 net/packet/af_packet.c:282
 packet_snd net/packet/af_packet.c:3073 [inline]
 packet_sendmsg+0x484f/0x6250 net/packet/af_packet.c:3104
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg net/socket.c:734 [inline]
 __sys_sendto+0x475/0x5f0 net/socket.c:2120
 __do_sys_sendto net/socket.c:2132 [inline]
 __se_sys_sendto net/socket.c:2128 [inline]
 __x64_sys_sendto+0xde/0xf0 net/socket.c:2128
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f1f2e48c0f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1f2cffe168 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f1f2e5ac050 RCX: 00007f1f2e48c0f9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007f1f2e4e7ae9 R08: 0000000020000040 R09: 0000000000000014
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe808538ff R14: 00007f1f2cffe300 R15: 0000000000022000
 </TASK>

Crashes (23):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/17 04:59 upstream 3ac88fa4605e 851bc19a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ip6erspan_tunnel_xmit
2023/02/17 01:19 upstream 3ac88fa4605e 851bc19a .config console log report info ci-upstream-kasan-gce WARNING in ip6erspan_tunnel_xmit
2023/02/12 18:17 upstream f339c2597ebb 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in ip6erspan_tunnel_xmit
2023/02/12 17:26 upstream f339c2597ebb 93e26d60 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in ip6erspan_tunnel_xmit
2023/02/12 15:56 upstream f339c2597ebb 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ip6erspan_tunnel_xmit
2023/02/12 15:29 upstream f339c2597ebb 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ip6erspan_tunnel_xmit
2023/02/12 15:26 upstream f339c2597ebb 93e26d60 .config console log report info ci-upstream-kasan-gce WARNING in ip6erspan_tunnel_xmit
2023/02/12 15:26 upstream f339c2597ebb 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ip6erspan_tunnel_xmit
2023/02/12 14:25 upstream f339c2597ebb 93e26d60 .config console log report info ci-upstream-kasan-gce WARNING in ip6erspan_tunnel_xmit
2023/02/12 14:25 upstream f339c2597ebb 93e26d60 .config console log report info ci-upstream-kasan-gce WARNING in ip6erspan_tunnel_xmit
2022/06/17 22:41 upstream 274295c6e53f 8f633d84 .config console log report info ci-qemu-upstream WARNING in ip6erspan_tunnel_xmit
2023/02/17 04:19 upstream 3ac88fa4605e 851bc19a .config console log report info ci-upstream-kasan-gce-386 WARNING in ip6erspan_tunnel_xmit
2023/02/17 01:35 upstream 3ac88fa4605e 851bc19a .config console log report info ci-qemu-upstream-386 WARNING in ip6erspan_tunnel_xmit
2023/02/12 17:18 upstream f339c2597ebb 93e26d60 .config console log report info ci-upstream-kasan-gce-386 WARNING in ip6erspan_tunnel_xmit
2023/02/12 17:18 upstream f339c2597ebb 93e26d60 .config console log report info ci-upstream-kasan-gce-386 WARNING in ip6erspan_tunnel_xmit
2023/02/12 16:47 upstream f339c2597ebb 93e26d60 .config console log report info ci-upstream-kasan-gce-386 WARNING in ip6erspan_tunnel_xmit
2023/02/12 13:35 upstream f339c2597ebb 93e26d60 .config console log report info ci-qemu-upstream-386 WARNING in ip6erspan_tunnel_xmit
2023/02/12 13:35 upstream f339c2597ebb 93e26d60 .config console log report info ci-qemu-upstream-386 WARNING in ip6erspan_tunnel_xmit
2023/02/12 12:24 net-old 20ab8432420e 93e26d60 .config console log report info ci-upstream-net-this-kasan-gce WARNING in ip6erspan_tunnel_xmit
2023/02/12 12:23 net-next-old 75da437a2f17 93e26d60 .config console log report info ci-upstream-net-kasan-gce WARNING in ip6erspan_tunnel_xmit
2023/02/12 12:23 net-next-old 75da437a2f17 93e26d60 .config console log report info ci-upstream-net-kasan-gce WARNING in ip6erspan_tunnel_xmit
2022/12/11 19:08 net-next-old dd8b3a802b64 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6erspan_tunnel_xmit
2023/02/12 12:14 linux-next 38d2b86a665b 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in ip6erspan_tunnel_xmit
* Struck through repros no longer work on HEAD.