syzbot


general protection fault in xfrm_state_walk_done

Status: public: reported C repro on 2019/04/11 08:44
Reported-by: syzbot+4e13fa498814ef194c39@syzkaller.appspotmail.com
First crash: 2426d, last: 1817d

Sample crash report:
random: sshd: uninitialized urandom read (32 bytes read, 36 bits of entropy available)
random: sshd: uninitialized urandom read (32 bytes read, 100 bits of entropy available)
random: sshd: uninitialized urandom read (32 bytes read, 111 bits of entropy available)
random: sshd: uninitialized urandom read (32 bytes read, 115 bits of entropy available)
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 3630 Comm: syzkaller653150 Not tainted 4.4.125-g38f41ec #63
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8800b21c6000 task.stack: ffff8801cd480000
RIP: 0010:[<ffffffff81d66a06>]  [<ffffffff81d66a06>] __list_del_entry+0x86/0x1d0 lib/list_debug.c:57
RSP: 0018:ffff8801cd4875a8  EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff8801cdb89610
RDX: 0000000000000000 RSI: ffffffff851beae0 RDI: ffff8801cdb89618
RBP: ffff8801cd4875c0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 1ffff10039a90e84 R12: 0000000000000000
R13: ffff8801cdb895b9 R14: ffff8801cdb89638 R15: 00000000ffffffde
FS:  0000000000e64880(0063) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200007c0 CR3: 00000001d2176000 CR4: 0000000000160670
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffff8801cdb89638 ffff8801cdb89610 ffffffff846f2b80 ffff8801cd4875d8
 ffffffff81d66b5d ffff8801cdb89610 ffff8801cd4875f8 ffffffff832b6fde
 ffff8801d3e8b300 ffff8801cdb89610 ffff8801cd487618 ffffffff832d6533
Call Trace:
 [<ffffffff81d66b5d>] list_del+0xd/0x70 lib/list_debug.c:77
 [<ffffffff832b6fde>] xfrm_state_walk_done+0x6e/0xa0 net/xfrm/xfrm_state.c:1675
 [<ffffffff832d6533>] xfrm_dump_sa_done+0x73/0xa0 net/xfrm/xfrm_user.c:913
 [<ffffffff82f87321>] netlink_dump+0x871/0xb40 net/netlink/af_netlink.c:2202
 [<ffffffff82f8bb0e>] __netlink_dump_start+0x52e/0x7c0 net/netlink/af_netlink.c:2267
 [<ffffffff832d6b1d>] netlink_dump_start include/linux/netlink.h:175 [inline]
 [<ffffffff832d6b1d>] xfrm_user_rcv_msg+0x5bd/0x6b0 net/xfrm/xfrm_user.c:2536
 [<ffffffff82f911fe>] netlink_rcv_skb+0x13e/0x370 net/netlink/af_netlink.c:2349
 [<ffffffff832d2eaf>] xfrm_netlink_rcv+0x6f/0x90 net/xfrm/xfrm_user.c:2557
 [<ffffffff82f8fd82>] netlink_unicast_kernel net/netlink/af_netlink.c:1267 [inline]
 [<ffffffff82f8fd82>] netlink_unicast+0x522/0x760 net/netlink/af_netlink.c:1293
 [<ffffffff82f908a8>] netlink_sendmsg+0x8e8/0xc50 net/netlink/af_netlink.c:1847
 [<ffffffff82df168a>] sock_sendmsg_nosec net/socket.c:625 [inline]
 [<ffffffff82df168a>] sock_sendmsg+0xca/0x110 net/socket.c:635
 [<ffffffff82df3261>] ___sys_sendmsg+0x6c1/0x7c0 net/socket.c:1962
 [<ffffffff82df52b3>] __sys_sendmsg+0xd3/0x190 net/socket.c:1996
 [<ffffffff82df539d>] SYSC_sendmsg net/socket.c:2007 [inline]
 [<ffffffff82df539d>] SyS_sendmsg+0x2d/0x50 net/socket.c:2003
 [<ffffffff83779965>] entry_SYSCALL_64_fastpath+0x22/0x9e
Code: c4 0f 84 94 00 00 00 48 b8 00 02 00 00 00 00 ad de 48 39 c3 0f 84 a5 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 e8 00 00 00 4c 8b 03 49 39 c8 0f 85 9b 00 00 
RIP  [<ffffffff81d66a06>] __list_del_entry+0x86/0x1d0 lib/list_debug.c:57
 RSP <ffff8801cd4875a8>
---[ end trace c23176c930ae3787 ]---

Crashes (198):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/04 03:01 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 676bd07e .config console log report syz C ci-android-44-kasan-gce
2019/12/03 22:01 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ae13a849 .config console log report ci-android-44-kasan-gce
2019/12/02 18:18 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f879db37 .config console log report ci-android-44-kasan-gce
2019/12/02 06:02 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f879db37 .config console log report ci-android-44-kasan-gce
2019/12/01 18:02 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce
2019/12/01 12:33 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce
2019/11/29 11:04 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 76357d6f .config console log report ci-android-44-kasan-gce
2019/11/27 23:58 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 0d63f89c .config console log report ci-android-44-kasan-gce
2019/11/27 21:31 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 0d63f89c .config console log report ci-android-44-kasan-gce
2019/11/26 05:02 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f746151a .config console log report ci-android-44-kasan-gce
2019/11/25 07:14 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 598ca6c8 .config console log report ci-android-44-kasan-gce
2019/11/24 12:29 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 598ca6c8 .config console log report ci-android-44-kasan-gce
2019/11/23 19:06 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 598ca6c8 .config console log report ci-android-44-kasan-gce
2019/11/23 04:39 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 598ca6c8 .config console log report ci-android-44-kasan-gce
2019/11/23 02:07 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 598ca6c8 .config console log report ci-android-44-kasan-gce
2019/11/21 08:10 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 8098ea0f .config console log report ci-android-44-kasan-gce
2019/11/21 02:28 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 8098ea0f .config console log report ci-android-44-kasan-gce
2019/11/20 04:47 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f4b7ed07 .config console log report ci-android-44-kasan-gce
2019/11/19 20:16 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 5bc70212 .config console log report ci-android-44-kasan-gce
2019/11/19 03:54 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 5bc70212 .config console log report ci-android-44-kasan-gce
2019/11/17 16:15 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d5696d51 .config console log report ci-android-44-kasan-gce
2019/11/16 03:52 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b cdac920b .config console log report ci-android-44-kasan-gce
2019/11/15 19:31 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b cdac920b .config console log report ci-android-44-kasan-gce
2019/11/15 16:52 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b cdac920b .config console log report ci-android-44-kasan-gce
2019/11/14 07:27 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/13 09:45 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/12 16:32 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/12 05:24 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/10 17:58 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b dc438b91 .config console log report ci-android-44-kasan-gce
2019/11/09 01:35 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b dc438b91 .config console log report ci-android-44-kasan-gce
2019/11/08 22:04 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 1e35461e .config console log report ci-android-44-kasan-gce
2019/11/07 15:09 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d797d201 .config console log report ci-android-44-kasan-gce
2019/11/07 05:52 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d797d201 .config console log report ci-android-44-kasan-gce
2019/11/06 14:05 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b bc2c6e45 .config console log report ci-android-44-kasan-gce
2019/11/06 07:52 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b bc2c6e45 .config console log report ci-android-44-kasan-gce
2019/11/05 19:18 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 0f3ec414 .config console log report ci-android-44-kasan-gce
2019/11/03 18:25 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b c9610487 .config console log report ci-android-44-kasan-gce
2019/11/03 16:14 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b c9610487 .config console log report ci-android-44-kasan-gce
2019/11/03 01:15 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a41ca8fa .config console log report ci-android-44-kasan-gce
2019/11/01 06:00 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a41ca8fa .config console log report ci-android-44-kasan-gce
2019/11/01 04:41 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a41ca8fa .config console log report ci-android-44-kasan-gce
2019/11/01 02:30 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a41ca8fa .config console log report ci-android-44-kasan-gce
2019/10/31 17:24 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a41ca8fa .config console log report ci-android-44-kasan-gce
2019/10/29 23:51 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 5ea87a66 .config console log report ci-android-44-kasan-gce
2019/10/29 02:03 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 439d7b14 .config console log report ci-android-44-kasan-gce
2019/10/28 19:44 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 439d7b14 .config console log report ci-android-44-kasan-gce
2019/10/27 04:47 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 25bb509e .config console log report ci-android-44-kasan-gce
2019/10/27 00:58 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 25bb509e .config console log report ci-android-44-kasan-gce
* Struck through repros no longer work on HEAD.