syzbot


general protection fault in h5_recv

Status: upstream: reported C repro on 2025/02/09 15:45
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+b5691bb559396b262064@syzkaller.appspotmail.com
First crash: 322d, last: 1h31m
Cause bisection: introduced by (bisect log) :
commit c411c62cc13319533b1861e00cedc4883c3bc1bb
Author: Arseniy Krasnov <avkrasnov@salutedevices.com>
Date: Thu Jan 30 18:43:26 2025 +0000

  Bluetooth: hci_uart: fix race during initialization

Crash: BUG: unable to handle kernel NULL pointer dereference in h5_recv (log)
Repro: C syz .config
  
Discussions (9)
Title Replies (including bot) Last reply
[syzbot] Monthly bluetooth report (Nov 2025) 0 (1) 2025/11/27 12:42
[syzbot] Monthly bluetooth report (Oct 2025) 0 (1) 2025/10/27 05:54
[syzbot] Monthly bluetooth report (Sep 2025) 0 (1) 2025/09/24 12:39
[syzbot] Monthly bluetooth report (Aug 2025) 0 (1) 2025/08/25 08:44
[syzbot] Monthly bluetooth report (Jul 2025) 0 (1) 2025/07/24 09:32
[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
[syzbot] Monthly bluetooth report (Apr 2025) 0 (1) 2025/04/22 10:11
[syzbot] [bluetooth?] general protection fault in h5_recv 1 (5) 2025/02/12 00:12
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 general protection fault in h5_recv origin:upstream 8 C 15 12d 202d 0/3 upstream: reported C repro on 2025/06/04 06:57
linux-6.6 general protection fault in h5_recv origin:upstream 2 C 11 1d02h 174d 0/2 upstream: reported C repro on 2025/07/02 07:26
linux-6.1 general protection fault in h5_recv origin:upstream 8 C 30 2d00h 234d 0/3 upstream: reported C repro on 2025/05/03 02:45
Last patch testing requests (3)
Created Duration User Patch Repo Result
2025/03/12 02:45 17m retest repro linux-next error
2025/03/12 02:45 9m retest repro linux-next error
2025/02/10 11:03 29m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master OK log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc000000005f: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x00000000000002f8-0x00000000000002ff]
CPU: 1 UID: 0 PID: 7301 Comm: syz.1.354 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:h5_recv+0x104/0x950 drivers/bluetooth/hci_h5.c:572
Code: c1 e8 03 4c 01 f0 48 89 44 24 08 48 8d 83 08 03 00 00 48 89 44 24 30 48 c1 e8 03 48 89 44 24 10 e8 11 ae 7b f9 48 8b 44 24 08 <80> 38 00 0f 85 ae 01 00 00 48 89 ea 48 89 e9 4c 8b bb f8 02 00 00
RSP: 0018:ffffc90006557bf0 EFLAGS: 00010293
RAX: dffffc000000005f RBX: 0000000000000000 RCX: ffffffff88415f4a
RDX: ffff88802ca02480 RSI: ffffffff88415f8f RDI: 0000000000000005
RBP: ffffc90006557d78 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
R13: 0000000000000001 R14: dffffc0000000000 R15: ffffffff8c9079a0
FS:  00007f16695fe6c0(0000) GS:ffff8880d6b08000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f16695fdf98 CR3: 0000000052c1c000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 hci_uart_tty_receive+0x254/0x7e0 drivers/bluetooth/hci_ldisc.c:627
 tiocsti drivers/tty/tty_io.c:2290 [inline]
 tty_ioctl+0x583/0x1680 drivers/tty/tty_io.c:2706
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl fs/ioctl.c:583 [inline]
 __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1669f8efc9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f16695fe038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f166a1e6180 RCX: 00007f1669f8efc9
RDX: 0000200000000040 RSI: 0000000000005412 RDI: 0000000000000006
RBP: 00007f166a011f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f166a1e6218 R14: 00007f166a1e6180 R15: 00007ffc2b15f5c8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:h5_recv+0x104/0x950 drivers/bluetooth/hci_h5.c:572
Code: c1 e8 03 4c 01 f0 48 89 44 24 08 48 8d 83 08 03 00 00 48 89 44 24 30 48 c1 e8 03 48 89 44 24 10 e8 11 ae 7b f9 48 8b 44 24 08 <80> 38 00 0f 85 ae 01 00 00 48 89 ea 48 89 e9 4c 8b bb f8 02 00 00
RSP: 0018:ffffc90006557bf0 EFLAGS: 00010293
RAX: dffffc000000005f RBX: 0000000000000000 RCX: ffffffff88415f4a
RDX: ffff88802ca02480 RSI: ffffffff88415f8f RDI: 0000000000000005
RBP: ffffc90006557d78 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
R13: 0000000000000001 R14: dffffc0000000000 R15: ffffffff8c9079a0
FS:  00007f16695fe6c0(0000) GS:ffff8880d6b08000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f16695fdf98 CR3: 0000000052c1c000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
   0:	c1 e8 03             	shr    $0x3,%eax
   3:	4c 01 f0             	add    %r14,%rax
   6:	48 89 44 24 08       	mov    %rax,0x8(%rsp)
   b:	48 8d 83 08 03 00 00 	lea    0x308(%rbx),%rax
  12:	48 89 44 24 30       	mov    %rax,0x30(%rsp)
  17:	48 c1 e8 03          	shr    $0x3,%rax
  1b:	48 89 44 24 10       	mov    %rax,0x10(%rsp)
  20:	e8 11 ae 7b f9       	call   0xf97bae36
  25:	48 8b 44 24 08       	mov    0x8(%rsp),%rax
* 2a:	80 38 00             	cmpb   $0x0,(%rax) <-- trapping instruction
  2d:	0f 85 ae 01 00 00    	jne    0x1e1
  33:	48 89 ea             	mov    %rbp,%rdx
  36:	48 89 e9             	mov    %rbp,%rcx
  39:	4c 8b bb f8 02 00 00 	mov    0x2f8(%rbx),%r15

Crashes (2870):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/01 12:50 upstream ba36dd5ee6fd 2c50b6a9 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/10/21 12:29 upstream 6548d364a3e8 9832ed61 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in h5_recv
2025/07/27 20:21 upstream ec2df4364666 fb8f743d .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/05/22 09:14 upstream d608703fcdd9 0919b50b .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/12 04:01 linux-next d9771d0dbe18 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in h5_recv
2025/11/21 09:32 linux-next d724c6f85e80 280ea308 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in h5_recv
2025/07/29 07:20 linux-next d086c886ceb9 c4a95487 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in h5_recv
2025/07/26 11:25 linux-next d086c886ceb9 fb8f743d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in h5_recv
2025/06/26 07:12 linux-next 1b152eeca84a 26d77996 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in h5_recv
2025/06/26 03:37 linux-next 1b152eeca84a 26d77996 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in h5_recv
2025/06/26 00:02 linux-next 1b152eeca84a 26d77996 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in h5_recv
2025/06/25 20:27 linux-next 1b152eeca84a 26d77996 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in h5_recv
2025/06/25 16:58 linux-next 1b152eeca84a 26d77996 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in h5_recv
2025/02/11 07:05 linux-next df5d6180169a 43f51a00 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in h5_recv
2025/02/09 15:44 linux-next ed58d103e6da ef44b750 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in h5_recv
2025/12/22 12:30 upstream 765b233a9b94 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in h5_recv
2025/12/21 21:33 upstream 9094662f6707 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in h5_recv
2025/12/20 14:55 upstream dd9b004b7ff3 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in h5_recv
2025/12/20 10:33 upstream dd9b004b7ff3 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in h5_recv
2025/12/20 06:51 upstream dd9b004b7ff3 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root general protection fault in h5_recv
2025/12/19 05:06 upstream 516471569089 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in h5_recv
2025/12/18 11:44 upstream ea1013c15392 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in h5_recv
2025/11/05 06:02 upstream 17d85f33a83b a6c9c731 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root general protection fault in h5_recv
2025/12/23 13:54 upstream b927546677c8 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/23 12:26 upstream b927546677c8 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/23 11:25 upstream b927546677c8 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/23 08:10 upstream b927546677c8 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/23 06:01 upstream b927546677c8 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/23 01:57 upstream 9448598b22c5 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/23 00:50 upstream 9448598b22c5 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/22 19:27 upstream 9448598b22c5 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/22 13:51 upstream 9448598b22c5 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/22 11:17 upstream 765b233a9b94 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/22 09:58 upstream 765b233a9b94 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/22 03:23 upstream 765b233a9b94 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/22 01:28 upstream 765b233a9b94 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/21 18:07 upstream 9094662f6707 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/21 16:15 upstream 9094662f6707 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/21 15:15 upstream 9094662f6707 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/21 12:41 upstream 9094662f6707 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/21 11:30 upstream 9094662f6707 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/21 09:09 upstream 9094662f6707 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/21 08:46 upstream 9094662f6707 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/21 04:12 upstream d8ba32c5a460 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/20 17:24 upstream dd9b004b7ff3 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/20 05:40 upstream dd9b004b7ff3 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/20 00:26 upstream dd9b004b7ff3 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/19 19:33 upstream dd9b004b7ff3 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/19 18:18 upstream dd9b004b7ff3 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/19 10:24 upstream 516471569089 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/19 02:38 upstream 516471569089 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/19 01:24 upstream 516471569089 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/18 21:18 upstream ea1013c15392 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/18 19:51 upstream ea1013c15392 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/18 18:29 upstream ea1013c15392 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/18 13:58 upstream ea1013c15392 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/18 12:48 upstream ea1013c15392 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in h5_recv
2025/12/18 01:12 upstream ea1013c15392 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in h5_recv
2025/12/23 09:34 upstream b927546677c8 d1b870e1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 general protection fault in h5_recv
2025/12/22 23:40 linux-next cc3aa43b44bd d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in h5_recv
2025/12/22 08:36 linux-next cc3aa43b44bd d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in h5_recv
2025/12/21 20:04 linux-next cc3aa43b44bd d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in h5_recv
2025/12/21 05:15 linux-next cc3aa43b44bd d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in h5_recv
2025/12/20 18:38 linux-next cc3aa43b44bd d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in h5_recv
2025/12/19 21:30 linux-next cc3aa43b44bd d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce general protection fault in h5_recv
2025/02/04 20:17 linux-next 40b8e93e17bf 4baca3d6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in h5_recv
2025/04/05 17:18 upstream a8662bcd2ff1 1c65791e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root BUG: unable to handle kernel NULL pointer dereference in h5_recv
2025/12/23 23:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8f0b4cce4481 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in h5_recv
2025/12/23 16:10 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8f0b4cce4481 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in h5_recv
2025/12/23 03:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8f0b4cce4481 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in h5_recv
2025/12/22 05:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8f0b4cce4481 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in h5_recv
2025/12/21 01:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8f0b4cce4481 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in h5_recv
2025/12/20 11:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8f0b4cce4481 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in h5_recv
2025/12/19 06:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8f0b4cce4481 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in h5_recv
* Struck through repros no longer work on HEAD.