syzbot


general protection fault in h5_recv

Status: upstream: reported C repro on 2025/06/04 06:57
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+847d690a94ced3d5b66f@syzkaller.appspotmail.com
First crash: 53d, last: 1d16h
Bug presence (1)
Date Name Commit Repro Result
2025/07/26 upstream (ToT) 513fc69f8fc7 C [report] BUG: unable to handle kernel paging request in h5_recv
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in h5_recv bluetooth 10 C done 1114 55m 167d 0/29 upstream: reported C repro on 2025/02/09 15:45
linux-6.6 general protection fault in h5_recv 2 2 5d13h 25d 0/2 upstream: reported on 2025/07/02 07:26
linux-6.1 general protection fault in h5_recv origin:upstream 8 C 10 4d17h 85d 0/3 upstream: reported C repro on 2025/05/03 02:45

Sample crash report:
Unable to handle kernel paging request at virtual address dfff80000000005f
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
[dfff80000000005f] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4180 Comm: syz.0.21 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : h5_recv+0x11c/0x818 drivers/bluetooth/hci_h5.c:569
lr : h5_recv+0xc4/0x818 drivers/bluetooth/hci_h5.c:566
sp : ffff80001fd07a80
x29: ffff80001fd07b70 x28: 0000000000000308 x27: 0000000000000004
x26: dfff800000000000 x25: ffff0000d8a5f800 x24: dfff800000000000
x23: 00000000000002e8 x22: 00000000000002f8 x21: ffff80001fd07c40
x20: 0000000000000001 x19: 000000000000005f x18: 0000000000000000
x17: 0000000000000000 x16: ffff8000082bf708 x15: 0000000080045440
x14: 0000000000ff0100 x13: 1ffff0000282e06b x12: 0000000000ff0100
x11: 0000000000000000 x10: 0000000000000061 x9 : 1fffe0001b14bf02
x8 : 000000000000005e x7 : ffff80000e694ae0 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001
x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
 h5_recv+0x11c/0x818 drivers/bluetooth/hci_h5.c:-1
 hci_uart_tty_receive+0x140/0x1d4 drivers/bluetooth/hci_ldisc.c:621
 tiocsti+0x260/0x304 drivers/tty/tty_io.c:2312
 tty_ioctl+0x384/0xde0 drivers/tty/tty_io.c:2724
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl fs/ioctl.c:860 [inline]
 __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: f9001fe9 d343fd29 f90023e8 f9001be9 (387a6a68) 
---[ end trace 1317db6e3fe0fa8d ]---
----------------
Code disassembly (best guess):
   0:	f9001fe9 	str	x9, [sp, #56]
   4:	d343fd29 	lsr	x9, x9, #3
   8:	f90023e8 	str	x8, [sp, #64]
   c:	f9001be9 	str	x9, [sp, #48]
* 10:	387a6a68 	ldrb	w8, [x19, x26] <-- trapping instruction

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/25 20:52 linux-5.15.y c79648372d02 fb8f743d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in h5_recv
2025/06/12 03:52 linux-5.15.y 1c700860e8bc 98683f8f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in h5_recv
2025/06/04 06:56 linux-5.15.y 98f47d0e9b8c a30356b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in h5_recv
2025/07/25 20:17 linux-5.15.y c79648372d02 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in h5_recv
2025/07/13 06:57 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in h5_recv
* Struck through repros no longer work on HEAD.