syzbot


general protection fault in udpv6_queue_rcv_skb

Status: public: reported C repro on 2019/04/12 00:00
Reported-by: syzbot+3f393a3ddeabbb7b068c@syzkaller.appspotmail.com
First crash: 2536d, last: 1820d

Sample crash report:
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
Modules linked in:
CPU: 0 PID: 2074 Comm: syz-executor668 Not tainted 4.4.174+ #4
task: ffff8800b71317c0 task.stack: ffff8801d41f0000
RIP: 0010:[<ffffffff8261569d>]  [<ffffffff8261569d>] __xfrm_policy_check2 include/net/xfrm.h:1070 [inline]
RIP: 0010:[<ffffffff8261569d>]  [<ffffffff8261569d>] xfrm_policy_check include/net/xfrm.h:1076 [inline]
RIP: 0010:[<ffffffff8261569d>]  [<ffffffff8261569d>] xfrm6_policy_check include/net/xfrm.h:1086 [inline]
RIP: 0010:[<ffffffff8261569d>]  [<ffffffff8261569d>] udpv6_queue_rcv_skb+0x18d/0x14d0 net/ipv6/udp.c:634
RSP: 0018:ffff8801d41f79e8  EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 000000000000000c RSI: ffffffff82615684 RDI: 0000000000000060
RBP: ffff8801d41f7a30 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8800b6430000
R13: ffff8800b7065780 R14: 0000000000000000 R15: ffff8800b70657d8
FS:  0000000002011880(0063) GS:ffff8801db600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000080 CR3: 00000000ba369000 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffff8800b71317c0 ffff880000000001 ffff8800b6430088 ffff8800b6430088
 ffff8800b6430000 ffff8800b7065780 dffffc0000000000 ffff8800b6430088
 0000000000000000 ffff8801d41f7aa0 ffffffff821e5e40 ffff8800b6430430
Call Trace:
 [<ffffffff821e5e40>] sk_backlog_rcv include/net/sock.h:875 [inline]
 [<ffffffff821e5e40>] __release_sock net/core/sock.c:2024 [inline]
 [<ffffffff821e5e40>] release_sock+0x170/0x500 net/core/sock.c:2477
 [<ffffffff82612d88>] udpv6_sendmsg+0x8d8/0x24f0 net/ipv6/udp.c:1364
 [<ffffffff824a8b42>] inet_sendmsg+0x202/0x4d0 net/ipv4/af_inet.c:755
 [<ffffffff821d838e>] sock_sendmsg_nosec net/socket.c:638 [inline]
 [<ffffffff821d838e>] sock_sendmsg+0xbe/0x110 net/socket.c:648
 [<ffffffff821dc4f1>] SYSC_sendto net/socket.c:1678 [inline]
 [<ffffffff821dc4f1>] SyS_sendto+0x201/0x340 net/socket.c:1646
 [<ffffffff82718ba1>] entry_SYSCALL_64_fastpath+0x1e/0x9a
Code: 8b 75 58 41 f6 c6 01 0f 85 d9 07 00 00 e8 6c 3f cf fe 49 83 e6 fe 48 b8 00 00 00 00 00 fc ff df 49 8d 7e 60 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 01 0f 8e 8b 0e 00 00 41 f6 46 60 04 
RIP  [<ffffffff8261569d>] __xfrm_policy_check2 include/net/xfrm.h:1070 [inline]
RIP  [<ffffffff8261569d>] xfrm_policy_check include/net/xfrm.h:1076 [inline]
RIP  [<ffffffff8261569d>] xfrm6_policy_check include/net/xfrm.h:1086 [inline]
RIP  [<ffffffff8261569d>] udpv6_queue_rcv_skb+0x18d/0x14d0 net/ipv6/udp.c:634
 RSP <ffff8801d41f79e8>
---[ end trace 53711117613fb82c ]---

Crashes (14479):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/02/26 20:00 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a36ecd98 .config console log report syz C ci-android-44-kasan-gce
2018/11/16 14:56 https://android.googlesource.com/kernel/common android-4.4 498bf61266f1 f5e275d1 .config console log report syz C ci-android-44-kasan-gce
2018/09/08 10:54 https://android.googlesource.com/kernel/common android-4.4 b68e78cfbd1d 6b5120a4 .config console log report syz C ci-android-44-kasan-gce
2018/09/02 11:00 https://android.googlesource.com/kernel/common android-4.4 7e85a4b796e8 a4718693 .config console log report syz C ci-android-44-kasan-gce
2018/08/02 13:42 https://android.googlesource.com/kernel/common android-4.4 2241aa98c9aa 0a7cf4ec .config console log report syz C ci-android-44-kasan-gce
2018/07/31 21:11 https://android.googlesource.com/kernel/common android-4.4 7bbfac190345 1477993e .config console log report syz C ci-android-44-kasan-gce
2018/07/21 03:57 https://android.googlesource.com/kernel/common android-4.4 1b37d68f4c82 af255b09 .config console log report syz C ci-android-44-kasan-gce
2018/05/03 16:00 https://android.googlesource.com/kernel/common android-4.4 834913c4b790 9ce14f4b .config console log report syz C ci-android-44-kasan-gce
2018/04/29 04:58 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb d5a5d045 .config console log report syz C ci-android-44-kasan-gce
2018/04/27 23:49 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb 7785e404 .config console log report syz C ci-android-44-kasan-gce
2018/03/05 22:57 https://android.googlesource.com/kernel/common android-4.4 855ea747806b bbd5104f .config console log report syz C ci-android-44-kasan-gce
2018/02/06 16:35 https://android.googlesource.com/kernel/common android-4.4 037d2374ce3e 66c15deb .config console log report syz C ci-android-44-kasan-gce
2018/02/03 11:35 https://android.googlesource.com/kernel/common android-4.4 4e74e983ab6e 632a8c2c .config console log report syz C ci-android-44-kasan-gce
2017/12/14 04:20 https://android.googlesource.com/kernel/common android-4.4 b5797f6112c7 06ea774d .config console log report syz C ci-android-44-kasan-gce
2018/09/02 11:17 https://android.googlesource.com/kernel/common android-4.4 7e85a4b796e8 a4718693 .config console log report syz C ci-android-44-kasan-gce-386
2018/02/03 11:11 https://android.googlesource.com/kernel/common android-4.4 4e74e983ab6e 632a8c2c .config console log report syz C ci-android-44-kasan-gce-386
2018/09/23 04:10 https://android.googlesource.com/kernel/common android-4.4 cb28adba1a09 37079712 .config console log report syz ci-android-44-kasan-gce
2018/03/01 12:02 https://android.googlesource.com/kernel/common android-4.4 024f962d4b24 c4089507 .config console log report syz ci-android-44-kasan-gce
2018/04/24 22:45 https://android.googlesource.com/kernel/common android-4.4 bd23e3af1765 37e76fe2 .config console log report syz ci-android-44-kasan-gce-386
2019/11/26 22:35 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 1048481f .config console log report ci-android-44-kasan-gce
2019/11/20 23:24 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 8098ea0f .config console log report ci-android-44-kasan-gce
2019/11/19 11:50 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 5bc70212 .config console log report ci-android-44-kasan-gce
2019/11/14 18:48 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 5d15a967 .config console log report ci-android-44-kasan-gce
2019/11/14 17:17 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 5d15a967 .config console log report ci-android-44-kasan-gce
2019/11/14 09:44 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 5d15a967 .config console log report ci-android-44-kasan-gce
2019/11/14 08:02 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/14 06:47 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/14 05:25 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/14 02:33 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/13 15:51 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/13 12:56 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/13 08:21 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/13 05:50 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/13 04:28 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/13 01:52 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/12 23:09 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/12 21:53 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/12 19:19 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/12 16:54 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/12 12:52 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/11 02:13 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b dc438b91 .config console log report ci-android-44-kasan-gce
2019/11/10 23:55 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b dc438b91 .config console log report ci-android-44-kasan-gce
2019/11/10 15:20 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b dc438b91 .config console log report ci-android-44-kasan-gce
2019/11/10 13:22 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b dc438b91 .config console log report ci-android-44-kasan-gce
2019/11/10 01:33 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b dc438b91 .config console log report ci-android-44-kasan-gce
2019/10/21 14:26 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b b24d2b8a .config console log report ci-android-44-kasan-gce
2019/10/01 09:55 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b c7a4fb99 .config console log report ci-android-44-kasan-gce
2019/09/23 14:04 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 1e9788a0 .config console log report ci-android-44-kasan-gce
2019/09/23 07:21 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d96e88f3 .config console log report ci-android-44-kasan-gce
2019/09/22 13:36 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d96e88f3 .config console log report ci-android-44-kasan-gce
2019/09/20 10:54 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d96e88f3 .config console log report ci-android-44-kasan-gce
2019/09/18 10:44 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 03e0d245 .config console log report ci-android-44-kasan-gce
2019/09/17 23:21 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 13dcda9b .config console log report ci-android-44-kasan-gce
2019/09/17 00:30 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 51ca0454 .config console log report ci-android-44-kasan-gce
2019/09/16 00:48 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 32d59357 .config console log report ci-android-44-kasan-gce
2019/09/15 18:03 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 32d59357 .config console log report ci-android-44-kasan-gce
2019/09/15 15:10 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 32d59357 .config console log report ci-android-44-kasan-gce
2019/09/15 13:29 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 32d59357 .config console log report ci-android-44-kasan-gce
2019/11/28 08:40 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 0d63f89c .config console log report ci-android-44-kasan-gce-386
2019/11/26 15:30 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f746151a .config console log report ci-android-44-kasan-gce-386
2019/11/23 23:48 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 598ca6c8 .config console log report ci-android-44-kasan-gce-386
2019/11/22 19:11 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 598ca6c8 .config console log report ci-android-44-kasan-gce-386
2019/11/21 21:59 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 8098ea0f .config console log report ci-android-44-kasan-gce-386
2019/11/21 13:36 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 8098ea0f .config console log report ci-android-44-kasan-gce-386
2019/11/18 10:16 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d5696d51 .config console log report ci-android-44-kasan-gce-386
2019/11/17 11:15 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d5696d51 .config console log report ci-android-44-kasan-gce-386
2019/11/17 00:44 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d5696d51 .config console log report ci-android-44-kasan-gce-386
2019/11/16 08:59 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b cdac920b .config console log report ci-android-44-kasan-gce-386
2019/09/23 12:04 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d96e88f3 .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.