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: 0 PID: 12745 Comm: syz-executor.3 Not tainted 4.14.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880409b6580 task.stack: ffff888043218000 RIP: 0010:skb_put+0x2b/0x1a0 net/core/skbuff.c:1694 RSP: 0018:ffff88804321fb20 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88804321fca0 RCX: ffffc90008a6c000 RDX: 0000000000000019 RSI: ffffffff84f95d3a RDI: 0000000000000000 RBP: 0000000000000000 R08: 00000000000035d6 R09: ffffffff8a076730 R10: ffff8880409b6e28 R11: ffff8880409b6580 R12: 0000000000000001 R13: 0000000000000001 R14: 00000000000000c8 R15: ffffed1013b77970 FS: 00007f4fa1f31700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000400200 CR3: 000000009db8c000 CR4: 00000000001426f0 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:0x45c889 RSP: 002b:00007f4fa1f30c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4fa1f316d4 RCX: 000000000045c889 RDX: 0000000020000140 RSI: 0000000000005412 RDI: 0000000000000003 RBP: 000000000076bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000582 R14: 00000000004c81b7 R15: 000000000076bfac Code: 41 56 41 55 41 54 41 89 f4 55 48 89 fd 4c 8d b5 c8 00 00 00 53 e8 66 e9 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: ffff88804321fb20 Bluetooth: Too short H5 packet Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum ---[ end trace fcfb841b356b43b6 ]---