batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3f) already exists on: batadv_slave_1 Bluetooth: hci2 command 0x0419 tx timeout Bluetooth: hci1 command 0x0419 tx timeout ================================================================== BUG: KASAN: slab-out-of-bounds in find_first_zero_bit+0x84/0x90 lib/find_bit.c:105 Read of size 8 at addr ffff8880b51dfac0 by task syz-executor.1/9430 Bluetooth: hci5 command 0x0419 tx timeout batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! CPU: 0 PID: 9430 Comm: syz-executor.1 Not tainted 4.14.306-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3f) already exists on: batadv_slave_1 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 print_address_description.cold+0x54/0x1d3 mm/kasan/report.c:251 kasan_report_error.cold+0x8a/0x191 mm/kasan/report.c:350 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! kasan_report mm/kasan/report.c:408 [inline] __asan_report_load8_noabort+0x68/0x70 mm/kasan/report.c:429 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3f) already exists on: batadv_slave_1 find_first_zero_bit+0x84/0x90 lib/find_bit.c:105 bfs_create+0xfb/0x620 fs/bfs/dir.c:92 lookup_open+0x77a/0x1750 fs/namei.c:3241 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! do_last fs/namei.c:3334 [inline] path_openat+0xe08/0x2970 fs/namei.c:3571 IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready batman_adv: batadv0: Interface activated: batadv_slave_1 do_filp_open+0x179/0x3c0 fs/namei.c:3605 do_sys_open+0x296/0x410 fs/open.c:1081 IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready device veth0_macvtap entered promiscuous mode do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready RIP: 0033:0x7f66c7fe20f9 device veth1_macvtap entered promiscuous mode RSP: 002b:00007f66c6554168 EFLAGS: 00000246 IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f66c8101f80 RCX: 00007f66c7fe20f9 IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready RDX: 0000000000000000 RSI: 0000000000143042 RDI: 00000000200000c0 RBP: 00007f66c803dae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd8ac62b3f R14: 00007f66c6554300 R15: 0000000000022000 Allocated by task 9430: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551 __do_kmalloc mm/slab.c:3720 [inline] __kmalloc+0x15a/0x400 mm/slab.c:3729 kmalloc include/linux/slab.h:493 [inline] kzalloc include/linux/slab.h:661 [inline] bfs_fill_super+0x3d5/0xd80 fs/bfs/inode.c:363 mount_bdev+0x2b3/0x360 fs/super.c:1134 mount_fs+0x92/0x2a0 fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046 IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2572 [inline] do_mount+0xe65/0x2a30 fs/namespace.c:2905 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_0 SYSC_mount fs/namespace.c:3121 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3098 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_0 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 Freed by task 4632: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0xc3/0x1a0 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kfree+0xc9/0x250 mm/slab.c:3815 kfree_const+0x33/0x40 mm/util.c:39 kernfs_put.part.0+0x131/0x490 fs/kernfs/dir.c:540 kernfs_put+0x26/0x30 fs/kernfs/dir.c:523 css_free_work_fn+0x4bb/0x1140 kernel/cgroup/cgroup.c:4623 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! process_one_work+0x793/0x14a0 kernel/workqueue.c:2117 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_0 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251 kthread+0x30d/0x420 kernel/kthread.c:232 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 The buggy address belongs to the object at ffff8880b51dfac0 which belongs to the cache kmalloc-32 of size 32 The buggy address is located 0 bytes inside of 32-byte region [ffff8880b51dfac0, ffff8880b51dfae0) The buggy address belongs to the page: page:ffffea0002d477c0 count:1 mapcount:0 mapping:ffff8880b51df000 index:0xffff8880b51dffc1 flags: 0xfff00000000100(slab) raw: 00fff00000000100 ffff8880b51df000 ffff8880b51dffc1 000000010000003f raw: ffffea0002d39ea0 ffffea0002927aa0 ffff88813fe741c0 0000000000000000 page dumped because: kasan: bad access detected batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_0 Memory state around the buggy address: batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! ffff8880b51df980: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_0 ffff8880b51dfa00: 00 00 00 00 fc fc fc fc fb fb fb fb fc fc fc fc >ffff8880b51dfa80: fb fb fb fb fc fc fc fc 07 fc fc fc fc fc fc fc ^ ffff8880b51dfb00: 00 00 00 00 fc fc fc fc 00 00 00 00 fc fc fc fc ffff8880b51dfb80: 00 00 00 00 fc fc fc fc fb fb fb fb fc fc fc fc ==================================================================