syzbot


general protection fault in ip6_datagram_dst_update

Status: auto-closed as invalid on 2019/02/22 12:36
First crash: 2485d, last: 2485d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in ip6_datagram_dst_update net C done 12 1958d 1961d 12/28 fixed on 2019/08/05 13:45

Sample crash report:
binder: undelivered TRANSACTION_ERROR: 29189
binder: undelivered TRANSACTION_ERROR: 29189
audit: type=1400 audit(1517464499.173:41): avc:  denied  { net_broadcast } for  pid=10215 comm="syz-executor4" capability=11  scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 10226 Comm: syz-executor7 Not tainted 4.9.79-g71f1469 #25
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801c0dec800 task.stack: ffff8801c6558000
RIP: 0010:[<ffffffff834d8066>]  [<ffffffff834d8066>] rt6_get_cookie_safe include/net/ip6_fib.h:184 [inline]
RIP: 0010:[<ffffffff834d8066>]  [<ffffffff834d8066>] rt6_get_cookie include/net/ip6_fib.h:200 [inline]
RIP: 0010:[<ffffffff834d8066>]  [<ffffffff834d8066>] ip6_dst_store include/net/ip6_route.h:177 [inline]
RIP: 0010:[<ffffffff834d8066>]  [<ffffffff834d8066>] ip6_datagram_dst_update+0x936/0xec0 net/ipv6/datagram.c:109
RSP: 0018:ffff8801c655fb28  EFLAGS: 00010203
RAX: dffffc0000000000 RBX: ffff8801bd80ba80 RCX: ffffffff834d8051
RDX: 0000000020000004 RSI: ffffc90001173000 RDI: 0000000100000024
RBP: ffff8801c655fc68 R08: 1ffff100381bda1a R09: 0000000000000000
R10: 0000000000000000 R11: ffff8801c0dec800 R12: ffff8801baf6c000
R13: ffff8801bd80bfc0 R14: 0000000100000000 R15: 0000000000000000
FS:  00007f4c3e920700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020eed000 CR3: 00000001b97b4000 CR4: 0000000000160670
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff834d7fa9 ffff8801c0ded0a0 ffff8801bd80bab8 00000001c0ded0a8
 1ffff10038cabf6c ffff8801bd80bab8 0000000000000000 0000000041b58ab3
 ffffffff841ea8ae ffffffff834d7730 ffffed0037df20bc ffff8801d5401400
Call Trace:
 [<ffffffff834d8f6e>] __ip6_datagram_connect+0x50e/0xdf0 net/ipv6/datagram.c:252
 [<ffffffff834d987f>] ip6_datagram_connect+0x2f/0x50 net/ipv6/datagram.c:268
 [<ffffffff832e8f9b>] inet_dgram_connect+0x16b/0x1f0 net/ipv4/af_inet.c:549
 [<ffffffff82ed86e6>] SYSC_connect+0x1b6/0x310 net/socket.c:1562
 [<ffffffff82edaf44>] SyS_connect+0x24/0x30 net/socket.c:1543
 [<ffffffff838b346e>] entry_SYSCALL_64_fastpath+0x29/0xe8
Code: 8a 03 00 00 e8 0c 32 e9 fd 45 31 ff 4d 85 f6 74 37 e8 ff 31 e9 fd 49 8d 7e 24 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 
RIP  [<ffffffff834d8066>] rt6_get_cookie_safe include/net/ip6_fib.h:184 [inline]
RIP  [<ffffffff834d8066>] rt6_get_cookie include/net/ip6_fib.h:200 [inline]
RIP  [<ffffffff834d8066>] ip6_dst_store include/net/ip6_route.h:177 [inline]
RIP  [<ffffffff834d8066>] ip6_datagram_dst_update+0x936/0xec0 net/ipv6/datagram.c:109
 RSP <ffff8801c655fb28>
---[ end trace 53866d81ac1bcf53 ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/02/01 05:55 https://android.googlesource.com/kernel/common android-4.9 71f146972231 02553e22 .config console log report ci-android-49-kasan-gce
* Struck through repros no longer work on HEAD.