Enabling of bearer rejected, already enabled IPVS: ftp: loaded support on port[0] = 21 ================================================================== BUG: KASAN: slab-out-of-bounds in dst_dev_put+0x219/0x290 net/core/dst.c:172 Read of size 8 at addr ffff888069bf5cd3 by task ksoftirqd/1/16 CPU: 1 PID: 16 Comm: ksoftirqd/1 Not tainted 5.0.0-rc2+ #14 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1db/0x2d0 lib/dump_stack.c:113 print_address_description.cold+0x7c/0x20d mm/kasan/report.c:187 kasan_report.cold+0x1b/0x40 mm/kasan/report.c:317 __asan_report_load8_noabort+0x14/0x20 mm/kasan/generic_report.c:135 dst_dev_put+0x219/0x290 net/core/dst.c:172 rt_fibinfo_free_cpus net/ipv4/fib_semantics.c:200 [inline] free_fib_info_rcu+0x2f4/0x4a0 net/ipv4/fib_semantics.c:217 __rcu_reclaim kernel/rcu/rcu.h:240 [inline] rcu_do_batch kernel/rcu/tree.c:2452 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2773 [inline] rcu_process_callbacks+0xc4a/0x1680 kernel/rcu/tree.c:2754 __do_softirq+0x30b/0xb11 kernel/softirq.c:292 run_ksoftirqd kernel/softirq.c:654 [inline] run_ksoftirqd+0x8e/0x110 kernel/softirq.c:646 smpboot_thread_fn+0x6ab/0xa10 kernel/smpboot.c:164 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Allocated by task 1933: save_stack+0x45/0xd0 mm/kasan/common.c:73 set_track mm/kasan/common.c:85 [inline] __kasan_kmalloc mm/kasan/common.c:496 [inline] __kasan_kmalloc.constprop.0+0xcf/0xe0 mm/kasan/common.c:469 kasan_kmalloc mm/kasan/common.c:504 [inline] kasan_slab_alloc+0xf/0x20 mm/kasan/common.c:411 kmem_cache_alloc+0x12d/0x710 mm/slab.c:3543 dst_alloc+0x10e/0x200 net/core/dst.c:109 rt_dst_alloc+0xf6/0x510 net/ipv4/route.c:1566 __mkroute_output net/ipv4/route.c:2265 [inline] ip_route_output_key_hash_rcu+0xa32/0x3470 net/ipv4/route.c:2492 ip_route_output_key_hash+0x25d/0x400 net/ipv4/route.c:2321 __ip_route_output_key include/net/route.h:124 [inline] ip_route_output_flow+0x28/0xc0 net/ipv4/route.c:2576 ip_route_connect include/net/route.h:309 [inline] tcp_v4_connect+0x8a3/0x1da0 net/ipv4/tcp_ipv4.c:233 __inet_stream_connect+0x9a3/0x11b0 net/ipv4/af_inet.c:655 tcp_sendmsg_fastopen net/ipv4/tcp.c:1161 [inline] tcp_sendmsg_locked+0x28d5/0x3e80 net/ipv4/tcp.c:1208 tcp_sendmsg+0x30/0x50 net/ipv4/tcp.c:1443 inet_sendmsg+0x1af/0x740 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg+0xdd/0x130 net/socket.c:631 __sys_sendto+0x387/0x5f0 net/socket.c:1788 __do_sys_sendto net/socket.c:1800 [inline] __se_sys_sendto net/socket.c:1796 [inline] __x64_sys_sendto+0xe1/0x1a0 net/socket.c:1796 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 9: 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:458 kasan_slab_free+0xe/0x10 mm/kasan/common.c:466 __cache_free mm/slab.c:3487 [inline] kmem_cache_free+0x86/0x260 mm/slab.c:3749 dst_destroy+0x2a0/0x3c0 net/core/dst.c:145 dst_destroy_rcu+0x16/0x19 net/core/dst.c:158 __rcu_reclaim kernel/rcu/rcu.h:240 [inline] rcu_do_batch kernel/rcu/tree.c:2452 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2773 [inline] rcu_process_callbacks+0xc4a/0x1680 kernel/rcu/tree.c:2754 __do_softirq+0x30b/0xb11 kernel/softirq.c:292 The buggy address belongs to the object at ffff888069bf5c00 which belongs to the cache ip_dst_cache of size 160 The buggy address is located 51 bytes to the right of 160-byte region [ffff888069bf5c00, ffff888069bf5ca0) The buggy address belongs to the page: page:ffffea0001a6fd40 count:1 mapcount:0 mapping:ffff88821af8c1c0 index:0x0 flags: 0x1fffc0000000200(slab) raw: 01fffc0000000200 ffff8880a660c548 ffffea00024cc9c8 ffff88821af8c1c0 raw: 0000000000000000 ffff888069bf5000 0000000100000010 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888069bf5b80: fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc ffff888069bf5c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888069bf5c80: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888069bf5d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888069bf5d80: fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================