syzbot


general protection fault in bcsp_recv

Status: upstream: reported C repro on 2025/02/15 17:18
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+4ed6852d4da4606c93da@syzkaller.appspotmail.com
First crash: 140d, last: 3h04m
Cause bisection: failed (error log, bisect log)
  
Discussions (4)
Title Replies (including bot) Last reply
[syzbot] [bluetooth?] general protection fault in bcsp_recv 1 (5) 2025/06/30 08:39
[PATCH] Bluetooth: set bcsp to NULL after purging 1 (1) 2025/06/30 03:23
[syzbot] Monthly bluetooth report (Jun 2025) 0 (1) 2025/06/23 07:31
[syzbot] Monthly bluetooth report (May 2025) 0 (1) 2025/05/22 12:58
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 BUG: unable to handle kernel paging request in bcsp_recv origin:upstream C 12 16d 65d 0/3 upstream: reported C repro on 2025/04/27 13:45
linux-6.6 general protection fault in bcsp_recv 1 21h01m 21h01m 0/2 upstream: reported on 2025/07/01 16:33
linux-5.15 general protection fault in bcsp_recv origin:upstream C 7 14d 19d 0/3 upstream: reported C repro on 2025/06/13 12:03
Last patch testing requests (3)
Created Duration User Patch Repo Result
2025/06/30 08:04 26m hdanton@sina.com patch upstream OK log
2025/06/30 03:03 1m ipravdin.official@gmail.com patch upstream error
2025/03/02 10:08 9m retest repro linux-next error

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000021: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000108-0x000000000000010f]
CPU: 1 UID: 0 PID: 8848 Comm: syz-executor204 Not tainted 6.15.0-rc3-syzkaller-00001-g9d7a0577c9db #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:bcsp_recv+0x10a/0x17f0 drivers/bluetooth/hci_bcsp.c:590
Code: 18 48 c1 e8 03 48 01 e8 48 89 04 24 48 8d 83 78 01 00 00 48 89 44 24 28 48 c1 e8 03 48 89 44 24 08 e8 aa 07 5c f9 48 8b 04 24 <80> 38 00 0f 85 d1 12 00 00 4c 8b ab 08 01 00 00 31 ff 4c 89 ee e8
RSP: 0018:ffffc9000cfb7bf0 EFLAGS: 00010293
RAX: dffffc0000000021 RBX: 0000000000000000 RCX: ffffffff885f47fa
RDX: ffff888057ad8000 RSI: ffffffff885f4846 RDI: 0000000000000005
RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffc9000cfb7d88
R13: ffffc9000cfb7d88 R14: 0000000000000001 R15: ffff88807ea8ec00
FS:  00007f5e1232e6c0(0000) GS:ffff888124ab2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5e12377b30 CR3: 0000000053bbc000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hci_uart_tty_receive+0x251/0x7e0 drivers/bluetooth/hci_ldisc.c:627
 tiocsti drivers/tty/tty_io.c:2299 [inline]
 tty_ioctl+0x57d/0x1610 drivers/tty/tty_io.c:2716
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:906 [inline]
 __se_sys_ioctl fs/ioctl.c:892 [inline]
 __x64_sys_ioctl+0x190/0x200 fs/ioctl.c:892
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5e123b73e9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 18 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5e1232e218 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f5e12441348 RCX: 00007f5e123b73e9
RDX: 0000200000000100 RSI: 0000000000005412 RDI: 0000000000000004
RBP: 00007f5e12441340 R08: 00007ffc3a359837 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5e1240e074
R13: 0000200000000000 R14: 00002000000000c0 R15: 0000200000000100
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:bcsp_recv+0x10a/0x17f0 drivers/bluetooth/hci_bcsp.c:590
Code: 18 48 c1 e8 03 48 01 e8 48 89 04 24 48 8d 83 78 01 00 00 48 89 44 24 28 48 c1 e8 03 48 89 44 24 08 e8 aa 07 5c f9 48 8b 04 24 <80> 38 00 0f 85 d1 12 00 00 4c 8b ab 08 01 00 00 31 ff 4c 89 ee e8
RSP: 0018:ffffc9000cfb7bf0 EFLAGS: 00010293
RAX: dffffc0000000021 RBX: 0000000000000000 RCX: ffffffff885f47fa
RDX: ffff888057ad8000 RSI: ffffffff885f4846 RDI: 0000000000000005
RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffc9000cfb7d88
R13: ffffc9000cfb7d88 R14: 0000000000000001 R15: ffff88807ea8ec00
FS:  00007f5e1232e6c0(0000) GS:ffff8881249b2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000564d751800b8 CR3: 0000000053bbc000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	18 48 c1             	sbb    %cl,-0x3f(%rax)
   3:	e8 03 48 01 e8       	call   0xe801480b
   8:	48 89 04 24          	mov    %rax,(%rsp)
   c:	48 8d 83 78 01 00 00 	lea    0x178(%rbx),%rax
  13:	48 89 44 24 28       	mov    %rax,0x28(%rsp)
  18:	48 c1 e8 03          	shr    $0x3,%rax
  1c:	48 89 44 24 08       	mov    %rax,0x8(%rsp)
  21:	e8 aa 07 5c f9       	call   0xf95c07d0
  26:	48 8b 04 24          	mov    (%rsp),%rax
* 2a:	80 38 00             	cmpb   $0x0,(%rax) <-- trapping instruction
  2d:	0f 85 d1 12 00 00    	jne    0x1304
  33:	4c 8b ab 08 01 00 00 	mov    0x108(%rbx),%r13
  3a:	31 ff                	xor    %edi,%edi
  3c:	4c 89 ee             	mov    %r13,%rsi
  3f:	e8                   	.byte 0xe8

Crashes (444):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/22 00:05 upstream 9d7a0577c9db 2a20f901 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in bcsp_recv
2025/04/02 23:55 upstream acc4d5ff0b61 684b5338 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/02/12 00:00 linux-next df5d6180169a f2baddf5 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in bcsp_recv
2025/06/22 06:21 upstream 739a6c93cc75 d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in bcsp_recv
2025/06/20 02:41 upstream 5c8013ae2e86 ed3e87f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in bcsp_recv
2025/06/19 11:11 upstream fb4d33ab452e ed3e87f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in bcsp_recv
2025/06/17 00:00 upstream e04c78d86a96 d1716036 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in bcsp_recv
2025/06/15 04:38 upstream 4774cfe3543a 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in bcsp_recv
2025/06/08 11:46 upstream 8630c59e9936 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in bcsp_recv
2025/05/17 04:15 upstream 3c21441eeffc f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root general protection fault in bcsp_recv
2025/07/01 23:12 upstream 66701750d556 091a06cd .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/07/01 20:09 upstream 66701750d556 091a06cd .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/07/01 11:04 upstream 66701750d556 6e83b42d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/07/01 11:03 upstream 66701750d556 6e83b42d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/07/01 07:31 upstream 66701750d556 6e83b42d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/30 20:35 upstream d0b3b7b22dfa 6e83b42d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/30 10:13 upstream d0b3b7b22dfa fc9d8ee5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/30 07:15 upstream d0b3b7b22dfa fc9d8ee5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/30 02:01 upstream afa9a6f4f574 fc9d8ee5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/30 00:27 upstream afa9a6f4f574 fc9d8ee5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/29 21:53 upstream afa9a6f4f574 fc9d8ee5 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bcsp_recv
2025/06/29 15:47 upstream dfba48a70cb6 fc9d8ee5 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bcsp_recv
2025/06/29 07:28 upstream dfba48a70cb6 fc9d8ee5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/29 03:25 upstream dfba48a70cb6 fc9d8ee5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/28 02:25 upstream 35e261cd95dd fc9d8ee5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/28 00:27 upstream 35e261cd95dd fc9d8ee5 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bcsp_recv
2025/06/27 15:30 upstream 67a993863163 803ce19b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/27 07:45 upstream f02769e7f272 803ce19b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/26 23:34 upstream ee88bddf7f2f 1ae8177e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/26 20:55 upstream ee88bddf7f2f 1ae8177e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/26 00:31 upstream 92ca6c498a5e 26d77996 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/25 17:44 upstream 7595b66ae9de 26d77996 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/25 04:02 upstream 7595b66ae9de 26d77996 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/24 13:34 upstream 78f4e737a53e e2f27c35 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/22 02:25 upstream 3f75bfff44be d6cdfb8a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/21 23:57 upstream 3f75bfff44be d6cdfb8a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/20 16:43 upstream 75f5f23f8787 804b3919 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/20 08:00 upstream 41687a5c6f8b ed3e87f7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/19 21:43 upstream fb4d33ab452e ed3e87f7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/19 12:22 upstream fb4d33ab452e ed3e87f7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bcsp_recv
2025/06/18 23:49 upstream 74b4cc9b8780 ed3e87f7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/18 21:06 upstream 52da431bf03b ca631f70 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/18 14:14 upstream 52da431bf03b ca631f70 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/18 07:20 upstream 4663747812d1 74c9d252 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/17 08:07 upstream 9afe652958c3 d1716036 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/16 07:49 upstream e04c78d86a96 5f4b362d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/15 18:49 upstream 08215f5486ec 5f4b362d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/15 15:29 upstream 8c6bc74c7f89 5f4b362d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/15 12:35 upstream 8c6bc74c7f89 5f4b362d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in bcsp_recv
2025/06/29 12:32 upstream dfba48a70cb6 fc9d8ee5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 general protection fault in bcsp_recv
2025/06/27 19:42 linux-next 2aeda9592360 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in bcsp_recv
2025/06/25 10:47 linux-next 1b152eeca84a 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in bcsp_recv
2025/05/29 19:45 linux-next 2a628f951ed5 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in bcsp_recv
2025/07/02 10:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 3c795c3404e8 ffe4b334 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in bcsp_recv
2025/06/30 04:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9aa9b43d689e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in bcsp_recv
2025/06/30 03:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9aa9b43d689e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in bcsp_recv
2025/06/21 21:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9aa9b43d689e d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in bcsp_recv
2025/06/15 10:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 39dfc971e42d 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in bcsp_recv
* Struck through repros no longer work on HEAD.