Bluetooth: Unknown advertising packet type: 0xffff
Bluetooth: hci0: advertising data len corrected
Bluetooth: Unknown advertising packet type: 0x100
==================================================================
BUG: KASAN: slab-out-of-bounds in hci_le_ext_adv_report_evt net/bluetooth/hci_event.c:5472 [inline]
BUG: KASAN: slab-out-of-bounds in hci_le_meta_evt+0x383e/0x3f20 net/bluetooth/hci_event.c:5714
Read of size 1 at addr ffff888096823641 by task kworker/u5:5/8146

CPU: 1 PID: 8146 Comm: kworker/u5:5 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: hci0 hci_rx_work
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 print_address_description.cold+0x54/0x219 mm/kasan/report.c:256
 kasan_report_error.cold+0x8a/0x1b9 mm/kasan/report.c:354
 kasan_report mm/kasan/report.c:412 [inline]
 __asan_report_load1_noabort+0x88/0x90 mm/kasan/report.c:430
 hci_le_ext_adv_report_evt net/bluetooth/hci_event.c:5472 [inline]
 hci_le_meta_evt+0x383e/0x3f20 net/bluetooth/hci_event.c:5714
 hci_event_packet+0x34ad/0x7e20 net/bluetooth/hci_event.c:5959
 hci_rx_work+0x4ad/0xc70 net/bluetooth/hci_core.c:4380
 process_one_work+0x864/0x1570 kernel/workqueue.c:2153
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

Allocated by task 22140:
 __do_kmalloc_node mm/slab.c:3689 [inline]
 __kmalloc_node_track_caller+0x4c/0x70 mm/slab.c:3703
 __kmalloc_reserve net/core/skbuff.c:137 [inline]
 __alloc_skb+0xae/0x560 net/core/skbuff.c:205
 alloc_skb include/linux/skbuff.h:995 [inline]
 bt_skb_alloc include/net/bluetooth/bluetooth.h:339 [inline]
 vhci_get_user drivers/bluetooth/hci_vhci.c:180 [inline]
 vhci_write+0xbd/0x450 drivers/bluetooth/hci_vhci.c:299
 call_write_iter include/linux/fs.h:1821 [inline]
 new_sync_write fs/read_write.c:474 [inline]
 __vfs_write+0x51b/0x770 fs/read_write.c:487
 vfs_write+0x1f3/0x540 fs/read_write.c:549
 ksys_write+0x12b/0x2a0 fs/read_write.c:599
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe

Freed by task 8124:
 __cache_free mm/slab.c:3503 [inline]
 kfree+0xcc/0x210 mm/slab.c:3822
 skb_free_head net/core/skbuff.c:563 [inline]
 skb_release_data+0x6de/0x920 net/core/skbuff.c:583
 skb_release_all net/core/skbuff.c:640 [inline]
 __kfree_skb net/core/skbuff.c:654 [inline]
 consume_skb+0x113/0x3d0 net/core/skbuff.c:714
 __dev_kfree_skb_any+0x9c/0xc0 net/core/dev.c:2796
 dev_consume_skb_any include/linux/netdevice.h:3567 [inline]
 napi_consume_skb+0x45d/0x5e0 net/core/skbuff.c:778
 free_old_xmit_skbs+0xea/0x270 drivers/net/virtio_net.c:1395
 start_xmit+0x156/0x17a0 drivers/net/virtio_net.c:1611
 __netdev_start_xmit include/linux/netdevice.h:4349 [inline]
 netdev_start_xmit include/linux/netdevice.h:4363 [inline]
 xmit_one net/core/dev.c:3256 [inline]
 dev_hard_start_xmit+0x1a8/0x920 net/core/dev.c:3272
 sch_direct_xmit+0x2d6/0xf70 net/sched/sch_generic.c:332
 qdisc_restart net/sched/sch_generic.c:395 [inline]
 __qdisc_run+0x4d0/0x1640 net/sched/sch_generic.c:403
 qdisc_run include/net/pkt_sched.h:120 [inline]
 __dev_xmit_skb net/core/dev.c:3451 [inline]
 __dev_queue_xmit+0x2102/0x2e00 net/core/dev.c:3807
 neigh_hh_output include/net/neighbour.h:491 [inline]
 neigh_output include/net/neighbour.h:499 [inline]
 ip_finish_output2+0xb6d/0x15a0 net/ipv4/ip_output.c:230
 ip_finish_output+0xae9/0x10b0 net/ipv4/ip_output.c:318
 NF_HOOK_COND include/linux/netfilter.h:278 [inline]
 ip_output+0x203/0x5f0 net/ipv4/ip_output.c:406
 dst_output include/net/dst.h:455 [inline]
 ip_local_out+0xaf/0x170 net/ipv4/ip_output.c:125
 __ip_queue_xmit+0x91e/0x1c10 net/ipv4/ip_output.c:507
 __tcp_transmit_skb+0x1b9c/0x3400 net/ipv4/tcp_output.c:1148
 __tcp_send_ack.part.0+0x3d9/0x5c0 net/ipv4/tcp_output.c:3643
 __tcp_send_ack net/ipv4/tcp_output.c:3649 [inline]
 tcp_send_ack+0x7d/0xa0 net/ipv4/tcp_output.c:3649
 tcp_cleanup_rbuf+0x30f/0x600 net/ipv4/tcp.c:1604
 tcp_recvmsg+0xa8c/0x2a90 net/ipv4/tcp.c:2177
 inet_recvmsg+0x124/0x5c0 net/ipv4/af_inet.c:830
 sock_recvmsg_nosec net/socket.c:859 [inline]
 sock_recvmsg net/socket.c:866 [inline]
 sock_recvmsg net/socket.c:862 [inline]
 sock_read_iter+0x339/0x470 net/socket.c:944
 call_read_iter include/linux/fs.h:1815 [inline]
 new_sync_read fs/read_write.c:406 [inline]
 __vfs_read+0x518/0x750 fs/read_write.c:418
 vfs_read+0x194/0x3c0 fs/read_write.c:452
 ksys_read+0x12b/0x2a0 fs/read_write.c:579
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe

The buggy address belongs to the object at ffff888096823240
 which belongs to the cache kmalloc-1024 of size 1024
The buggy address is located 1 bytes to the right of
 1024-byte region [ffff888096823240, ffff888096823640)
The buggy address belongs to the page:
page:ffffea00025a0880 count:1 mapcount:0 mapping:ffff88813bff0ac0 index:0xffff888096822040 compound_mapcount: 0
flags: 0xfff00000008100(slab|head)
raw: 00fff00000008100 ffffea00026e2488 ffffea0002bbff88 ffff88813bff0ac0
raw: ffff888096822040 ffff888096822040 0000000100000002 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
 ffff888096823500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888096823580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888096823600: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc
                                           ^
 ffff888096823680: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00
 ffff888096823700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================