syzbot


general protection fault in rfcomm_dlc_open

Status: auto-closed as invalid on 2019/12/10 04:36
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+7cd22aae14e82bcf8379@syzkaller.appspotmail.com
First crash: 1809d, last: 1708d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in rfcomm_dlc_open 0 (1) 2019/05/07 09:40

Sample crash report:
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: 24323 Comm: syz-executor.1 Not tainted 5.3.0-rc3+ #127
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rfcomm_dlc_get net/bluetooth/rfcomm/core.c:360 [inline]
RIP: 0010:__rfcomm_dlc_open net/bluetooth/rfcomm/core.c:396 [inline]
RIP: 0010:rfcomm_dlc_open+0x28a/0xd80 net/bluetooth/rfcomm/core.c:431
Code: 9d 50 ff ff ff 74 67 e8 34 09 f3 fa 48 8d bb 44 01 00 00 48 b9 00 00 00 00 00 fc ff df 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <0f> b6 04 08 38 d0 7f 08 84 c0 0f 85 fe 09 00 00 0f b6 b3 44 01 00
RSP: 0018:ffff8880a053fc88 EFLAGS: 00010202
RAX: 00060dcc2e0e6e75 RBX: 00306e6170737265 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: ffffffff867f804c RDI: 00306e61707373a9
RBP: ffff8880a053fd60 R08: ffff8880975f43c0 R09: fffffbfff1315ce9
R10: ffff8880a053fc78 R11: ffffffff898ae747 R12: ffff88804af48d00
R13: ffff88809be23700 R14: 1ffff110140a7f97 R15: 00000000867f7f0d
FS:  00007f9f2c560700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000075c000 CR3: 000000007035e000 CR4: 00000000001406e0
Call Trace:
 rfcomm_sock_connect+0x38a/0x4b0 net/bluetooth/rfcomm/sock.c:416
 __sys_connect+0x264/0x330 net/socket.c:1828
 __do_sys_connect net/socket.c:1839 [inline]
 __se_sys_connect net/socket.c:1836 [inline]
 __x64_sys_connect+0x73/0xb0 net/socket.c:1836
 do_syscall_64+0xfd/0x6a0 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459829
Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f9f2c55fc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459829
RDX: 000000000000000e RSI: 0000000020000000 RDI: 0000000000000004
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9f2c5606d4
R13: 00000000004bfd0a R14: 00000000004d1ab0 R15: 00000000ffffffff
Modules linked in:
---[ end trace 9b9bd565e0f96b39 ]---
RIP: 0010:rfcomm_dlc_get net/bluetooth/rfcomm/core.c:360 [inline]
RIP: 0010:__rfcomm_dlc_open net/bluetooth/rfcomm/core.c:396 [inline]
RIP: 0010:rfcomm_dlc_open+0x28a/0xd80 net/bluetooth/rfcomm/core.c:431
Code: 9d 50 ff ff ff 74 67 e8 34 09 f3 fa 48 8d bb 44 01 00 00 48 b9 00 00 00 00 00 fc ff df 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <0f> b6 04 08 38 d0 7f 08 84 c0 0f 85 fe 09 00 00 0f b6 b3 44 01 00
RSP: 0018:ffff8880a053fc88 EFLAGS: 00010202
RAX: 00060dcc2e0e6e75 RBX: 00306e6170737265 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: ffffffff867f804c RDI: 00306e61707373a9
RBP: ffff8880a053fd60 R08: ffff8880975f43c0 R09: fffffbfff1315ce9
R10: ffff8880a053fc78 R11: ffffffff898ae747 R12: ffff88804af48d00
R13: ffff88809be23700 R14: 1ffff110140a7f97 R15: 00000000867f7f0d
FS:  00007f9f2c560700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9f2c4badb8 CR3: 000000007035e000 CR4: 00000000001406f0

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/08/12 04:35 net-next-old 2cc2743d8fee acb51638 .config console log report ci-upstream-net-kasan-gce
2019/07/28 06:58 net-next-old 31cc088a4f5d c85e1c5b .config console log report ci-upstream-net-kasan-gce
2019/05/02 15:50 net-next-old cd86972a9fd0 7516d9fa .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.