netlink: 'syz-executor.1': attribute type 13 has an invalid length. FAT-fs (loop3): count of clusters too big (4294966678) FAT-fs (loop4): invalid media value (0x00) ================================================================== BUG: KASAN: slab-out-of-bounds in memcpy include/linux/string.h:348 [inline] BUG: KASAN: slab-out-of-bounds in bacpy include/net/bluetooth/bluetooth.h:236 [inline] BUG: KASAN: slab-out-of-bounds in hci_extended_inquiry_result_evt net/bluetooth/hci_event.c:4162 [inline] BUG: KASAN: slab-out-of-bounds in hci_event_packet+0x7a85/0x80f9 net/bluetooth/hci_event.c:5844 Read of size 6 at addr ffff8880a47282c6 by task kworker/u5:1/21017 CPU: 0 PID: 21017 Comm: kworker/u5:1 Not tainted 4.19.127-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: hci0 hci_rx_work Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2fe lib/dump_stack.c:118 FAT-fs (loop3): Can't find a valid FAT filesystem print_address_description.cold+0x54/0x222 mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report mm/kasan/report.c:412 [inline] kasan_report.cold+0x88/0x2b9 mm/kasan/report.c:396 memcpy include/linux/string.h:348 [inline] bacpy include/net/bluetooth/bluetooth.h:236 [inline] hci_extended_inquiry_result_evt net/bluetooth/hci_event.c:4162 [inline] hci_event_packet+0x7a85/0x80f9 net/bluetooth/hci_event.c:5844 hci_rx_work+0x47b/0xab0 net/bluetooth/hci_core.c:4359 process_one_work+0x892/0x1580 kernel/workqueue.c:2155 worker_thread+0x96/0xe20 kernel/workqueue.c:2298 kthread+0x30b/0x410 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Allocated by task 21009: __do_kmalloc_node mm/slab.c:3689 [inline] __kmalloc_node_track_caller+0x4c/0x70 mm/slab.c:3703 __kmalloc_reserve.isra.0+0x39/0xe0 net/core/skbuff.c:137 __alloc_skb+0xef/0x5b0 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 FAT-fs (loop4): Can't find a valid FAT filesystem call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x512/0x760 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 20210: __cache_free mm/slab.c:3503 [inline] kfree+0xce/0x220 mm/slab.c:3822 skb_free_head+0x91/0xb0 net/core/skbuff.c:554 skb_release_data+0x623/0x8e0 net/core/skbuff.c:574 skb_release_all+0x46/0x60 net/core/skbuff.c:631 __kfree_skb net/core/skbuff.c:645 [inline] kfree_skb+0xe1/0x390 net/core/skbuff.c:663 unix_dgram_sendmsg+0x66a/0x10d0 net/unix/af_unix.c:1838 unix_seqpacket_sendmsg+0x111/0x1a0 net/unix/af_unix.c:2082 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:632 ___sys_sendmsg+0x3e2/0x920 net/socket.c:2115 __sys_sendmmsg+0x195/0x470 net/socket.c:2210 __do_sys_sendmmsg net/socket.c:2239 [inline] __se_sys_sendmmsg net/socket.c:2236 [inline] __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2236 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 ffff8880a47280c0 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 6 bytes to the right of 512-byte region [ffff8880a47280c0, ffff8880a47282c0) The buggy address belongs to the page: page:ffffea000291ca00 count:1 mapcount:0 mapping:ffff88812c3dc940 index:0xffff8880a4728d40 flags: 0xfffe0000000100(slab) raw: 00fffe0000000100 ffffea000145a3c8 ffffea00013ef5c8 ffff88812c3dc940 raw: ffff8880a4728d40 ffff8880a47280c0 0000000100000005 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a4728180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880a4728200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880a4728280: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ^ ffff8880a4728300: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 ffff8880a4728380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================