chnl_net:caif_netlink_parms(): no params data found IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready team0: Port device team_slave_1 added ================================================================== IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready BUG: KASAN: use-after-free in pppol2tp_session_close+0xcd/0xe0 net/l2tp/l2tp_ppp.c:436 Read of size 8 at addr ffff8880a8493a20 by task kworker/u4:7/19073 CPU: 1 PID: 19073 Comm: kworker/u4:7 Not tainted 4.14.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: l2tp l2tp_tunnel_del_work Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x142/0x197 lib/dump_stack.c:58 IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready print_address_description.cold+0x7c/0x1dc mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0xa9/0x2af mm/kasan/report.c:393 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:430 pppol2tp_session_close+0xcd/0xe0 net/l2tp/l2tp_ppp.c:436 l2tp_tunnel_closeall+0x243/0x380 net/l2tp/l2tp_core.c:1340 8021q: adding VLAN 0 to HW filter on device team0 l2tp_tunnel_del_work+0x64/0x410 net/l2tp/l2tp_core.c:1380 process_one_work+0x863/0x1600 kernel/workqueue.c:2114 worker_thread+0x5d9/0x1050 kernel/workqueue.c:2248 IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready kthread+0x319/0x430 kernel/kthread.c:232 IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Allocated by task 25080: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 save_stack+0x45/0xd0 mm/kasan/kasan.c:447 set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc mm/kasan/kasan.c:551 [inline] kasan_kmalloc+0xce/0xf0 mm/kasan/kasan.c:529 __do_kmalloc_node mm/slab.c:3682 [inline] __kmalloc_node_track_caller+0x51/0x80 mm/slab.c:3696 IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready __kmalloc_reserve.isra.0+0x40/0xe0 net/core/skbuff.c:137 8021q: adding VLAN 0 to HW filter on device batadv0 __alloc_skb+0xcf/0x500 net/core/skbuff.c:205 IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready alloc_skb include/linux/skbuff.h:980 [inline] nlmsg_new include/net/netlink.h:511 [inline] rtmsg_ifinfo_build_skb+0x72/0x140 net/core/rtnetlink.c:2899 rtmsg_ifinfo_event.part.0+0x35/0xc0 net/core/rtnetlink.c:2933 rtmsg_ifinfo_event net/core/rtnetlink.c:2942 [inline] rtmsg_ifinfo+0x6f/0x90 net/core/rtnetlink.c:2941 __dev_notify_flags+0x1c9/0x240 net/core/dev.c:6830 rtnl_configure_link+0x14b/0x210 net/core/rtnetlink.c:2430 rtnl_newlink+0xee7/0x1700 net/core/rtnetlink.c:2738 rtnetlink_rcv_msg+0x3da/0xb70 net/core/rtnetlink.c:4306 netlink_rcv_skb+0x14f/0x3c0 net/netlink/af_netlink.c:2432 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:4318 IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline] netlink_unicast+0x44d/0x650 net/netlink/af_netlink.c:1312 IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready netlink_sendmsg+0x7c4/0xc60 net/netlink/af_netlink.c:1877 IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xce/0x110 net/socket.c:656 SYSC_sendto+0x206/0x310 net/socket.c:1763 device veth0_vlan entered promiscuous mode SyS_sendto+0x40/0x50 net/socket.c:1731 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 device veth1_vlan entered promiscuous mode entry_SYSCALL_64_after_hwframe+0x42/0xb7 Freed by task 25080: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 save_stack+0x45/0xd0 mm/kasan/kasan.c:447 set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0x75/0xc0 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kfree+0xcc/0x270 mm/slab.c:3815 skb_free_head+0x8b/0xb0 net/core/skbuff.c:554 IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready pskb_expand_head+0x4a4/0xc10 net/core/skbuff.c:1495 netlink_trim+0x1c1/0x230 net/netlink/af_netlink.c:1268 netlink_broadcast_filtered+0x5c/0x9e0 net/netlink/af_netlink.c:1465 netlink_broadcast net/netlink/af_netlink.c:1510 [inline] nlmsg_multicast include/net/netlink.h:591 [inline] nlmsg_notify+0x140/0x180 net/netlink/af_netlink.c:2475 rtnl_notify net/core/rtnetlink.c:653 [inline] rtmsg_ifinfo_send net/core/rtnetlink.c:2921 [inline] rtmsg_ifinfo_event.part.0+0xa1/0xc0 net/core/rtnetlink.c:2935 rtmsg_ifinfo_event net/core/rtnetlink.c:2942 [inline] rtmsg_ifinfo+0x6f/0x90 net/core/rtnetlink.c:2941 __dev_notify_flags+0x1c9/0x240 net/core/dev.c:6830 rtnl_configure_link+0x14b/0x210 net/core/rtnetlink.c:2430 rtnl_newlink+0xee7/0x1700 net/core/rtnetlink.c:2738 rtnetlink_rcv_msg+0x3da/0xb70 net/core/rtnetlink.c:4306 netlink_rcv_skb+0x14f/0x3c0 net/netlink/af_netlink.c:2432 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:4318 netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline] netlink_unicast+0x44d/0x650 net/netlink/af_netlink.c:1312 netlink_sendmsg+0x7c4/0xc60 net/netlink/af_netlink.c:1877 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xce/0x110 net/socket.c:656 IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready SYSC_sendto+0x206/0x310 net/socket.c:1763 SyS_sendto+0x40/0x50 net/socket.c:1731 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 The buggy address belongs to the object at ffff8880a8492bc0 which belongs to the cache kmalloc-4096 of size 4096 The buggy address is located 3680 bytes inside of 4096-byte region [ffff8880a8492bc0, ffff8880a8493bc0) The buggy address belongs to the page: page:ffffea0002a12480 count:1 mapcount:0 mapping:ffff8880a8492bc0 index:0x0 compound_mapcount: 0 flags: 0xfffe0000008100(slab|head) raw: 00fffe0000008100 ffff8880a8492bc0 0000000000000000 0000000100000001 raw: ffffea0002a12420 ffffea0002a12520 ffff8880aa800dc0 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a8493900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880a8493980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff8880a8493a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8880a8493a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880a8493b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================