netlink: 'syz-executor0': attribute type 17 has an invalid length. ntfs: (device loop3): ntfs_fill_super(): Unable to determine device size. ================================================================== BUG: KASAN: slab-out-of-bounds in memcpy include/linux/string.h:352 [inline] BUG: KASAN: slab-out-of-bounds in bacpy+0x23/0x30 include/net/bluetooth/bluetooth.h:236 Read of size 6 at addr ffff88809f2104fb by task kworker/u5:1/9217 CPU: 0 PID: 9217 Comm: kworker/u5:1 Not tainted 4.20.0+ #13 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+0x1db/0x2d0 lib/dump_stack.c:113 TCP: request_sock_TCPv6: Possible SYN flooding on port 2. Sending cookies. Check SNMP counters. print_address_description.cold+0x7c/0x20d mm/kasan/report.c:187 kasan_report.cold+0x1b/0x40 mm/kasan/report.c:317 check_memory_region_inline mm/kasan/generic.c:185 [inline] check_memory_region+0x123/0x190 mm/kasan/generic.c:191 memcpy+0x24/0x50 mm/kasan/common.c:130 memcpy include/linux/string.h:352 [inline] bacpy+0x23/0x30 include/net/bluetooth/bluetooth.h:236 hci_inquiry_result_with_rssi_evt net/bluetooth/hci_event.c:3986 [inline] hci_event_packet+0x3afc/0xc22e net/bluetooth/hci_event.c:5863 hci_rx_work+0x578/0xcd0 net/bluetooth/hci_core.c:4412 process_one_work+0xd0c/0x1ce0 kernel/workqueue.c:2153 worker_thread+0x143/0x14a0 kernel/workqueue.c:2296 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Allocated by task 11647: save_stack+0x45/0xd0 mm/kasan/common.c:73 set_track mm/kasan/common.c:85 [inline] kasan_kmalloc mm/kasan/common.c:482 [inline] kasan_kmalloc+0xcf/0xe0 mm/kasan/common.c:455 __do_kmalloc_node mm/slab.c:3671 [inline] __kmalloc_node_track_caller+0x4e/0x70 mm/slab.c:3685 __kmalloc_reserve.isra.0+0x40/0xe0 net/core/skbuff.c:140 __alloc_skb+0x12d/0x730 net/core/skbuff.c:208 alloc_skb include/linux/skbuff.h:1011 [inline] bt_skb_alloc include/net/bluetooth/bluetooth.h:339 [inline] vhci_get_user drivers/bluetooth/hci_vhci.c:180 [inline] vhci_write+0xc4/0x470 drivers/bluetooth/hci_vhci.c:299 call_write_iter include/linux/fs.h:1862 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x764/0xb40 fs/read_write.c:487 vfs_write+0x20c/0x580 fs/read_write.c:549 ksys_write+0x105/0x260 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 7: save_stack+0x45/0xd0 mm/kasan/common.c:73 set_track mm/kasan/common.c:85 [inline] __kasan_slab_free+0x102/0x150 mm/kasan/common.c:444 kasan_slab_free+0xe/0x10 mm/kasan/common.c:452 __cache_free mm/slab.c:3485 [inline] kfree+0xcf/0x230 mm/slab.c:3804 skb_free_head+0x93/0xb0 net/core/skbuff.c:553 skb_release_data+0x6ea/0x970 net/core/skbuff.c:573 skb_release_all+0x4d/0x60 net/core/skbuff.c:627 __kfree_skb net/core/skbuff.c:641 [inline] consume_skb net/core/skbuff.c:701 [inline] consume_skb+0x18c/0x550 net/core/skbuff.c:695 netlink_broadcast_filtered+0x6e7/0x16f0 net/netlink/af_netlink.c:1512 netlink_broadcast net/netlink/af_netlink.c:1534 [inline] nlmsg_multicast include/net/netlink.h:734 [inline] nlmsg_notify+0x93/0x1c0 net/netlink/af_netlink.c:2520 rtnl_notify+0xc5/0xf0 net/core/rtnetlink.c:742 __neigh_notify+0xe3/0x160 net/core/neighbour.c:3325 neigh_cleanup_and_release+0x7b/0xe0 net/core/neighbour.c:104 neigh_flush_dev+0x611/0x970 net/core/neighbour.c:337 __neigh_ifdown+0x45/0x300 net/core/neighbour.c:354 neigh_ifdown+0x20/0x30 net/core/neighbour.c:371 rt6_disable_ip+0x62b/0x730 net/ipv6/route.c:4048 addrconf_ifdown+0x13e/0x15e0 net/ipv6/addrconf.c:3669 addrconf_notify+0x629/0x25f0 net/ipv6/addrconf.c:3594 notifier_call_chain+0x179/0x380 kernel/notifier.c:93 __raw_notifier_call_chain kernel/notifier.c:394 [inline] raw_notifier_call_chain+0x2e/0x40 kernel/notifier.c:401 call_netdevice_notifiers_info+0x3f/0x90 net/core/dev.c:1739 call_netdevice_notifiers_extack net/core/dev.c:1751 [inline] call_netdevice_notifiers net/core/dev.c:1765 [inline] dev_close_many+0x42e/0x890 net/core/dev.c:1508 rollback_registered_many+0x544/0x1370 net/core/dev.c:8079 unregister_netdevice_many.part.0+0x8e/0x470 net/core/dev.c:9207 unregister_netdevice_many+0xba/0x120 net/core/dev.c:9206 ip6gre_exit_batch_net+0x5c9/0x7f0 net/ipv6/ip6_gre.c:1600 ops_exit_list.isra.0+0x105/0x160 net/core/net_namespace.c:156 cleanup_net+0x51d/0xb10 net/core/net_namespace.c:551 process_one_work+0xd0c/0x1ce0 kernel/workqueue.c:2153 worker_thread+0x143/0x14a0 kernel/workqueue.c:2296 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 The buggy address belongs to the object at ffff88809f210300 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 507 bytes inside of 512-byte region [ffff88809f210300, ffff88809f210500) The buggy address belongs to the page: page:ffffea00027c8400 count:1 mapcount:0 mapping:ffff88812c3f0940 index:0x0 flags: 0x1fffc0000000200(slab) raw: 01fffc0000000200 ffffea00027a2588 ffffea00023f6188 ffff88812c3f0940 raw: 0000000000000000 ffff88809f210080 0000000100000006 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88809f210400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88809f210480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88809f210500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88809f210580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88809f210600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================