From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: oops with ip6_rt_cache_alloc Date: Fri, 24 Aug 2018 17:04:28 -0600 Message-ID: <2314c9c2-27ab-c470-5e8a-4e28e53810b2@gmail.com> References: <5d3d7d56-ce9f-79c3-04ec-122a2451b580@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Yonghong Song , netdev , Alexei Starovoitov , Martin Lau , Dave Jones Return-path: Received: from mail-pf1-f195.google.com ([209.85.210.195]:45064 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeHYClL (ORCPT ); Fri, 24 Aug 2018 22:41:11 -0400 Received: by mail-pf1-f195.google.com with SMTP id i26-v6so5164097pfo.12 for ; Fri, 24 Aug 2018 16:04:31 -0700 (PDT) In-Reply-To: <5d3d7d56-ce9f-79c3-04ec-122a2451b580@fb.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 8/24/18 4:26 PM, Yonghong Song wrote: > Hi, > > We got a kernel oops with the following stack trace: > > CPU: 24 PID: 0 Comm: swapper/24 Not tainted > 4.16.0-10_fbk1_1183_g7e4ee4c8171c #10 > "Hardware name: Quanta Leopard-DDR3/Leopard-DDR3, BIOS F06_3A16.DDR3 > 11/19/2015" > RIP: 0010:ip6_rt_get_dev_rcu+0x6/0x60 > RSP: 0018:ffff88046fb03c78 EFLAGS: 00010286 > RAX: 0000000040000003 RBX: ffff88035a6c1500 RCX: ffffffff81ec5dc0 > RDX: ffff88033192a090 RSI: ffff88033192a0a0 RDI: 0000000000000000 RDI = 0 means the rt passed to ip6_rt_get_dev_rcu is NULL. I believe that can't happen prior to the fib6_info changes. After the fib6_info changes, it means the 'from' is NULL and that is not expected. ... > Our internal experiments showed that an early version of 4.16 works fine > and after backporting some ipv6 route related changes and the above > problem showed up. Can you run the test on 4.18?