From owner-freebsd-net@freebsd.org Sat Mar 30 13:43:14 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31D2F1550A98 for ; Sat, 30 Mar 2019 13:43:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BEF6388890 for ; Sat, 30 Mar 2019 13:43:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 82F821550A97; Sat, 30 Mar 2019 13:43:13 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 60B5E1550A94 for ; Sat, 30 Mar 2019 13:43:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EFFEA8888C for ; Sat, 30 Mar 2019 13:43:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 19B7B1CC23 for ; Sat, 30 Mar 2019 13:43:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x2UDhBRN085578 for ; Sat, 30 Mar 2019 13:43:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2UDhBGj085577 for net@FreeBSD.org; Sat, 30 Mar 2019 13:43:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 236853] panic: page fault on rtsock.c Date: Sat, 30 Mar 2019 13:43:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Mar 2019 13:43:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236853 --- Comment #3 from Andrey V. Elsukov --- Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0xdeadc0e6 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0x10554cb stack pointer =3D 0x28:0x13ef3ba0 frame pointer =3D 0x28:0x13ef3c04 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 12 (swi4: clock (0)) trap number =3D 12 panic: page fault cpuid =3D 0 time =3D 1553520118 KDB: stack backtrace: db_trace_self_wrapper(ccc1c1,1,ac27dc0,13ef39bc,b4dd91,...) at db_trace_self_wrapper+0x2a/frame 0x13ef3990 kdb_backtrace(e,0,0,13ef3b60,13ef3b60,...) at kdb_backtrace+0x2e/frame 0x13ef39f0 vpanic(1243776,13ef3a34,13ef3a34,13ef3a68,11ef956,...) at vpanic+0x121/frame 0x13ef3a14 panic(1243776,12b225a,2695000,0,deadc0e6,...) at panic+0x14/frame 0x13ef3a28 trap_fatal(15dc000,13ef3b60,13ef3a9c,e556d2,265dc000,...) at trap_fatal+0x356/frame 0x13ef3a68 trap_pfault(deadc0e6) at trap_pfault+0x35/frame 0x13ef3a9c trap(13ef3b60,8,28,28,ad9b400,...) at trap+0x3c0/frame 0x13ef3b54 calltrap() at 0xffc0316d/frame 0x13ef3b54 --- trap 0xc, eip =3D 0x10554cb, esp =3D 0x13ef3ba0, ebp =3D 0x13ef3c04 --- nd6_dad_timer(1d1fe980) at nd6_dad_timer+0x5b/frame 0x13ef3c04 softclock_call_cc(0) at softclock_call_cc+0x122/frame 0x13ef3c68 softclock(1868640) at softclock+0x6f/frame 0x13ef3c84 ithread_loop(adfbf20,13ef3ce8) at ithread_loop+0x156/frame 0x13ef3cb4 fork_exit(dfc5c0,adfbf20,13ef3ce8,0,0,...) at fork_exit+0x6c/frame 0x13ef3c= d4 fork_trampoline() at 0xffc033ca/frame 0x13ef3cd4 --- trap 0, eip =3D 0, esp =3D 0x13ef3d20, ebp =3D 0 --- (null)() at 0 This panic seems happens due to bad pointer dereference in: if (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) The difference between 0xdeadc0e6 and 0xdeadc0de is 8. So, for i386 it seem= s it corresponds to offsetof(struct in6_ifextra, nd_ifinfo). And #define ND_IFINFO(ifp) \ nd6_dad_stop(struct ifaddr *ifa)(((struct in6_ifextra *)(ifp)->if_afdata[AF_INET6])->nd_ifinfo) Can you show the content of *dp and *ifp for 8 frame for vmcore.4? I.e. (kgdb) f 8 p *dp p *ifp --=20 You are receiving this mail because: You are the assignee for the bug.=