From nobody Wed Feb 4 00:07:31 2026 X-Original-To: bugs@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 4f5LJg5Q8cz6QwwL for ; Wed, 04 Feb 2026 00:07:31 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f5LJg4zLnz3DfN for ; Wed, 04 Feb 2026 00:07:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770163651; 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=ocpnK4yUdOVWWGxq/svQvRF9kKwJGSYT0OPzoX8Z0gg=; b=YXpfQnxBUuJam2ne21cCHIABN+Wnl84rJpbzDyYydVi8Of4PrDBLPlCbhhW+2ehwnm9E4a OBlLWPqWcagMNHOFkjKvivmEDbu6TFrcJjqD75l1klDCieSBkrgxFfCVYnC+ZaHtJ29KP1 wBtrLb4iB/levodSR7q1WukwnYi7oyaZTW8icoifSVUXx2AmwttzlWtP0NYPn+D7tyqwav +so5V5GUq0QK5lJW4qoZdbHcGtYZXJukOXZ03CMkTEyl7bSPWm6hLKeK8GR/EpGDScfAkB FOJRqsV35OGFxvboRP/qE4sehql3ZxAWOWfi5UrfaQZnj5HtQiEtqlCrG6btlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770163651; a=rsa-sha256; cv=none; b=aG6ZkbUVw3bvEt9J+TQ4Hx2zjuRPx199ytJmZhvXdQE/OOHp3RSrwVoAQGl9CJ6El2HHan bvTqHV6RZZGZHVTz7pYnBzvQuwtwib4PPk/YvVsMeaHMdBrM9SlMvKQn/9i0pLs0u39RMZ +tfUpewdCeexn/S3L1GOv1UWHM+rwd1I5jErrr5HC4BTzO5WzMBiaYs2CnPSLqcROKwcyU gA8lkzrEiCaoR+QmjyLDsv9P1aSUdUVvs38wIn+hrKWhLq2VnEfWk97GRoshGzDyU89wUG uuQ8zYorY8UsQPP0HPy6qfryO2SDlZ/aE4lLiKZzkR4D4oYyr8vnFGM0tsfJWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770163651; 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=ocpnK4yUdOVWWGxq/svQvRF9kKwJGSYT0OPzoX8Z0gg=; b=ATLKw9JjhU3Plf6FGTaYCk6BNn7YFtZk8d6A6Z+vkYb7xlyISOEa0wMbZhFKUdj5NMR34s CDdqIS062kaK09ZE4HBMi9tsJ8KEORWpkGPKwBpHhPVNyv0Bz0RapO6Z+VHH/T0139k8fk g3X6n4aO1IgNfGZPkP+0bdjUBV9h5DD9Q2E10876LoKJ8KW9xBhVrkld61AO5326uJCZXF MfoBExp91fC/TmjC3joDwc3wtyjv2eoKNu60uol94pdQ5dOBIaSYsqw7lQzMWvoRKnfe6+ HmivXiWm0CJyjTUCT4R+4n4zgdJGPzvEbS2zckeJMQE8oq6o+ktHl5laxzylZA== 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 4f5LJg4YbhzcGl for ; Wed, 04 Feb 2026 00:07:31 +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 61407V2n030599 for ; Wed, 4 Feb 2026 00:07:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 61407VD8030598 for bugs@FreeBSD.org; Wed, 4 Feb 2026 00:07:31 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 292884] nfsd causes kernel panic Date: Wed, 04 Feb 2026 00:07:31 +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: 15.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292884 --- Comment #11 from Rick Macklem --- (In reply to Mark Johnston from comment #10) Actually, I don't have a patch. When I first saw this, I thought that the xprt refcnt had somehow gone to 0 and I was going to add a SVC_ACQUIRE()/SVC_RELEASE(). But, as we now see, that is not the problem. There is also the weirdness that it crashes in svc_dg_recv() { "dg" refers to datagram or UDP if you prefer }. However, it seems that the socket would have been a TCP one, since that is what his mounts are? It definitely is a puzzle and something is getting confused. This code hasn't changed in at least a decade, so?? Is the OpenBSD client doing something really weird, like closing the socket and then sending an RPC on it or somehow his configuration of bhyve instances/bridges somehow confusing the TCP stack and resulting in a socket getting socose()'d by something else. --> And then, how did svc_vc_recv() get replaced by svc_dg_recv(). I'm pretty sure the svc_vc.c code only does soclose() once the xprt refcnt goes to 0, but I cannot be absolutely sure that can never happen prematurely, although I've never seen a crash like this before. Maybe I will generate the SVC_ACQUIRE()/SVC_RELEASE() patch wrapped around SVC_RECV(), so he can try it. --=20 You are receiving this mail because: You are the assignee for the bug.=