From nobody Fri Apr 10 12:27:21 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 4fsbfK3vR6z6YdXZ for ; Fri, 10 Apr 2026 12:27:21 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fsbfK3FNLz3KB7 for ; Fri, 10 Apr 2026 12:27:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775824041; 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=RSuIeFC8ent0hPOZjdRmX1mwOMg/Zvydt1o7nE2Mwlk=; b=Dbs9aaBO+TzdFhTFEwWz3Sc14YqpqpmpZyoHr8hh/tcwGSuxIHhg+4uVRo7LK8n91RxzpC IvjsZQmvmgccjkMJbvg6DjUMoWL1yF+257uxhw1pheMnoT4vG1Rjm7NSepSFjX7MO5YsT/ 4/teNKy5yXaMNLhFtJBLE/6YTe7RfKl1Ja1NbQ6NlfeKip3Zq7WzR7rX9cnQ3nGANVB8S0 tOYuEFrEqbjVhTnrMYCXKfpxc8/4uJBZ3zJY9us8ZZoS+JfcA5KO1JEPnLd4gBqtbTohK1 8bUq0N2XHGI49rYIXhZ7uARU72SGBBuXbezIRk71a6JCU+rzH8iDP64lzfMkBw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1775824041; a=rsa-sha256; cv=none; b=X5aBoLcAnGU8CSqd111/2RKoJPY542Pg7o//8u5+DKTj4QOP+hg3y2hfXXLzNVsPZCmrzg WlVs+/6JOn2NBVylbJIHEDoE9Kny8ZkPYdJdX+BAUtoqpzJxqq6quOxcE5Cdg9rhf/ldsF c5hTjRWe0DagH8dpuk0ffyjZV3rmTvaPP23LOv8hAzJvtmOiR4n7ei6jTpKsj4PX3+hJMR emg1gjN68UesFM/NqlP+Cqj96MGV3e/L1oxzUyn09RFkHkfiAR4j7vr6pzBV4M+uFX5+ny cx53NZnwmFQoHdTqcdeHMQrYwv+jqWGoazDZgHUu673XYtdRIV29rHGcN94EVA== 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=1775824041; 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=RSuIeFC8ent0hPOZjdRmX1mwOMg/Zvydt1o7nE2Mwlk=; b=uVPvQGuTKtTbuM4genP+Eolw4DpIZMbmIpXNkcgdGb5u5LMZaLNHJUI2LpvWwCZSdUKbKd lysWMPkoQNdBCaA/JftYA1Slet1jq0RRASZ0maT37OaQiJc9rhJnnSYzMBtJeObP6B0eWO L295+GJAK13KO+yHzOWHL6mdtyWEqkCrnZGHuZIoFA9zmG8025Q95FB6Ev4coGPJdbhiIK fmMWYhcBND09dNPIdu/dinZXp6jeLBLE+E15yvRS/I7aLPDuzX1SElm08dh1lB4mJP+UXJ SfM/w11aBceDAeb/e9oqNaBSGsRZ6IOhm9I9hiinOSWjb1VsuVl/c0/xPGmQNg== 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 4fsbfK2V5vzkYZ for ; Fri, 10 Apr 2026 12:27:21 +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 63ACRLK8056313 for ; Fri, 10 Apr 2026 12:27:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 63ACRL4B056312 for bugs@FreeBSD.org; Fri, 10 Apr 2026 12:27:21 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 293382] Dead lock and kernel crash around closefp_impl Date: Fri, 10 Apr 2026 12:27:21 +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: 14.3-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kevans@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=3D293382 --- Comment #56 from Kyle Evans --- (In reply to Konstantin Belousov from comment #55) Their investigation is still ongoing and they haven't proven that it's erms yet, but here are their observations: At https://cgit.freebsd.org/src/tree/sys/kern/kern_descrip.c#n2028 in fdgrowtable() ntable is allocated and ntable->fdt_nfiles is assigned. Befo= re the memcpy, fdt_nfiles can be observed to be the correct value. A sample = from their latest known panic was 7133184 bytes, and they note that the destinat= ion is never page unaligned (0xfffffe0423607008 in this last one) as a maybe-relevant fact for their case. Immediately after the memcpy into ntable->fdt_ofiles, the start of `ntable` appears to be damaged -- fdt_nfiles is suddenly zeroed out, and in this last sample the damage was to the tune of ~2 pages at the beginning zeroed out as well. They noted that a significant number of entries at the end of the old table were zeroed out, so it may be the case that the damage is actually th= ose overwriting the beginning. --=20 You are receiving this mail because: You are the assignee for the bug.=