Bluetooth: Invalid header checksum kasan: GPF could be caused by NULL-ptr deref or user memory access Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 7830 Comm: syz-executor.4 Not tainted 4.19.59 #32 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:skb_put+0x35/0x1e0 /net/core/skbuff.c:1697 Code: 89 f5 41 54 49 89 fc 53 4d 8d b4 24 c8 00 00 00 48 83 ec 08 e8 4c f1 09 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 58 kobject: 'loop2' (000000008f25267a): kobject_uevent_env RSP: 0018:ffff88808bd07a38 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88808bd07c08 RCX: ffffffff84e2952d RDX: 0000000000000019 RSI: ffffffff856124d4 RDI: 0000000000000000 RBP: ffff88808bd07a68 R08: ffff888076978000 R09: ffffed1015d24733 R10: ffffed1015d24732 R11: ffff8880ae923993 R12: 0000000000000000 R13: 0000000000000001 R14: 00000000000000c8 R15: dffffc0000000000 FS: 00007f29d40dc700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000075c000 CR3: 00000000a9940000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_put_data /./include/linux/skbuff.h:2093 [inline] h5_unslip_one_byte /drivers/bluetooth/hci_h5.c:534 [inline] h5_recv+0x38f/0x4c0 /drivers/bluetooth/hci_h5.c:570 kobject: 'loop2' (000000008f25267a): fill_kobj_path: path = '/devices/virtual/block/loop2' hci_uart_tty_receive+0x225/0x530 /drivers/bluetooth/hci_ldisc.c:607 tiocsti /drivers/tty/tty_io.c:2194 [inline] tty_ioctl+0xe91/0x1510 /drivers/tty/tty_io.c:2580 vfs_ioctl /fs/ioctl.c:46 [inline] file_ioctl /fs/ioctl.c:501 [inline] do_vfs_ioctl+0xd5f/0x1380 /fs/ioctl.c:688 ksys_ioctl+0xab/0xd0 /fs/ioctl.c:705 __do_sys_ioctl /fs/ioctl.c:712 [inline] __se_sys_ioctl /fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x73/0xb0 /fs/ioctl.c:710 do_syscall_64+0xfd/0x620 /arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459819 Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 kobject: 'loop1' (0000000021301843): kobject_uevent_env RSP: 002b:00007f29d40dbc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459819 RDX: 0000000020000080 RSI: 0000000000005412 RDI: 0000000000000003 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f29d40dc6d4 R13: 00000000004c408a R14: 00000000004d7ff0 R15: 00000000ffffffff kobject: 'loop1' (0000000021301843): fill_kobj_path: path = '/devices/virtual/block/loop1' Modules linked in: Bluetooth: Invalid header checksum kobject: '(null)' (000000005cf2859a): kobject_cleanup, parent (null) kobject: '(null)' (00000000082fad83): kobject_cleanup, parent (null) kobject: 'loop3' (00000000f6dd4f05): kobject_uevent_env kobject: '(null)' (00000000082fad83): calling ktype release kobject: '(null)' (000000002749f1b7): kobject_cleanup, parent (null) kobject: 'loop3' (00000000f6dd4f05): fill_kobj_path: path = '/devices/virtual/block/loop3' kobject: '(null)' (000000005cf2859a): calling ktype release kobject: '(null)' (000000002749f1b7): calling ktype release kobject: 'loop0' (00000000bfc5c3c1): kobject_uevent_env Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum kobject: 'loop0' (00000000bfc5c3c1): fill_kobj_path: path = '/devices/virtual/block/loop0' Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum kobject: '(null)' (00000000685eb048): kobject_cleanup, parent (null) Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum kobject: 'loop5' (00000000d1649586): kobject_uevent_env Bluetooth: Invalid header checksum kobject: 'loop5' (00000000d1649586): fill_kobj_path: path = '/devices/virtual/block/loop5' kobject: '(null)' (0000000041a67b06): kobject_cleanup, parent (null) kobject: '(null)' (0000000041a67b06): calling ktype release kobject: '(null)' (00000000797f268e): kobject_cleanup, parent (null) Bluetooth: Invalid header checksum kobject: '(null)' (00000000685eb048): calling ktype release Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum ---[ end trace 9f36bcc6325656ed ]--- kobject: '(null)' (00000000eea2591e): kobject_cleanup, parent (null) kobject: '(null)' (00000000eea2591e): calling ktype release kobject: '(null)' (00000000d221353c): kobject_cleanup, parent (null) Bluetooth: Invalid header checksum kobject: '(null)' (00000000797f268e): calling ktype release kobject: 'loop2' (000000008f25267a): kobject_uevent_env RIP: 0010:skb_put+0x35/0x1e0 /net/core/skbuff.c:1697 kobject: '(null)' (00000000d221353c): calling ktype release Code: 89 f5 41 54 49 89 fc 53 4d 8d b4 24 c8 00 00 00 48 83 ec 08 e8 4c f1 09 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 58 kobject: 'loop2' (000000008f25267a): fill_kobj_path: path = '/devices/virtual/block/loop2' Bluetooth: Invalid header checksum RSP: 0018:ffff88808bd07a38 EFLAGS: 00010202 kobject: '(null)' (00000000c7bdbca5): kobject_cleanup, parent (null) kobject: '(null)' (000000005e338b55): kobject_cleanup, parent (null) kobject: '(null)' (00000000c7bdbca5): calling ktype release Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum kobject: 'loop3' (00000000f6dd4f05): kobject_uevent_env Bluetooth: Invalid header checksum kobject: 'loop3' (00000000f6dd4f05): fill_kobj_path: path = '/devices/virtual/block/loop3' kobject: 'loop1' (0000000021301843): kobject_uevent_env kobject: 'loop1' (0000000021301843): fill_kobj_path: path = '/devices/virtual/block/loop1' RAX: dffffc0000000000 RBX: ffff88808bd07c08 RCX: ffffffff84e2952d Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum RDX: 0000000000000019 RSI: ffffffff856124d4 RDI: 0000000000000000 Bluetooth: Invalid header checksum kobject: '(null)' (00000000102484fc): kobject_cleanup, parent (null) kobject: '(null)' (000000005e338b55): calling ktype release Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum Bluetooth: Too short H5 packet Bluetooth: Invalid header checksum RBP: ffff88808bd07a68 R08: ffff888076978000 R09: ffffed1015d24733 kobject: '(null)' (00000000102484fc): calling ktype release Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum R10: ffffed1015d24732 R11: ffff8880ae923993 R12: 0000000000000000 kobject: '(null)' (0000000060010e64): kobject_cleanup, parent (null) R13: 0000000000000001 R14: 00000000000000c8 R15: dffffc0000000000 kobject: 'loop0' (00000000bfc5c3c1): kobject_uevent_env kobject: '(null)' (0000000060010e64): calling ktype release kobject: '(null)' (00000000b139fe12): kobject_cleanup, parent (null) Bluetooth: Invalid header checksum kobject: 'loop0' (00000000bfc5c3c1): fill_kobj_path: path = '/devices/virtual/block/loop0' kobject: '(null)' (00000000b139fe12): calling ktype release FS: 00007f29d40dc700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 Bluetooth: Invalid header checksum kobject: 'loop5' (00000000d1649586): kobject_uevent_env kobject: '(null)' (0000000008c8ca1b): kobject_cleanup, parent (null) kobject: '(null)' (0000000008c8ca1b): calling ktype release kobject: '(null)' (0000000057b79210): kobject_cleanup, parent (null) Bluetooth: Invalid header checksum kobject: 'loop5' (00000000d1649586): fill_kobj_path: path = '/devices/virtual/block/loop5' Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum Bluetooth: Invalid header checksum CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Bluetooth: Invalid header checksum CR2: 000000000075c091 CR3: 00000000a9940000 CR4: 00000000001406f0 kobject: 'loop2' (000000008f25267a): kobject_uevent_env kobject: '(null)' (0000000057b79210): calling ktype release DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 kobject: '(null)' (00000000fb88b60e): kobject_cleanup, parent (null) Bluetooth: Invalid header checksum kobject: 'loop2' (000000008f25267a): fill_kobj_path: path = '/devices/virtual/block/loop2' kobject: '(null)' (00000000db3958bc): kobject_cleanup, parent (null) kobject: '(null)' (00000000fb88b60e): calling ktype release DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 kobject: '(null)' (00000000db3958bc): calling ktype release kobject: 'loop3' (00000000f6dd4f05): kobject_uevent_env