bridge0: received packet on veth0_to_bridge with own address as source address (addr:d6:f5:c8:44:f6:6a, vlan:0) bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0) ================================================================== BUG: KASAN: slab-out-of-bounds in atomic_read include/asm-generic/atomic-instrumented.h:26 [inline] BUG: KASAN: slab-out-of-bounds in atomic_fetch_add_unless include/linux/atomic-fallback.h:1086 [inline] BUG: KASAN: slab-out-of-bounds in atomic_add_unless include/linux/atomic-fallback.h:1111 [inline] BUG: KASAN: slab-out-of-bounds in atomic_inc_not_zero include/linux/atomic-fallback.h:1127 [inline] BUG: KASAN: slab-out-of-bounds in dst_hold_safe include/net/dst.h:308 [inline] BUG: KASAN: slab-out-of-bounds in ip6_hold_safe+0xb3/0x3a0 net/ipv6/route.c:1023 Read of size 4 at addr ffff8880a160dca8 by task ksoftirqd/1/16 CPU: 1 PID: 16 Comm: ksoftirqd/1 Not tainted 5.1.0-rc2+ #145 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+0x172/0x1f0 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 check_memory_region_inline mm/kasan/generic.c:185 [inline] check_memory_region+0x123/0x190 mm/kasan/generic.c:191 kasan_check_read+0x11/0x20 mm/kasan/common.c:102 atomic_read include/asm-generic/atomic-instrumented.h:26 [inline] atomic_fetch_add_unless include/linux/atomic-fallback.h:1086 [inline] atomic_add_unless include/linux/atomic-fallback.h:1111 [inline] atomic_inc_not_zero include/linux/atomic-fallback.h:1127 [inline] dst_hold_safe include/net/dst.h:308 [inline] ip6_hold_safe+0xb3/0x3a0 net/ipv6/route.c:1023 rt6_get_pcpu_route net/ipv6/route.c:1245 [inline] ip6_pol_route+0x348/0x1040 net/ipv6/route.c:1906 ip6_pol_route_output+0x54/0x70 net/ipv6/route.c:2082 fib6_rule_lookup+0x128/0x560 net/ipv6/fib6_rules.c:118 ip6_route_output_flags+0x2c4/0x350 net/ipv6/route.c:2111 ip6_route_output include/net/ip6_route.h:88 [inline] ip6_dst_lookup_tail+0xd10/0x1b30 net/ipv6/ip6_output.c:964 ip6_dst_lookup_flow+0xa8/0x220 net/ipv6/ip6_output.c:1092 sctp_v6_get_dst+0x785/0x1d80 net/sctp/ipv6.c:293 sctp_transport_route+0x132/0x370 net/sctp/transport.c:312 sctp_assoc_add_peer+0x53e/0xfc0 net/sctp/associola.c:678 sctp_process_param net/sctp/sm_make_chunk.c:2548 [inline] sctp_process_init+0x249f/0x2b20 net/sctp/sm_make_chunk.c:2361 sctp_sf_do_5_1B_init+0x8ba/0xe50 net/sctp/sm_statefuns.c:416 sctp_do_sm+0x124/0x53e0 net/sctp/sm_sideeffect.c:1188 sctp_endpoint_bh_rcv+0x451/0x950 net/sctp/endpointola.c:458 sctp_inq_push+0x1ea/0x290 net/sctp/inqueue.c:95 sctp_rcv+0x2850/0x3600 net/sctp/input.c:271 sctp6_rcv+0x17/0x30 net/sctp/ipv6.c:1063 ip6_protocol_deliver_rcu+0x303/0x16c0 net/ipv6/ip6_input.c:394 ip6_input_finish+0x84/0x170 net/ipv6/ip6_input.c:434 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip6_input+0xe4/0x3f0 net/ipv6/ip6_input.c:443 dst_input include/net/dst.h:450 [inline] ip6_rcv_finish+0x1e7/0x320 net/ipv6/ip6_input.c:76 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ipv6_rcv+0x10e/0x420 net/ipv6/ip6_input.c:272 __netif_receive_skb_one_core+0x115/0x1a0 net/core/dev.c:4973 __netif_receive_skb+0x2c/0x1c0 net/core/dev.c:5085 process_backlog+0x206/0x750 net/core/dev.c:5925 napi_poll net/core/dev.c:6348 [inline] net_rx_action+0x4fa/0x1070 net/core/dev.c:6414 __do_softirq+0x266/0x95a kernel/softirq.c:293 run_ksoftirqd kernel/softirq.c:655 [inline] run_ksoftirqd+0x8e/0x110 kernel/softirq.c:647 smpboot_thread_fn+0x6ab/0xa10 kernel/smpboot.c:164 kthread+0x357/0x430 kernel/kthread.c:253 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Allocated by task 9: save_stack+0x45/0xd0 mm/kasan/common.c:75 set_track mm/kasan/common.c:87 [inline] __kasan_kmalloc mm/kasan/common.c:497 [inline] __kasan_kmalloc.constprop.0+0xcf/0xe0 mm/kasan/common.c:470 kasan_slab_alloc+0xf/0x20 mm/kasan/common.c:505 slab_post_alloc_hook mm/slab.h:436 [inline] slab_alloc mm/slab.c:3392 [inline] kmem_cache_alloc+0x11a/0x6f0 mm/slab.c:3554 dst_alloc+0x10e/0x200 net/core/dst.c:109 ip6_dst_alloc+0x34/0xa0 net/ipv6/route.c:355 ip6_rt_pcpu_alloc net/ipv6/route.c:1225 [inline] rt6_make_pcpu_route net/ipv6/route.c:1255 [inline] ip6_pol_route+0x743/0x1040 net/ipv6/route.c:1909 ip6_pol_route_output+0x54/0x70 net/ipv6/route.c:2082 fib6_rule_lookup+0x128/0x560 net/ipv6/fib6_rules.c:118 ip6_route_output_flags+0x2c4/0x350 net/ipv6/route.c:2111 ip6_route_output include/net/ip6_route.h:88 [inline] ip6_dst_lookup_tail+0xd10/0x1b30 net/ipv6/ip6_output.c:964 ip6_dst_lookup_flow+0xa8/0x220 net/ipv6/ip6_output.c:1092 sctp_v6_get_dst+0x785/0x1d80 net/sctp/ipv6.c:293 sctp_transport_route+0x132/0x370 net/sctp/transport.c:312 sctp_assoc_add_peer+0x53e/0xfc0 net/sctp/associola.c:678 sctp_process_param net/sctp/sm_make_chunk.c:2548 [inline] sctp_process_init+0x249f/0x2b20 net/sctp/sm_make_chunk.c:2361 sctp_sf_do_5_1B_init+0x8ba/0xe50 net/sctp/sm_statefuns.c:416 sctp_do_sm+0x124/0x53e0 net/sctp/sm_sideeffect.c:1188 sctp_endpoint_bh_rcv+0x451/0x950 net/sctp/endpointola.c:458 sctp_inq_push+0x1ea/0x290 net/sctp/inqueue.c:95 sctp_rcv+0x2850/0x3600 net/sctp/input.c:271 sctp6_rcv+0x17/0x30 net/sctp/ipv6.c:1063 ip6_protocol_deliver_rcu+0x303/0x16c0 net/ipv6/ip6_input.c:394 ip6_input_finish+0x84/0x170 net/ipv6/ip6_input.c:434 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip6_input+0xe4/0x3f0 net/ipv6/ip6_input.c:443 dst_input include/net/dst.h:450 [inline] ip6_rcv_finish+0x1e7/0x320 net/ipv6/ip6_input.c:76 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ipv6_rcv+0x10e/0x420 net/ipv6/ip6_input.c:272 __netif_receive_skb_one_core+0x115/0x1a0 net/core/dev.c:4973 __netif_receive_skb+0x2c/0x1c0 net/core/dev.c:5085 process_backlog+0x206/0x750 net/core/dev.c:5925 napi_poll net/core/dev.c:6348 [inline] net_rx_action+0x4fa/0x1070 net/core/dev.c:6414 __do_softirq+0x266/0x95a kernel/softirq.c:293 Freed by task 16: save_stack+0x45/0xd0 mm/kasan/common.c:75 set_track mm/kasan/common.c:87 [inline] __kasan_slab_free+0x102/0x150 mm/kasan/common.c:459 kasan_slab_free+0xe/0x10 mm/kasan/common.c:467 __cache_free mm/slab.c:3498 [inline] kmem_cache_free+0x86/0x260 mm/slab.c:3764 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:227 [inline] rcu_do_batch kernel/rcu/tree.c:2475 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2788 [inline] rcu_core+0x928/0x1390 kernel/rcu/tree.c:2769 __do_softirq+0x266/0x95a kernel/softirq.c:293 The buggy address belongs to the object at ffff8880a160db80 which belongs to the cache ip6_dst_cache of size 224 The buggy address is located 72 bytes to the right of 224-byte region [ffff8880a160db80, ffff8880a160dc60) The buggy address belongs to the page: page:ffffea0002858340 count:1 mapcount:0 mapping:ffff888216ac5380 index:0xffff8880a160da40 flags: 0x1fffc0000000200(slab) raw: 01fffc0000000200 ffffea0002549d08 ffffea0002479a08 ffff888216ac5380 raw: ffff8880a160da40 ffff8880a160d040 000000010000000a 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a160db80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880a160dc00: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc >ffff8880a160dc80: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 ^ ffff8880a160dd00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880a160dd80: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================