syzbot


general protection fault in rfcomm_dlc_exists

Status: auto-closed as invalid on 2019/11/25 20:55
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+362be51217ce29d215bc@syzkaller.appspotmail.com
First crash: 1809d, last: 1722d
Discussions (4)
Title Replies (including bot) Last reply
Reminder: 29 open syzbot bugs in bluetooth subsystem 1 (1) 2019/07/24 01:41
Reminder: 29 open syzbot bugs in bluetooth subsystem 1 (1) 2019/07/09 19:07
Reminder: 27 open syzbot bugs in bluetooth subsystem 1 (1) 2019/06/24 05:14
general protection fault in rfcomm_dlc_exists 0 (1) 2019/05/07 09:40

Sample crash report:
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 19064 Comm: syz-executor.1 Not tainted 5.2.0+ #67
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_exists+0x12e/0x1a0 net/bluetooth/rfcomm/core.c:550
Code: 42 80 3c 28 00 75 74 4d 8b 24 24 4d 39 f4 74 55 e8 f7 c1 f7 fa 49 8d bc 24 44 01 00 00 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 04 84 c0 75 3d 45 0f b6 bc 24 44 01 00 00
RSP: 0018:ffff888067cf79c0 EFLAGS: 00010202
RAX: 1d1bd13fe6211c98 RBX: 000000000000000d RCX: ffffc9000816e000
RDX: 0000000000000007 RSI: ffffffff867ac2e9 RDI: e8de89ff3108e4c7
RBP: ffff888067cf79e8 R08: ffff888089f1c400 R09: fffffbfff1314cf1
R10: ffff888067cf79b0 R11: ffffffff898a6787 R12: e8de89ff3108e383
R13: dffffc0000000000 R14: ffff88809bc80c80 R15: 0000000000000000
FS:  00007f301731d700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff28a49f110 CR3: 0000000098380000 CR4: 00000000001406f0
Call Trace:
 __rfcomm_create_dev net/bluetooth/rfcomm/tty.c:413 [inline]
 rfcomm_create_dev net/bluetooth/rfcomm/tty.c:486 [inline]
 rfcomm_dev_ioctl+0x5ab/0x1b80 net/bluetooth/rfcomm/tty.c:588
 rfcomm_sock_ioctl+0x90/0xb0 net/bluetooth/rfcomm/sock.c:902
 sock_do_ioctl+0xd8/0x2f0 net/socket.c:1038
 sock_ioctl+0x3ed/0x790 net/socket.c:1189
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:509 [inline]
 do_vfs_ioctl+0xdb6/0x13e0 fs/ioctl.c:696
 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713
 __do_sys_ioctl fs/ioctl.c:720 [inline]
 __se_sys_ioctl fs/ioctl.c:718 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718
 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:00007f301731cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459829
RDX: 0000000020000100 RSI: 00000000400452c8 RDI: 0000000000000006
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f301731d6d4
R13: 00000000004c1f76 R14: 00000000004d5240 R15: 00000000ffffffff
Modules linked in:
---[ end trace 5902a6d3c13f5fbb ]---
RIP: 0010:rfcomm_dlc_get net/bluetooth/rfcomm/core.c:360 [inline]
RIP: 0010:rfcomm_dlc_exists+0x12e/0x1a0 net/bluetooth/rfcomm/core.c:550
Code: 42 80 3c 28 00 75 74 4d 8b 24 24 4d 39 f4 74 55 e8 f7 c1 f7 fa 49 8d bc 24 44 01 00 00 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 04 84 c0 75 3d 45 0f b6 bc 24 44 01 00 00
RSP: 0018:ffff888067cf79c0 EFLAGS: 00010202
RAX: 1d1bd13fe6211c98 RBX: 000000000000000d RCX: ffffc9000816e000
RDX: 0000000000000007 RSI: ffffffff867ac2e9 RDI: e8de89ff3108e4c7
RBP: ffff888067cf79e8 R08: ffff888089f1c400 R09: fffffbfff1314cf1
R10: ffff888067cf79b0 R11: ffffffff898a6787 R12: e8de89ff3108e383
R13: dffffc0000000000 R14: ffff88809bc80c80 R15: 0000000000000000
FS:  00007f301731d700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000079de80 CR3: 0000000098380000 CR4: 00000000001406e0

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/07/28 20:54 net-next-old 31cc088a4f5d c85e1c5b .config console log report ci-upstream-net-kasan-gce
2019/05/03 05:57 net-next-old 26f146ed971c e9039493 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.