From owner-freebsd-bugs@freebsd.org Tue Aug 20 02:49:55 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 10B9AC1C50 for ; Tue, 20 Aug 2019 02:49:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46CFdG6nN3z3Hgb for ; Tue, 20 Aug 2019 02:49:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E8D0BC1C4E; Tue, 20 Aug 2019 02:49:54 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E8942C1C4B for ; Tue, 20 Aug 2019 02:49:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::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.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46CFdG5nKqz3HgZ for ; Tue, 20 Aug 2019 02:49:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A96FC2465C for ; Tue, 20 Aug 2019 02:49:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x7K2nsZF013372 for ; Tue, 20 Aug 2019 02:49:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x7K2ns2U013371 for bugs@FreeBSD.org; Tue, 20 Aug 2019 02:49:54 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: bugs@FreeBSD.org Subject: [Bug 239982] IPv6 netwrok stack panics since upgrading to 11.3 Date: Tue, 20 Aug 2019 02:49:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: j.david.lists@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Aug 2019 02:49:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239982 Bug ID: 239982 Summary: IPv6 netwrok stack panics since upgrading to 11.3 Product: Base System Version: 11.3-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: j.david.lists@gmail.com Since upgrading from 11.2 to 11.3 (currently 11.3-RELEASE-p2), we are seeing panics in in6_setscope() on a regular basis. The machine in question is a PF firewall handling IPv4 & IPv6, and it appea= rs to be triggered by an incoming IPv6 fragment. It's entirely possible that = the fragment has been maliciously crafted to produce this effect. The stack trace (always the same) is: Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 02 fault virtual address =3D 0x5c fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80d6851c stack pointer =3D 0x28:0xfffffe044ebf80a0 frame pointer =3D 0x28:0xfffffe044ebf80d0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 12 (irq265: ix0:q1) trap number =3D 12 panic: page fault cpuid =3D 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe044ebf7= d50 vpanic() at vpanic+0x17e/frame 0xfffffe044ebf7db0 panic() at panic+0x43/frame 0xfffffe044ebf7e10 trap_fatal() at trap_fatal+0x369/frame 0xfffffe044ebf7e60 trap_pfault() at trap_pfault+0x49/frame 0xfffffe044ebf7ec0 trap() at trap+0x29d/frame 0xfffffe044ebf7fd0 calltrap() at calltrap+0x8/frame 0xfffffe044ebf7fd0 --- trap 0xc, rip =3D 0xffffffff80d6851c, rsp =3D 0xfffffe044ebf80a0, rbp = =3D 0xfffffe044ebf80d0 --- in6_setscope() at in6_setscope+0x9c/frame 0xfffffe044ebf80d0 ip6_forward() at ip6_forward+0x30b/frame 0xfffffe044ebf8220 pf_refragment6() at pf_refragment6+0x177/frame 0xfffffe044ebf82e0 pf_test6() at pf_test6+0xca2/frame 0xfffffe044ebf8470 pf_check6_out() at pf_check6_out+0x1d/frame 0xfffffe044ebf8490 pfil_run_hooks() at pfil_run_hooks+0x87/frame 0xfffffe044ebf8520 ip6_forward() at ip6_forward+0x405/frame 0xfffffe044ebf8670 ip6_input() at ip6_input+0xc69/frame 0xfffffe044ebf8760 netisr_dispatch_src() at netisr_dispatch_src+0xa2/frame 0xfffffe044ebf87b0 ether_demux() at ether_demux+0x129/frame 0xfffffe044ebf87e0 ether_nh_input() at ether_nh_input+0x337/frame 0xfffffe044ebf8840 netisr_dispatch_src() at netisr_dispatch_src+0xa2/frame 0xfffffe044ebf8890 ether_input() at ether_input+0x26/frame 0xfffffe044ebf88b0 ixgbe_rxeof() at ixgbe_rxeof+0x830/frame 0xfffffe044ebf8980 ixgbe_msix_que() at ixgbe_msix_que+0x99/frame 0xfffffe044ebf89e0 intr_event_execute_handlers() at intr_event_execute_handlers+0xe9/frame 0xfffffe044ebf8a20 ithread_loop() at ithread_loop+0xe7/frame 0xfffffe044ebf8a70 fork_exit() at fork_exit+0x83/frame 0xfffffe044ebf8ab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe044ebf8ab0 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- This machine is in a CARP setup with an 11.2 machine, so we can confirm the problem appears specific to 11.3; the 11.3 machine is the primary master so= it will crash, the 11.2 machine will take over, the 11.3 boots back up (which takes 6-8 minutes) and takes back over, then frequently crashes again withi= n a minute or so. --=20 You are receiving this mail because: You are the assignee for the bug.=