From owner-freebsd-net@freebsd.org Sat May 26 13:20:10 2018 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 E40A6F75A31 for ; Sat, 26 May 2018 13:20:09 +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 77B7A6F59A for ; Sat, 26 May 2018 13:20:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 37D4AF75A30; Sat, 26 May 2018 13:20:09 +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 1563FF75A2F for ; Sat, 26 May 2018 13:20:09 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9CF296F595 for ; Sat, 26 May 2018 13:20:08 +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 DDE75235E7 for ; Sat, 26 May 2018 13:20:07 +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 w4QDK753010628 for ; Sat, 26 May 2018 13:20:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4QDK7Ki010627 for net@FreeBSD.org; Sat, 26 May 2018 13:20:07 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 228501] [VIMAGE JAIL] panic: negative refcount 0xfffff8002717643c (when stopping jail) Date: Sat, 26 May 2018 13:20:08 +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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marieheleneka@gmail.com 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.26 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, 26 May 2018 13:20:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228501 --- Comment #4 from Marie Helene Kvello-Aune --- Update: If I manually remove all IPv4 addresses so that only IPv6 addresses remain = (or even if I remove ::1 too, but leave fe80::1%lo0 there) before stopping the jail, I get a similar kernel panic as previously (see new attachment: panic_backtrace_ipv6.txt) I managed to crash the system spectacularly by removing all IP addresses be= fore stopping the jail: # jexec devsamba ifconfig lo0 inet6 ::1 -alias # jexec devsamba ifconfig lo0 inet6 fe80::1%lo0 -alias # jexec devsamba ifconfig lo0 -alias # service jail stop devsamba Fatal trap 9: general protection fault while in kernel mode cpuid =3D 7; apic id =3D 07 instruction pointer =3D 0x20:0xffffffff80ca2032 stack pointer =3D 0x0:0xfffffe0077b96770 frame pointer =3D 0x0:0xfffffe0077b96840 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 0 (thread taskq) ## This was printed in console, but not part of dump: [ thread pid 0 tid 100015 ] Stopped at rt_foreach_fib_walk_del+0x1c2: call *%eax I have the default FIB configuration (one fib, which is fib 0). =3D=3D=3D=3D=3D Summary; all actions taken inside the jail, followed by stopping the jail: * Manually remove all IPv4 addresses (but leaving IPv6 addresses): panic (negative ref count) * Manually remove all IP addresses: panic (general protection fault) * Just stopping the jail: panic (negative ref count) --=20 You are receiving this mail because: You are the assignee for the bug.=