device hsr_slave_0 left promiscuous mode team0 (unregistering): Port device team_slave_1 removed team0 (unregistering): Port device team_slave_0 removed bond0 (unregistering): Releasing backup interface bond_slave_1 bond0 (unregistering): Releasing backup interface bond_slave_0 bond0 (unregistering): Released all slaves ================================================================== BUG: KASAN: slab-out-of-bounds in inet_ctl_sock_destroy include/net/inet_common.h:56 [inline] BUG: KASAN: slab-out-of-bounds in icmp_sk_exit+0x1ce/0x1f0 net/ipv4/icmp.c:1188 Read of size 8 at addr ffff8880957b0974 by task kworker/u4:1/21 CPU: 1 PID: 21 Comm: kworker/u4:1 Not tainted 5.2.0-rc2+ #10 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 print_address_description.cold+0x7c/0x20d mm/kasan/report.c:188 __kasan_report.cold+0x1b/0x40 mm/kasan/report.c:317 kasan_report+0x12/0x20 mm/kasan/common.c:614 __asan_report_load8_noabort+0x14/0x20 mm/kasan/generic_report.c:132 inet_ctl_sock_destroy include/net/inet_common.h:56 [inline] icmp_sk_exit+0x1ce/0x1f0 net/ipv4/icmp.c:1188 ops_exit_list.isra.0+0xaa/0x150 net/core/net_namespace.c:154 cleanup_net+0x3fb/0x960 net/core/net_namespace.c:553 process_one_work+0x989/0x1790 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x354/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Allocated by task 21820: save_stack+0x23/0x90 mm/kasan/common.c:71 set_track mm/kasan/common.c:79 [inline] __kasan_kmalloc mm/kasan/common.c:489 [inline] __kasan_kmalloc.constprop.0+0xcf/0xe0 mm/kasan/common.c:462 kasan_kmalloc+0x9/0x10 mm/kasan/common.c:503 kmem_cache_alloc_trace+0x151/0x750 mm/slab.c:3555 kmalloc include/linux/slab.h:547 [inline] kzalloc include/linux/slab.h:742 [inline] kernfs_iop_get_link fs/kernfs/symlink.c:136 [inline] kernfs_iop_get_link+0x6a/0x680 fs/kernfs/symlink.c:127 vfs_readlink+0x201/0x3e0 fs/namei.c:4734 do_readlinkat+0x2ab/0x320 fs/stat.c:411 __do_sys_readlink fs/stat.c:432 [inline] __se_sys_readlink fs/stat.c:429 [inline] __x64_sys_readlink+0x78/0xb0 fs/stat.c:429 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 21820: save_stack+0x23/0x90 mm/kasan/common.c:71 set_track mm/kasan/common.c:79 [inline] __kasan_slab_free+0x102/0x150 mm/kasan/common.c:451 kasan_slab_free+0xe/0x10 mm/kasan/common.c:459 __cache_free mm/slab.c:3432 [inline] kfree+0xcf/0x220 mm/slab.c:3755 kfree_link+0x16/0x20 fs/libfs.c:1108 do_delayed_call include/linux/delayed_call.h:28 [inline] vfs_readlink+0x16e/0x3e0 fs/namei.c:4739 do_readlinkat+0x2ab/0x320 fs/stat.c:411 __do_sys_readlink fs/stat.c:432 [inline] __se_sys_readlink fs/stat.c:429 [inline] __x64_sys_readlink+0x78/0xb0 fs/stat.c:429 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe The buggy address belongs to the object at ffff8880957b0cc0 which belongs to the cache kmalloc-4k of size 4096 The buggy address is located 844 bytes to the left of 4096-byte region [ffff8880957b0cc0, ffff8880957b1cc0) The buggy address belongs to the page: page:ffffea000255ec00 refcount:1 mapcount:0 mapping:ffff8880aa400dc0 index:0x0 compound_mapcount: 0 flags: 0x1fffc0000010200(slab|head) raw: 01fffc0000010200 ffffea0002125388 ffffea000188fe88 ffff8880aa400dc0 raw: 0000000000000000 ffff8880957b0cc0 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880957b0800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880957b0880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880957b0900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8880957b0980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880957b0a00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================