syzbot


general protection fault in udp_queue_rcv_skb

Status: public: reported C repro on 2019/04/12 00:00
Reported-by: syzbot+906454da85d72a99d53e@syzkaller.appspotmail.com
First crash: 2535d, last: 1814d

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: 1 PID: 2072 Comm: syz-executor114 Not tainted 4.4.174+ #4
task: ffff8801d5c5c740 task.stack: ffff8800b6f48000
RIP: 0010:[<ffffffff824813bd>]  [<ffffffff824813bd>] __xfrm_policy_check2 include/net/xfrm.h:1070 [inline]
RIP: 0010:[<ffffffff824813bd>]  [<ffffffff824813bd>] xfrm_policy_check include/net/xfrm.h:1076 [inline]
RIP: 0010:[<ffffffff824813bd>]  [<ffffffff824813bd>] xfrm4_policy_check include/net/xfrm.h:1081 [inline]
RIP: 0010:[<ffffffff824813bd>]  [<ffffffff824813bd>] udp_queue_rcv_skb+0x18d/0x14e0 net/ipv4/udp.c:1520
RSP: 0018:ffff8800b6f4f9f0  EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 000000000000000c RSI: ffffffff824813a4 RDI: 0000000000000060
RBP: ffff8800b6f4fa30 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801d4660000
R13: ffff8801d7321780 R14: 0000000000000000 R15: ffff8801d73217d8
FS:  00000000013ce880(0063) GS:ffff8801db700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 00000001d86b0000 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffff8801d4660000 ffff880100000001 ffff8801d4660088 ffff8801d4660000
 ffff8801d7321780 dffffc0000000000 ffff8801d4660088 0000000000000000
 ffff8800b6f4faa0 ffffffff821e5e40 ffff8801d4660430 ffff8801d4660188
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
 [<ffffffff8247f646>] udp_sendmsg+0x1176/0x1c60 net/ipv4/udp.c:1107
 [<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 f9 07 00 00 e8 4c 82 e8 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 6a 0e 00 00 41 f6 46 60 04 
RIP  [<ffffffff824813bd>] __xfrm_policy_check2 include/net/xfrm.h:1070 [inline]
RIP  [<ffffffff824813bd>] xfrm_policy_check include/net/xfrm.h:1076 [inline]
RIP  [<ffffffff824813bd>] xfrm4_policy_check include/net/xfrm.h:1081 [inline]
RIP  [<ffffffff824813bd>] udp_queue_rcv_skb+0x18d/0x14e0 net/ipv4/udp.c:1520
 RSP <ffff8800b6f4f9f0>
---[ end trace 15e080a8c7ddcb53 ]---

Crashes (31235):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/02/19 20:52 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 4df543c9 .config console log report syz C ci-android-44-kasan-gce
2018/12/22 23:19 https://android.googlesource.com/kernel/common android-4.4 dfca92bab267 e3bd7ab8 .config console log report syz C ci-android-44-kasan-gce
2018/12/05 19:55 https://android.googlesource.com/kernel/common android-4.4 d40633ce0827 ac6c0578 .config console log report syz C ci-android-44-kasan-gce
2018/11/27 01:34 https://android.googlesource.com/kernel/common android-4.4 564ce1b48436 ac912200 .config console log report syz C ci-android-44-kasan-gce
2018/11/15 16:12 https://android.googlesource.com/kernel/common android-4.4 498bf61266f1 5f5f6d14 .config console log report syz C ci-android-44-kasan-gce
2018/11/09 00:59 https://android.googlesource.com/kernel/common android-4.4 1bdb20fcd457 e85d2a61 .config console log report syz C ci-android-44-kasan-gce
2018/11/04 21:55 https://android.googlesource.com/kernel/common android-4.4 c4b00eb70496 8bd6bd63 .config console log report syz C ci-android-44-kasan-gce
2018/11/04 03:07 https://android.googlesource.com/kernel/common android-4.4 c4b00eb70496 8bd6bd63 .config console log report syz C ci-android-44-kasan-gce
2018/10/28 00:23 https://android.googlesource.com/kernel/common android-4.4 c4b00eb70496 8efba39a .config console log report syz C ci-android-44-kasan-gce
2018/10/13 22:14 https://android.googlesource.com/kernel/common android-4.4 8e7f196597f3 caf12900 .config console log report syz C ci-android-44-kasan-gce
2018/10/13 18:47 https://android.googlesource.com/kernel/common android-4.4 8e7f196597f3 caf12900 .config console log report syz C ci-android-44-kasan-gce
2018/09/30 03:47 https://android.googlesource.com/kernel/common android-4.4 624c09594792 41e4b329 .config console log report syz C ci-android-44-kasan-gce
2018/09/21 10:53 https://android.googlesource.com/kernel/common android-4.4 cb28adba1a09 37079712 .config console log report syz C ci-android-44-kasan-gce
2018/09/05 02:19 https://android.googlesource.com/kernel/common android-4.4 05cccc3367f4 a4718693 .config console log report syz C ci-android-44-kasan-gce
2018/08/15 08:39 https://android.googlesource.com/kernel/common android-4.4 a5fc66599b61 0e6dcb88 .config console log report syz C ci-android-44-kasan-gce
2018/08/03 03:58 https://android.googlesource.com/kernel/common android-4.4 2241aa98c9aa 5b7e23bb .config console log report syz C ci-android-44-kasan-gce
2018/07/31 00:33 https://android.googlesource.com/kernel/common android-4.4 9664bdeff388 1a381291 .config console log report syz C ci-android-44-kasan-gce
2018/06/18 07:01 https://android.googlesource.com/kernel/common android-4.4 07c01385fb82 27c5f59f .config console log report syz C ci-android-44-kasan-gce
2018/06/16 07:19 https://android.googlesource.com/kernel/common android-4.4 a2e2217bd824 27c5f59f .config console log report syz C ci-android-44-kasan-gce
2018/05/04 19:56 https://android.googlesource.com/kernel/common android-4.4 4fca5a0c008a 9ce14f4b .config console log report syz C ci-android-44-kasan-gce
2018/04/26 13:49 https://android.googlesource.com/kernel/common android-4.4 bd23e3af1765 73417389 .config console log report syz C ci-android-44-kasan-gce
2018/04/24 15:25 https://android.googlesource.com/kernel/common android-4.4 bd23e3af1765 2bf86f40 .config console log report syz C ci-android-44-kasan-gce
2018/04/08 19:16 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 77bd5117 .config console log report syz C ci-android-44-kasan-gce
2018/03/30 06:04 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 d47f0ed6 .config console log report syz C ci-android-44-kasan-gce
2018/03/17 14:06 https://android.googlesource.com/kernel/common android-4.4 d63fdf61a4dc 08dacaa0 .config console log report syz C ci-android-44-kasan-gce
2018/03/13 13:31 https://android.googlesource.com/kernel/common android-4.4 d63fdf61a4dc 08dacaa0 .config console log report syz C ci-android-44-kasan-gce
2018/03/12 15:30 https://android.googlesource.com/kernel/common android-4.4 d63fdf61a4dc f505ca4b .config console log report syz C ci-android-44-kasan-gce
2018/03/03 10:57 https://android.googlesource.com/kernel/common android-4.4 855ea747806b 2c6f473e .config console log report syz C ci-android-44-kasan-gce
2018/02/21 06:56 https://android.googlesource.com/kernel/common android-4.4 20ddb25b3ebf 04cbdbd1 .config console log report syz C ci-android-44-kasan-gce
2018/02/11 08:59 https://android.googlesource.com/kernel/common android-4.4 0e9bcc1e0a16 4e9b726d .config console log report syz C ci-android-44-kasan-gce
2018/02/06 18:37 https://android.googlesource.com/kernel/common android-4.4 037d2374ce3e 66c15deb .config console log report syz C ci-android-44-kasan-gce
2018/02/01 11:36 https://android.googlesource.com/kernel/common android-4.4 fe09418d6f88 02553e22 .config console log report syz C ci-android-44-kasan-gce
2018/11/09 00:30 https://android.googlesource.com/kernel/common android-4.4 1bdb20fcd457 e85d2a61 .config console log report syz C ci-android-44-kasan-gce-386
2018/02/06 18:27 https://android.googlesource.com/kernel/common android-4.4 037d2374ce3e 66c15deb .config console log report syz C ci-android-44-kasan-gce-386
2019/06/09 15:19 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 0159583c .config console log report syz ci-android-44-kasan-gce
2018/09/22 02:47 https://android.googlesource.com/kernel/common android-4.4 cb28adba1a09 37079712 .config console log report syz ci-android-44-kasan-gce
2018/03/01 13:09 https://android.googlesource.com/kernel/common android-4.4 024f962d4b24 c4089507 .config console log report syz ci-android-44-kasan-gce
2018/04/08 19:16 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 77bd5117 .config console log report syz ci-android-44-kasan-gce-386
2018/03/17 14:22 https://android.googlesource.com/kernel/common android-4.4 d63fdf61a4dc 08dacaa0 .config console log report syz ci-android-44-kasan-gce-386
2018/03/13 13:31 https://android.googlesource.com/kernel/common android-4.4 d63fdf61a4dc 08dacaa0 .config console log report syz ci-android-44-kasan-gce-386
2018/03/03 10:15 https://android.googlesource.com/kernel/common android-4.4 855ea747806b 2c6f473e .config console log report syz ci-android-44-kasan-gce-386
2019/12/04 10:23 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 0ecb9746 .config console log report ci-android-44-kasan-gce
2019/12/04 02:57 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ae13a849 .config console log report ci-android-44-kasan-gce
2019/12/03 23:46 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ae13a849 .config console log report ci-android-44-kasan-gce
2019/12/03 20:25 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ae13a849 .config console log report ci-android-44-kasan-gce
2019/12/03 17:54 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ae13a849 .config console log report ci-android-44-kasan-gce
2019/12/03 16:03 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ab342da3 .config console log report ci-android-44-kasan-gce
2019/12/03 13:50 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ab342da3 .config console log report ci-android-44-kasan-gce
2019/12/03 07:49 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ab342da3 .config console log report ci-android-44-kasan-gce
2019/12/03 06:51 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ab342da3 .config console log report ci-android-44-kasan-gce
2019/12/02 21:30 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ab342da3 .config console log report ci-android-44-kasan-gce
2019/12/02 18:39 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f879db37 .config console log report ci-android-44-kasan-gce
2019/12/02 17:25 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f879db37 .config console log report ci-android-44-kasan-gce
2019/12/02 16:35 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f879db37 .config console log report ci-android-44-kasan-gce
2019/12/02 14:18 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f879db37 .config console log report ci-android-44-kasan-gce
2019/12/02 12:03 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f879db37 .config console log report ci-android-44-kasan-gce
2019/12/02 09:44 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f879db37 .config console log report ci-android-44-kasan-gce
2019/12/02 07:52 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f879db37 .config console log report ci-android-44-kasan-gce
2019/12/01 22:35 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce
2019/12/01 19:57 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce
2019/12/01 18:54 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce
2019/12/01 15:53 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce
2019/12/01 12:28 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce
2019/12/01 11:12 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce
2019/12/01 10:12 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce
2019/12/01 07:32 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce
2019/12/01 04:02 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce
2019/11/30 22:13 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce
2019/12/04 06:33 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ae13a849 .config console log report ci-android-44-kasan-gce-386
2019/12/04 01:12 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ae13a849 .config console log report ci-android-44-kasan-gce-386
2019/12/03 17:48 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ae13a849 .config console log report ci-android-44-kasan-gce-386
2019/12/03 16:05 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ab342da3 .config console log report ci-android-44-kasan-gce-386
2019/12/03 15:00 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ab342da3 .config console log report ci-android-44-kasan-gce-386
2019/12/03 11:12 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ab342da3 .config console log report ci-android-44-kasan-gce-386
2019/12/03 09:23 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ab342da3 .config console log report ci-android-44-kasan-gce-386
2019/12/03 04:55 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ab342da3 .config console log report ci-android-44-kasan-gce-386
2019/12/03 03:24 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ab342da3 .config console log report ci-android-44-kasan-gce-386
2019/12/03 02:21 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ab342da3 .config console log report ci-android-44-kasan-gce-386
2019/12/02 23:03 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ab342da3 .config console log report ci-android-44-kasan-gce-386
2019/12/02 20:09 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f879db37 .config console log report ci-android-44-kasan-gce-386
2019/12/02 06:26 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f879db37 .config console log report ci-android-44-kasan-gce-386
2019/12/02 03:45 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f879db37 .config console log report ci-android-44-kasan-gce-386
2019/12/01 23:48 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f879db37 .config console log report ci-android-44-kasan-gce-386
2019/12/01 20:54 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce-386
2019/12/01 14:42 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce-386
2019/12/01 13:31 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce-386
2019/12/01 07:35 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce-386
2019/12/01 05:35 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce-386
2019/12/01 02:47 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.