syzbot


general protection fault in rxrpc_connect_call

Status: fixed on 2020/01/31 18:44
Reported-by: syzbot+08834b9a83761b966b72@syzkaller.appspotmail.com
Fix commit: 792668145b56 rxrpc: Fix lack of conn cleanup when local endpoint is cleaned up [ver #2]
First crash: 1950d, last: 1786d
Fix bisection: fixed by (bisect log) :
commit 792668145b56165fd113f318f531e499a23e9a52
Author: David Howells <dhowells@redhat.com>
Date: Thu Aug 29 13:12:11 2019 +0000

  rxrpc: Fix lack of conn cleanup when local endpoint is cleaned up [ver #2]

  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in rxrpc_connect_call net afs C done 15 1983d 2129d 12/28 fixed on 2019/08/05 13:45
linux-4.14 general protection fault in rxrpc_connect_call C inconclusive 636 1635d 1950d 0/1 upstream: reported C repro on 2019/07/21 06:32
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2020/01/31 13:36 3h27m bisect fix linux-4.19.y OK (1) job log
2020/01/01 13:09 24m bisect fix linux-4.19.y OK (0) job log log
2019/12/02 12:22 23m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
audit: type=1400 audit(1563689776.911:36): avc:  denied  { map } for  pid=7557 comm="syz-executor114" path="/root/syz-executor114974592" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file 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
CPU: 1 PID: 7557 Comm: syz-executor114 Not tainted 4.19.59 #32
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rxrpc_connect_call+0xe0/0x48d0 /net/rxrpc/conn_client.c:693
Code: 03 80 3c 18 00 0f 85 a9 40 00 00 48 8b 85 08 ff ff ff 48 8b 18 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 18 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 76 40 00 00 48 8b 5b 18 48 8d bb f0 01 00 00 48
RSP: 0018:ffff888084cef660 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff88809583d964
RDX: 0000000000000003 RSI: ffffffff8652c870 RDI: 0000000000000018
RBP: ffff888084cef7d0 R08: 00000000006000c0 R09: ffff888078ba4ca0
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809583fb40
R13: ffff8882160c8160 R14: ffff8882160c8150 R15: ffff888084cef8f8
FS:  0000000000f4b880(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000040 CR3: 0000000095082000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 rxrpc_new_client_call+0x8e7/0x1880 /net/rxrpc/call_object.c:291
 rxrpc_new_client_call_for_sendmsg /net/rxrpc/sendmsg.c:595 [inline]
 rxrpc_do_sendmsg+0xfbe/0x1c8f /net/rxrpc/sendmsg.c:651
 rxrpc_sendmsg+0x4b8/0x5f0 /net/rxrpc/af_rxrpc.c:592
 sock_sendmsg_nosec /net/socket.c:622 [inline]
 sock_sendmsg+0xd7/0x130 /net/socket.c:632
 ___sys_sendmsg+0x3e2/0x920 /net/socket.c:2115
 __sys_sendmmsg+0x1bf/0x4e0 /net/socket.c:2210
 __do_sys_sendmmsg /net/socket.c:2239 [inline]
 __se_sys_sendmmsg /net/socket.c:2236 [inline]
 __x64_sys_sendmmsg+0x9d/0x100 /net/socket.c:2236
 do_syscall_64+0xfd/0x620 /arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x440249
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffe7d95f608 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440249
RDX: 0000000000000001 RSI: 0000000020005c00 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401ad0
R13: 0000000000401b60 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace 5889db90ee6c9794 ]---
RIP: 0010:rxrpc_connect_call+0xe0/0x48d0 /net/rxrpc/conn_client.c:693
Code: 03 80 3c 18 00 0f 85 a9 40 00 00 48 8b 85 08 ff ff ff 48 8b 18 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 18 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 76 40 00 00 48 8b 5b 18 48 8d bb f0 01 00 00 48
RSP: 0018:ffff888084cef660 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff88809583d964
RDX: 0000000000000003 RSI: ffffffff8652c870 RDI: 0000000000000018
RBP: ffff888084cef7d0 R08: 00000000006000c0 R09: ffff888078ba4ca0
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809583fb40
R13: ffff8882160c8160 R14: ffff8882160c8150 R15: ffff888084cef8f8
FS:  0000000000f4b880(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000040 CR3: 0000000095082000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (285):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/07/21 06:19 linux-4.19.y 3bd837bfe431 1656845f .config console log report syz C ci2-linux-4-19
2019/07/21 05:49 linux-4.19.y 3bd837bfe431 1656845f .config console log report syz C ci2-linux-4-19
2019/07/28 05:26 linux-4.19.y 7250956f6eaf c85e1c5b .config console log report ci2-linux-4-19
2019/07/28 04:15 linux-4.19.y 7250956f6eaf c85e1c5b .config console log report ci2-linux-4-19
2019/07/28 00:56 linux-4.19.y 7250956f6eaf c85e1c5b .config console log report ci2-linux-4-19
2019/07/27 23:24 linux-4.19.y 7250956f6eaf c85e1c5b .config console log report ci2-linux-4-19
2019/07/27 22:01 linux-4.19.y 7250956f6eaf c85e1c5b .config console log report ci2-linux-4-19
2019/07/27 17:18 linux-4.19.y 7250956f6eaf c85e1c5b .config console log report ci2-linux-4-19
2019/07/27 15:03 linux-4.19.y 7250956f6eaf c85e1c5b .config console log report ci2-linux-4-19
2019/07/27 10:51 linux-4.19.y 7250956f6eaf c85e1c5b .config console log report ci2-linux-4-19
2019/07/27 07:56 linux-4.19.y 7250956f6eaf c85e1c5b .config console log report ci2-linux-4-19
2019/07/27 03:34 linux-4.19.y 7250956f6eaf c85e1c5b .config console log report ci2-linux-4-19
2019/07/27 03:26 linux-4.19.y 7250956f6eaf c85e1c5b .config console log report ci2-linux-4-19
2019/07/27 02:16 linux-4.19.y 7250956f6eaf c85e1c5b .config console log report ci2-linux-4-19
2019/07/27 00:39 linux-4.19.y 7250956f6eaf 8fe30d3e .config console log report ci2-linux-4-19
2019/07/26 23:44 linux-4.19.y 7250956f6eaf 8fe30d3e .config console log report ci2-linux-4-19
2019/07/26 19:37 linux-4.19.y 7250956f6eaf 8fe30d3e .config console log report ci2-linux-4-19
2019/07/26 16:58 linux-4.19.y 7250956f6eaf 8fe30d3e .config console log report ci2-linux-4-19
2019/07/26 10:53 linux-4.19.y 7250956f6eaf 732bc5a0 .config console log report ci2-linux-4-19
2019/07/26 09:58 linux-4.19.y 7250956f6eaf 732bc5a0 .config console log report ci2-linux-4-19
2019/07/26 08:55 linux-4.19.y 7250956f6eaf 732bc5a0 .config console log report ci2-linux-4-19
2019/07/26 06:59 linux-4.19.y be9b6782a9eb 732bc5a0 .config console log report ci2-linux-4-19
2019/07/26 04:32 linux-4.19.y be9b6782a9eb 732bc5a0 .config console log report ci2-linux-4-19
2019/07/25 22:56 linux-4.19.y be9b6782a9eb 0d7a1249 .config console log report ci2-linux-4-19
2019/07/25 20:47 linux-4.19.y be9b6782a9eb 0d7a1249 .config console log report ci2-linux-4-19
2019/07/25 19:37 linux-4.19.y be9b6782a9eb 0d7a1249 .config console log report ci2-linux-4-19
2019/07/25 18:30 linux-4.19.y be9b6782a9eb 0d7a1249 .config console log report ci2-linux-4-19
2019/07/25 14:50 linux-4.19.y be9b6782a9eb 0d7a1249 .config console log report ci2-linux-4-19
2019/07/25 12:15 linux-4.19.y be9b6782a9eb 32329ceb .config console log report ci2-linux-4-19
2019/07/25 10:13 linux-4.19.y be9b6782a9eb 32329ceb .config console log report ci2-linux-4-19
2019/07/25 02:17 linux-4.19.y be9b6782a9eb 32329ceb .config console log report ci2-linux-4-19
2019/07/25 01:24 linux-4.19.y be9b6782a9eb 32329ceb .config console log report ci2-linux-4-19
2019/07/24 22:03 linux-4.19.y be9b6782a9eb 32329ceb .config console log report ci2-linux-4-19
2019/07/24 19:27 linux-4.19.y be9b6782a9eb 32329ceb .config console log report ci2-linux-4-19
2019/07/24 14:41 linux-4.19.y be9b6782a9eb 32329ceb .config console log report ci2-linux-4-19
2019/07/24 13:24 linux-4.19.y be9b6782a9eb 32329ceb .config console log report ci2-linux-4-19
2019/07/24 08:06 linux-4.19.y be9b6782a9eb de453f34 .config console log report ci2-linux-4-19
2019/07/24 07:54 linux-4.19.y be9b6782a9eb de453f34 .config console log report ci2-linux-4-19
2019/07/24 06:16 linux-4.19.y be9b6782a9eb de453f34 .config console log report ci2-linux-4-19
2019/07/24 04:34 linux-4.19.y be9b6782a9eb de453f34 .config console log report ci2-linux-4-19
2019/07/24 02:10 linux-4.19.y be9b6782a9eb de453f34 .config console log report ci2-linux-4-19
2019/07/23 21:32 linux-4.19.y be9b6782a9eb de453f34 .config console log report ci2-linux-4-19
2019/07/23 19:35 linux-4.19.y be9b6782a9eb de453f34 .config console log report ci2-linux-4-19
2019/07/23 17:33 linux-4.19.y be9b6782a9eb bb071d58 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.