From owner-freebsd-net@freebsd.org Mon Dec 31 14:44:43 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 6ADD91436C13 for ; Mon, 31 Dec 2018 14:44:43 +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 E051D6F089 for ; Mon, 31 Dec 2018 14:44:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9E7CA1436C0C; Mon, 31 Dec 2018 14:44:42 +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 7C1371436C0B for ; Mon, 31 Dec 2018 14:44:42 +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 17BD66F080 for ; Mon, 31 Dec 2018 14:44:42 +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 5F70119926 for ; Mon, 31 Dec 2018 14:44:41 +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 wBVEifu6060860 for ; Mon, 31 Dec 2018 14:44:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id wBVEifEP060859 for net@FreeBSD.org; Mon, 31 Dec 2018 14:44:41 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 233535] Machines lost ping6 after adding same IPv6 address Date: Mon, 31 Dec 2018 14:44:41 +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: hselasky@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: Mon, 31 Dec 2018 14:44:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233535 --- Comment #19 from Hans Petter Selasky --- Just before the panic above, the following functions were called. It turns = out there is a race that mld_fasttimo() can be called during in6_joingroup(). --HPS acquire_locked - post inc - 0xfffff802eb1f5800->in6m_refcount =3D 2 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe008da78= 410 in6_joingroup_locked() at in6_joingroup_locked+0x1b4/frame 0xfffffe008da784= a0 in6_joingroup() at in6_joingroup+0x44/frame 0xfffffe008da784d0 in6_update_ifa() at in6_update_ifa+0x1880/frame 0xfffffe008da78680 in6_control() at in6_control+0x9eb/frame 0xfffffe008da78760 ifioctl() at ifioctl+0x57b/frame 0xfffffe008da78830 kern_ioctl() at kern_ioctl+0x29b/frame 0xfffffe008da788a0 sys_ioctl() at sys_ioctl+0x15d/frame 0xfffffe008da78970 amd64_syscall() at amd64_syscall+0x272/frame 0xfffffe008da78ab0 fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe008da78ab0 --- syscall (54, FreeBSD ELF64, sys_ioctl), rip =3D 0x800fdd5ca, rsp =3D 0x7fffffffe248, rbp =3D 0x7fffffffe290 --- rele_locked - post dec - 0xfffff802eb1f5800->in6m_refcount =3D 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe000055a= 830 mld_fasttimo() at mld_fasttimo+0x8be/frame 0xfffffe000055a900 pffasttimo() at pffasttimo+0x54/frame 0xfffffe000055a930 softclock_call_cc() at softclock_call_cc+0x140/frame 0xfffffe000055a9e0 softclock() at softclock+0x7c/frame 0xfffffe000055aa10 ithread_loop() at ithread_loop+0x136/frame 0xfffffe000055aa70 fork_exit() at fork_exit+0x84/frame 0xfffffe000055aab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe000055aab0 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- panic: mld_change_state: bad ifp --=20 You are receiving this mail because: You are the assignee for the bug.=