From nobody Tue Jan 10 11:34:15 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 4NrpcS2jtPz2pFqN for ; Tue, 10 Jan 2023 11:34:16 +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 4NrpcS1V8Sz3LF0 for ; Tue, 10 Jan 2023 11:34:16 +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=1673350456; 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=INIS8PBqd0UscZXVqKgWKbaaFYLz3KCTjhYZXWDXGf0=; b=CUCX0YP165nedq0vvlGzzs4bQCoWway+FLCdz+LEtVMpkiGSmlquLrp6bJ/FT5lYLQu9ij DmljzC0FsPOAcEVrYJdQ3TL74jviP/Mvk9J3Zk2GkFSoggy2fohxgGm3ob2koQqU9JKSFA CaSDYN3uN0K0QgXIJdk2vQU12bQVflGKr+4uJWTFb/wPe7PuZJgN7FFZV05gH6Xfdao0M5 uTnwsAh3FyWqqcBI9Hp1amHZ/MoAk4Utr+hmYhSm43e+UXMa/+pkQzUkWTGnafcHhofE4O quunH6OyilU+nm44vFYgk8xRycmsyjYID2zxXVkFlj/qphNyJwyigBVtRX/rYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673350456; a=rsa-sha256; cv=none; b=u6ZlGNPdV4fWcocNDgGYZpmvBa+7i7vTV5ixGrq7DmErj/AQZfWmUgaCortXLNf71gDAvl egClYq0tR6xOIb6jVfeKDne4sjkSLN2tHwgoqH3pEzqP+sAAXrwbMLt8dOZDmHGgXfOm/H HBELQbWUn/hKj61EljL202XaEj2L2nB7mfK8iBqqvRtgrVxZWFj8I395jtylVixRnoc5tU ljHG4xOGuhLLQ1ADksn2Huag527QTdsHvvGMlQgCz5w7L+x9FNdId6Qx+Zj6biIBz9eUva B0K6xnhVVK4snOhvK0x2AJHpId1sOyLMj+O+M1hIYJPFKScRXLFF0YbAkrGTVA== 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 4NrpcR580mz16cD for ; Tue, 10 Jan 2023 11:34:15 +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 30ABYFkQ036094 for ; Tue, 10 Jan 2023 11:34:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30ABYFXd036092 for net@FreeBSD.org; Tue, 10 Jan 2023 11:34:15 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 268832] panics in check_uidgid() for outgoing packets Date: Tue, 10 Jan 2023 11:34:15 +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: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: melifaro@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: 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=3D268832 Alexander V. Chernikov changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |net@FreeBSD.org --- Comment #2 from Alexander V. Chernikov --- The following set of conditions leads to this: * tcp_respond() does not propagate inpcb pointer if the connection is reset (TH_RST) * On the output path, ipfw_chk is called * ipfw may run check_uidgid() to verify jail/uid/gid ruleset opcodes * check_uidgid() performs incpb lookup, requesting read lock * As inpcb is already write-locked, the search results in the panic --=20 You are receiving this mail because: You are the assignee for the bug.=