Bluetooth: Invalid esc byte 0x00 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 16610 Comm: syz-executor.2 Not tainted 4.14.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8881ff100080 task.stack: ffff888204e10000 RIP: 0010:skb_put+0x2b/0x1a0 net/core/skbuff.c:1694 RSP: 0018:ffff888204e17b20 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888204e17ca0 RCX: ffffc90008eae000 RDX: 0000000000000019 RSI: ffffffff84f96d3a RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000007207 R09: ffffffff8a0958b8 R10: ffff8881ff100928 R11: ffff8881ff100080 R12: 0000000000000001 R13: 0000000000000001 R14: 00000000000000c8 R15: ffffed101105afc8 FS: 00007f5f511c0700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f741852a9c0 CR3: 000000020b708000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_put_data include/linux/skbuff.h:2097 [inline] h5_unslip_one_byte drivers/bluetooth/hci_h5.c:490 [inline] h5_recv+0x2a3/0x3b0 drivers/bluetooth/hci_h5.c:526 hci_uart_tty_receive+0x1ec/0x4c0 drivers/bluetooth/hci_ldisc.c:616 tiocsti drivers/tty/tty_io.c:2186 [inline] tty_ioctl+0xd5b/0x1220 drivers/tty/tty_io.c:2572 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xfe0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c829 RSP: 002b:00007f5f511bfc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000004eebc0 RCX: 000000000045c829 RDX: 0000000020000140 RSI: 0000000000005412 RDI: 0000000000000003 RBP: 000000000078bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000584 R14: 00000000004c8192 R15: 00007f5f511c06d4 Code: 41 56 41 55 41 54 41 89 f4 55 48 89 fd 4c 8d b5 c8 00 00 00 53 e8 66 d9 60 fc 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 14 02 4c 89 f0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 RIP: skb_put+0x2b/0x1a0 net/core/skbuff.c:1694 RSP: ffff888204e17b20 Bluetooth: Too short H5 packet Bluetooth: Invalid header checksum ---[ end trace 5d85d99b1a645ee2 ]--- Bluetooth: Invalid header checksum