IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bond: link becomes ready 8021q: adding VLAN 0 to HW filter on device bond0 device hsr_slave_0 entered promiscuous mode device hsr_slave_1 entered promiscuous mode ================================================================== BUG: KASAN: use-after-free in __lock_acquire+0x32f9/0x4500 kernel/locking/lockdep.c:3365 Read of size 8 at addr ffff8880909de5a0 by task kworker/u4:5/2307 CPU: 0 PID: 2307 Comm: kworker/u4:5 Not tainted 4.14.171-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: tipc_rcv tipc_recv_work Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xf7/0x13b lib/dump_stack.c:58 print_address_description.cold.7+0x9/0x1c9 mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report.cold.8+0x11a/0x2d3 mm/kasan/report.c:409 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:430 __lock_acquire+0x32f9/0x4500 kernel/locking/lockdep.c:3365 lock_acquire+0x173/0x400 kernel/locking/lockdep.c:3994 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:176 spin_lock_bh include/linux/spinlock.h:322 [inline] tipc_subscrp_subscribe net/tipc/subscr.c:299 [inline] tipc_subscrb_rcv_cb+0x479/0x9c0 net/tipc/subscr.c:338 tipc_receive_from_sock+0x290/0x570 net/tipc/server.c:273 tipc_recv_work+0x78/0xd0 net/tipc/server.c:547 process_one_work+0x7a3/0x16c0 kernel/workqueue.c:2114 worker_thread+0xcc/0xee0 kernel/workqueue.c:2248 kthread+0x33b/0x410 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:404 Allocated by task 5: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 save_stack+0x43/0xd0 mm/kasan/kasan.c:447 set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xc7/0xe0 mm/kasan/kasan.c:551 kmem_cache_alloc_trace+0x152/0x7b0 mm/slab.c:3618 kmalloc include/linux/slab.h:488 [inline] kzalloc include/linux/slab.h:661 [inline] tipc_subscrb_create net/tipc/subscr.c:223 [inline] tipc_subscrb_connect_cb+0x44/0x140 net/tipc/subscr.c:344 tipc_accept_from_sock+0x29e/0x4c0 net/tipc/server.c:313 tipc_recv_work+0x78/0xd0 net/tipc/server.c:547 process_one_work+0x7a3/0x16c0 kernel/workqueue.c:2114 worker_thread+0xcc/0xee0 kernel/workqueue.c:2248 kthread+0x33b/0x410 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:404 Freed by task 5: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 save_stack+0x43/0xd0 mm/kasan/kasan.c:447 set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0x71/0xc0 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kfree+0xcc/0x270 mm/slab.c:3815 tipc_subscrb_kref_release net/tipc/subscr.c:155 [inline] kref_put include/linux/kref.h:70 [inline] tipc_subscrb_put+0x19/0x20 net/tipc/subscr.c:160 tipc_subscrb_delete net/tipc/subscr.c:239 [inline] tipc_subscrb_release_cb+0x1a/0x20 net/tipc/subscr.c:316 tipc_close_conn+0x15d/0x1f0 net/tipc/server.c:203 tipc_send_to_sock net/tipc/server.c:538 [inline] tipc_send_work+0x462/0x5e0 net/tipc/server.c:564 process_one_work+0x7a3/0x16c0 kernel/workqueue.c:2114 worker_thread+0xcc/0xee0 kernel/workqueue.c:2248 kthread+0x33b/0x410 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:404 The buggy address belongs to the object at ffff8880909de580 which belongs to the cache kmalloc-96 of size 96 The buggy address is located 32 bytes inside of 96-byte region [ffff8880909de580, ffff8880909de5e0) The buggy address belongs to the page: page:ffffea0002427780 count:1 mapcount:0 mapping:ffff8880909de000 index:0x0 flags: 0x1fffc0000000100(slab) raw: 01fffc0000000100 ffff8880909de000 0000000000000000 0000000100000020 raw: ffffea00024c4b60 ffffea00023c22a0 ffff8880aa8004c0 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880909de480: 00 00 00 00 00 00 00 00 05 fc fc fc fc fc fc fc ffff8880909de500: 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc >ffff8880909de580: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ^ ffff8880909de600: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8880909de680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ==================================================================