device veth1_vlan entered promiscuous mode
IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready
hrtimer: interrupt took 26903 ns
device veth0_macvtap entered promiscuous mode
==================================================================
BUG: KASAN: use-after-free in __lock_acquire+0x2c57/0x3f20 kernel/locking/lockdep.c:3369
Read of size 8 at addr ffff8880ae6124a0 by task syz-executor.0/9349

CPU: 1 PID: 9349 Comm: syz-executor.0 Not tainted 4.14.231-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready
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:252
 kasan_report_error.cold+0x8a/0x191 mm/kasan/report.c:351
 kasan_report mm/kasan/report.c:409 [inline]
 __asan_report_load8_noabort+0x68/0x70 mm/kasan/report.c:430
device veth0_macvtap entered promiscuous mode
 __lock_acquire+0x2c57/0x3f20 kernel/locking/lockdep.c:3369
IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready
device veth1_macvtap entered promiscuous mode
IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready
 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998
IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready
 __raw_write_lock include/linux/rwlock_api_smp.h:210 [inline]
 _raw_write_lock+0x2a/0x40 kernel/locking/spinlock.c:296
 nfc_llcp_sock_unlink+0x1d/0x170 net/nfc/llcp_core.c:44
IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready
 llcp_sock_release+0x235/0x4c0 net/nfc/llcp_sock.c:653
 __sock_release+0xcd/0x2b0 net/socket.c:602
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0
 sock_close+0x15/0x20 net/socket.c:1139
 __fput+0x25f/0x7a0 fs/file_table.c:210
 task_work_run+0x11f/0x190 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164
 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
 do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x41926b
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
RSP: 002b:00007ffeed971580 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000008 RCX: 000000000041926b
RDX: 0000000000571768 RSI: 0000000000000001 RDI: 0000000000000007
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2ef20214
R10: 00007ffeed971670 R11: 0000000000000293 R12: 0000000000183a22
R13: 00000000000003e8 R14: 000000000056bf60 R15: 00000000001839f3

Allocated by task 1:
 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
 kmem_cache_alloc_trace+0x131/0x3d0 mm/slab.c:3618
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0
 kmalloc include/linux/slab.h:488 [inline]
 kzalloc include/linux/slab.h:661 [inline]
 nfc_llcp_register_device+0x43/0xa50 net/nfc/llcp_core.c:1584
 nfc_register_device+0x63/0x330 net/nfc/core.c:1132
 nfcsim_device_new+0x372/0x5c2 drivers/nfc/nfcsim.c:417
 nfcsim_init+0x71/0x12a drivers/nfc/nfcsim.c:464
 do_one_initcall+0x88/0x210 init/main.c:826
 do_initcall_level init/main.c:892 [inline]
 do_initcalls init/main.c:900 [inline]
 do_basic_setup init/main.c:918 [inline]
 kernel_init_freeable+0x553/0x614 init/main.c:1075
 kernel_init+0xd/0x164 init/main.c:1000
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:404

Freed by task 9350:
 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
 local_release net/nfc/llcp_core.c:187 [inline]
 kref_put include/linux/kref.h:70 [inline]
 nfc_llcp_local_put+0x13c/0x190 net/nfc/llcp_core.c:195
 llcp_sock_destruct+0x69/0x120 net/nfc/llcp_sock.c:960
 __sk_destruct+0x49/0x760 net/core/sock.c:1557
 sk_destruct net/core/sock.c:1597 [inline]
 __sk_free+0xd9/0x2d0 net/core/sock.c:1605
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0
 sk_free+0x2b/0x40 net/core/sock.c:1616
 sock_put include/net/sock.h:1662 [inline]
 llcp_sock_release+0x31b/0x4c0 net/nfc/llcp_sock.c:657
 __sock_release+0xcd/0x2b0 net/socket.c:602
 sock_close+0x15/0x20 net/socket.c:1139
 __fput+0x25f/0x7a0 fs/file_table.c:210
 task_work_run+0x11f/0x190 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164
 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
 do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!

The buggy address belongs to the object at ffff8880ae612080
 which belongs to the cache kmalloc-2048 of size 2048
The buggy address is located 1056 bytes inside of
 2048-byte region [ffff8880ae612080, ffff8880ae612880)
The buggy address belongs to the page:
page:ffffea0002b98480 count:1 mapcount:0 mapping:ffff8880ae612080 index:0x0 compound_mapcount: 0
flags: 0xfff00000008100(slab|head)
IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready
raw: 00fff00000008100 ffff8880ae612080 0000000000000000 0000000100000003
raw: ffffea0002b96ea0 ffffea0002b99da0 ffff88813fe80c40 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
 ffff8880ae612380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff8880ae612400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff8880ae612480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                               ^
 ffff8880ae612500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff8880ae612580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
batman_adv: batadv0: Interface activated: batadv_slave_0