From nobody Wed Jun 21 18:22:52 2023 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QmX186RRDz4fxFl for ; Wed, 21 Jun 2023 18:22:52 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QmX184Lkhz4MkV for ; Wed, 21 Jun 2023 18:22:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687371772; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eY3e+qBxWelN7nB6z502L0dUPfmQqSgjwKgJgJFkca0=; b=ca1/AL77h6Cwym9mu0RMqhMfW5LdP5+wgrWHHXeHw/TFQ64PvbQuGKLg9fB7/4yeYNy6bh 1k1LofM9G0GqGHz04LGDX+GiRmDsNscDq3uOnya+5Fs6SwUKdheb/CdWcZwgNPiQRRtSjO yasEMp/unh8USA+P3HDPZUb6T3yTP+jj3eWbKRJoYPaf7BoP0X0mAdkAHjnE9Uj7aQKEJx grrD7uOnAPkMTPCWOCbbTYaeBVWQShwO3g2ykflaj3x/ZMlDiL/G+iZmAjzSw8N7XPkZvI Fyf71YI0/c+58EhGrmqG+CcX2a9wi3XTLTzeXCY/tOmjASfDnmcpZNfVcEwhMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687371772; a=rsa-sha256; cv=none; b=QC9HU9iKRdbzhfjnYZ3UecBAaConwHleRoli6Po4mbrKboPrlw6rWODqa5fdGzmS5Osh3S jvch2gbGmsB7hKOySSJ72jaMleT0orKmmX2XgCb8Rekc9DPzoFarw3ovo+35b7iSRVSLH7 JCFnfWKb/q2TUVXgvhGJY6bZnSRYj0efRgC/r2CIMs9Qy4WngLk40FbknwFdIG2mC5FkxR cHKWEnBqoVM6p/a7OW4xctjS54gxEA/gZdE68yMjeoPdTykbx8V3EKJ/eI3WKvJezU4ssj gGVh9jfIrwIA4pzSmFiANSIt5Nm75j3bbWKwnxo+91d8KstNTkeuF5k6Jyohdw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QmX183FnRzrYS for ; Wed, 21 Jun 2023 18:22:52 +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 35LIMqqm040259 for ; Wed, 21 Jun 2023 18:22:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35LIMqdg040257 for net@FreeBSD.org; Wed, 21 Jun 2023 18:22:52 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 272089] FreeBSD -CURRENT panic: panic invalid slot (wg(4) related) Date: Wed, 21 Jun 2023 18:22:52 +0000 X-Bugzilla-Reason: CC 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: crash X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kevans@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kevans@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to 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 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272089 Kyle Evans changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org, | |jhb@FreeBSD.org, | |kevans@freebsd.org, | |net@FreeBSD.org Assignee|net@FreeBSD.org |kevans@freebsd.org --- Comment #1 from Kyle Evans --- >From the backtrace, it looks like MOD_LOAD is failing and so we MOD_UNLOAD = it, but it's only partially initialized and we aren't expecting that. I suspect= we should just drop all of the free stuff in wg_module_init() and let MOD_UNLO= AD deal with it, though in wg_module_deinit() we also need to avoid calling osd_jail_deregister() if wg_osd_jail_slot =3D=3D 0 (i.e. we didn't reach th= at far in initialization). --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=