syzbot


kernel BUG at ./include/linux/skbuff.h:LINE!

Status: fixed on 2018/01/22 13:19
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+82bbd65569c49c6c0c4d@syzkaller.appspotmail.com
Fix commit: 374d1b5a81f7 esp: Fix GRO when the headers not fully in the linear part of the skb.
First crash: 2441d, last: 2283d
Discussions (3)
Title Replies (including bot) Last reply
[PATCH 4.14 000/159] 4.14.22-stable review 164 (164) 2018/02/24 17:57
[PATCH 09/11] esp: Fix GRO when the headers not fully in the linear part of the skb. 1 (1) 2018/01/11 11:37
kernel BUG at ./include/linux/skbuff.h:LINE! 1 (2) 2018/01/05 08:01
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-414 kernel BUG at ./include/linux/skbuff.h:LINE! syz 27 1687d 1713d 0/1 public: reported syz repro on 2019/08/10 08:48
upstream kernel BUG at ./include/linux/skbuff.h:LINE! (2) net C 5 2241d 2219d 5/26 fixed on 2018/04/06 16:37
linux-4.14 kernel BUG at ./include/linux/skbuff.h:LINE! C done 16 1687d 1713d 1/1 fixed on 2019/12/05 10:31
android-49 kernel BUG at ./include/linux/skbuff.h:LINE! C 3 2245d 2398d 0/3 closed as invalid on 2019/03/06 00:11
android-49 kernel BUG at ./include/linux/skbuff.h:LINE! (2) syz 16 1687d 1707d 0/3 public: reported syz repro on 2019/08/16 10:13

Sample crash report:
------------[ cut here ]------------
kernel BUG at ./include/linux/skbuff.h:2068!
invalid opcode: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 3145 Comm: syzkaller456978 Not tainted 4.15.0-rc4+ #234
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__skb_pull include/linux/skbuff.h:2068 [inline]
RIP: 0010:skb_pull_inline include/linux/skbuff.h:2074 [inline]
RIP: 0010:skb_pull+0xd5/0xf0 net/core/skbuff.c:1731
RSP: 0018:ffff8801c921f270 EFLAGS: 00010293
RAX: ffff8801ca472480 RBX: ffff8801c81123c0 RCX: ffffffff841bb0b5
RDX: 0000000000000000 RSI: 0000000000000028 RDI: ffff8801c811243c
RBP: ffff8801c921f288 R08: 1ffff10039243db7 R09: 0000000000000002
R10: ffff8801c921f278 R11: 0000000000000000 R12: 0000000000000028
R13: 0000000000000010 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000000001ca4880(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002084c000 CR3: 00000001ca73c003 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 esp6_gro_receive+0xb4/0xbe0 net/ipv6/esp6_offload.c:63
 call_gro_receive include/linux/netdevice.h:2200 [inline]
 ipv6_gro_receive+0x83e/0x13c0 net/ipv6/ip6_offload.c:253
 dev_gro_receive+0xd2c/0x2120 net/core/dev.c:4857
 napi_gro_frags+0x377/0xad0 net/core/dev.c:5113
 tun_get_user+0x25f5/0x36d0 drivers/net/tun.c:1757
 tun_chr_write_iter+0xb9/0x160 drivers/net/tun.c:1800
 call_write_iter include/linux/fs.h:1772 [inline]
 do_iter_readv_writev+0x525/0x7f0 fs/read_write.c:653
 do_iter_write+0x154/0x540 fs/read_write.c:932
 vfs_writev+0x18a/0x340 fs/read_write.c:977
 do_writev+0xfc/0x2a0 fs/read_write.c:1012
 SYSC_writev fs/read_write.c:1085 [inline]
 SyS_writev+0x27/0x30 fs/read_write.c:1082
 entry_SYSCALL_64_fastpath+0x1f/0x96
RIP: 0033:0x444e50
RSP: 002b:00007fff5a4f08d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000444e50
RDX: 0000000000000002 RSI: 00007fff5a4f08e0 RDI: 0000000000000003
RBP: 00000000006d0018 R08: 000000002084c046 R09: 0000000000000046
R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000402390
R13: 0000000000402420 R14: 0000000000000000 R15: 0000000000000000
Code: a3 d0 00 00 00 e8 fc 38 54 fd 4c 89 e0 5b 41 5c 41 5d 5d c3 45 31 e4 e8 ea 38 54 fd 4c 89 e0 5b 41 5c 41 5d 5d c3 e8 db 38 54 fd <0f> 0b e8 d4 af 8a fd eb 9a e8 cd af 8a fd e9 51 ff ff ff e8 e3 
RIP: __skb_pull include/linux/skbuff.h:2068 [inline] RSP: ffff8801c921f270
RIP: skb_pull_inline include/linux/skbuff.h:2074 [inline] RSP: ffff8801c921f270
RIP: skb_pull+0xd5/0xf0 net/core/skbuff.c:1731 RSP: ffff8801c921f270
---[ end trace c8c7c2ebe84a87dd ]---

Crashes (4502):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/12/22 23:01 upstream ead68f216110 8e409090 .config console log report syz C ci-upstream-kasan-gce
2017/12/22 21:30 upstream ead68f216110 8e409090 .config console log report syz C ci-upstream-kasan-gce-386
2017/12/22 20:26 net-next-old fba961ab29e5 8e409090 .config console log report syz C ci-upstream-net-kasan-gce
2017/12/23 22:58 linux-next 0e08c463db38 73aba437 .config console log report syz C ci-upstream-next-kasan-gce
2017/12/23 10:38 mmots 37759fa6d0fa 73aba437 .config console log report syz C ci-upstream-mmots-kasan-gce
2017/08/15 01:41 net-next-old f5b589488ea5 6a0246bf .config console log report syz ci-upstream-net-kasan-gce
2017/09/15 19:01 mmots 720bbe532b7c c26ea367 .config console log report syz ci-upstream-mmots-kasan-gce
2017/08/15 01:59 linux-next 91dfed74eabc 6a0246bf .config console log report syz ci-upstream-next-kasan-gce
2017/08/15 01:13 linux-next 91dfed74eabc 6a0246bf .config console log report syz ci-upstream-next-kasan-gce
2018/01/14 18:49 upstream 9443c168505d 66d492a6 .config console log report ci-upstream-kasan-gce
2018/01/14 13:24 upstream 2c1cfa499018 c9e7aeae .config console log report ci-upstream-kasan-gce
2018/01/12 23:22 upstream c92a9a461dff 9dc808a6 .config console log report ci-upstream-kasan-gce
2018/01/11 05:47 upstream 5f615b97cdea 02a19b64 .config console log report ci-upstream-kasan-gce
2018/01/12 06:28 upstream 1545dec46db3 9dc808a6 .config console log report ci-upstream-kasan-gce-386
2018/01/15 14:52 net-next-old 564737f981fb 66d492a6 .config console log report ci-upstream-net-kasan-gce
2018/01/15 00:58 net-next-old 1988c7957881 66d492a6 .config console log report ci-upstream-net-kasan-gce
2018/01/14 21:39 net-next-old 1988c7957881 66d492a6 .config console log report ci-upstream-net-kasan-gce
2018/01/14 14:34 net-next-old 6bd39bc3da0f c9e7aeae .config console log report ci-upstream-net-kasan-gce
2018/01/14 09:28 net-next-old 6bd39bc3da0f c9e7aeae .config console log report ci-upstream-net-kasan-gce
2018/01/14 07:28 net-next-old 6bd39bc3da0f c9e7aeae .config console log report ci-upstream-net-kasan-gce
2018/01/14 03:18 net-next-old 6bd39bc3da0f c9e7aeae .config console log report ci-upstream-net-kasan-gce
2018/01/14 00:48 net-next-old 6bd39bc3da0f c9e7aeae .config console log report ci-upstream-net-kasan-gce
2018/01/13 20:21 net-next-old 6bd39bc3da0f c9e7aeae .config console log report ci-upstream-net-kasan-gce
2018/01/13 17:36 net-next-old 6bd39bc3da0f c9e7aeae .config console log report ci-upstream-net-kasan-gce
2018/01/13 15:35 net-next-old 6bd39bc3da0f c9e7aeae .config console log report ci-upstream-net-kasan-gce
2018/01/13 13:57 net-next-old 6bd39bc3da0f c9e7aeae .config console log report ci-upstream-net-kasan-gce
2018/01/13 12:35 net-next-old 6bd39bc3da0f c9e7aeae .config console log report ci-upstream-net-kasan-gce
2018/01/13 09:28 net-next-old 6bd39bc3da0f 9dc808a6 .config console log report ci-upstream-net-kasan-gce
2018/01/13 07:16 net-next-old 6bd39bc3da0f 9dc808a6 .config console log report ci-upstream-net-kasan-gce
2018/01/13 05:49 net-next-old 6bd39bc3da0f 9dc808a6 .config console log report ci-upstream-net-kasan-gce
2018/01/13 02:08 net-next-old 19d28fbd306e 9dc808a6 .config console log report ci-upstream-net-kasan-gce
2018/01/12 19:28 net-next-old 19d28fbd306e 9dc808a6 .config console log report ci-upstream-net-kasan-gce
2018/01/12 17:08 net-next-old 19d28fbd306e 9dc808a6 .config console log report ci-upstream-net-kasan-gce
2018/01/12 12:23 net-next-old 8c2e6c904fd8 9dc808a6 .config console log report ci-upstream-net-kasan-gce
2018/01/12 10:41 net-next-old 8c2e6c904fd8 9dc808a6 .config console log report ci-upstream-net-kasan-gce
2018/01/12 07:46 net-next-old 8c2e6c904fd8 9dc808a6 .config console log report ci-upstream-net-kasan-gce
2018/01/12 01:09 net-next-old 8c2e6c904fd8 9dc808a6 .config console log report ci-upstream-net-kasan-gce
2018/01/11 22:01 net-next-old c5e62a24278a 9dc808a6 .config console log report ci-upstream-net-kasan-gce
2018/01/11 16:43 net-next-old c5e62a24278a 9dc808a6 .config console log report ci-upstream-net-kasan-gce
2018/01/11 15:07 net-next-old c5e62a24278a 9dc808a6 .config console log report ci-upstream-net-kasan-gce
2018/01/11 11:31 net-next-old c5e62a24278a 9dc808a6 .config console log report ci-upstream-net-kasan-gce
2018/01/11 10:07 net-next-old c5e62a24278a 02a19b64 .config console log report ci-upstream-net-kasan-gce
2018/01/11 07:07 net-next-old e2b3b35eb989 02a19b64 .config console log report ci-upstream-net-kasan-gce
2018/01/11 04:28 net-next-old e2b3b35eb989 02a19b64 .config console log report ci-upstream-net-kasan-gce
2018/01/11 03:04 net-next-old e2b3b35eb989 02a19b64 .config console log report ci-upstream-net-kasan-gce
2018/01/11 01:15 net-next-old e2b3b35eb989 02a19b64 .config console log report ci-upstream-net-kasan-gce
2018/01/10 23:32 net-next-old e2b3b35eb989 02a19b64 .config console log report ci-upstream-net-kasan-gce
2018/01/10 21:30 net-next-old e2b3b35eb989 02a19b64 .config console log report ci-upstream-net-kasan-gce
2018/01/11 13:19 mmots 4147d50978df 9dc808a6 .config console log report ci-upstream-mmots-kasan-gce
* Struck through repros no longer work on HEAD.