syzbot


general protection fault in hci_chan_del

Status: auto-closed as invalid on 2021/05/20 20:01
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+4c574753a325a601326c@syzkaller.appspotmail.com
First crash: 1199d, last: 1153d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in hci_chan_del 0 (1) 2020/12/08 07:41

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000121: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000908-0x000000000000090f]
CPU: 0 PID: 29441 Comm: syz-executor.4 Not tainted 5.11.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:hci_chan_del+0x48/0x190 net/bluetooth/hci_conn.c:1737
Code: 5c 24 18 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 f9 5d fe f8 4c 8b 33 49 8d 9e 08 09 00 00 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 d9 5d fe f8 4c 8b 3b 0f 1f 44 00
RSP: 0018:ffffc9000c387a18 EFLAGS: 00010206
RAX: 0000000000000121 RBX: 0000000000000908 RCX: 0000000000040000
RDX: ffffc90011647000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffff888014581008 R08: dffffc0000000000 R09: ffffed10028b024f
R10: ffffed10028b024f R11: 0000000000000000 R12: ffff888022cf1600
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff110028b0201
FS:  00007f61568ac700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f9fc8d76b8 CR3: 000000009b1cf000 CR4: 00000000001526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 l2cap_conn_del+0x4c5/0x650 net/bluetooth/l2cap_core.c:1906
 hci_disconn_cfm include/net/bluetooth/hci_core.h:1462 [inline]
 hci_conn_hash_flush+0x112/0x240 net/bluetooth/hci_conn.c:1565
 hci_dev_do_close+0xa04/0xfe0 net/bluetooth/hci_core.c:1776
 hci_rfkill_set_block+0x10f/0x180 net/bluetooth/hci_core.c:2215
 rfkill_set_block+0x1f1/0x440 net/rfkill/core.c:343
 rfkill_fop_write+0x594/0x750 net/rfkill/core.c:1267
 vfs_write+0x289/0xc90 fs/read_write.c:603
 ksys_write+0x171/0x2a0 fs/read_write.c:658
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e219
Code: 0d b4 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 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f61568abc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219
RDX: 0000000000000008 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007fff0653c4df R14: 00007f61568ac9c0 R15: 000000000119bf8c
Modules linked in:
---[ end trace 90329eb6cac9dea3 ]---
RIP: 0010:hci_chan_del+0x48/0x190 net/bluetooth/hci_conn.c:1737
Code: 5c 24 18 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 f9 5d fe f8 4c 8b 33 49 8d 9e 08 09 00 00 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 d9 5d fe f8 4c 8b 3b 0f 1f 44 00
RSP: 0018:ffffc9000c387a18 EFLAGS: 00010206
RAX: 0000000000000121 RBX: 0000000000000908 RCX: 0000000000040000
RDX: ffffc90011647000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffff888014581008 R08: dffffc0000000000 R09: ffffed10028b024f
R10: ffffed10028b024f R11: 0000000000000000 R12: ffff888022cf1600
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff110028b0201
FS:  00007f61568ac700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9d98036000 CR3: 000000009b1cf000 CR4: 00000000001526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/20 20:00 upstream 45dfb8a5659a d4f4eca5 .config console log report info ci-upstream-kasan-gce-smack-root general protection fault in hci_chan_del
2020/12/06 04:41 upstream b3298500b23f 50503117 .config console log report info ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.