From nobody Tue Jan 10 11:34:15 2023 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 4NrpcR20cdz2pFqM for ; Tue, 10 Jan 2023 11:34:15 +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 4NrpcR08M1z3LPJ for ; Tue, 10 Jan 2023 11:34:15 +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=1673350455; 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=GZHHa9YPFXptqls18J0tgNvDSpkUmnlYkhcORySivwct8FhonisRxqLacYdaoRtXWco9Rm uWkEBT6nh/+7X/LCT7hhePYEIOkmszUbzIpuqrRRvW0dx5Lhb/WXO7fjIpWMTpPmYgX2qV qg4S7DIg0qhYLJqMlMzMA1Vdy+eTYUfosIKzawfV/CDb5UmtPzdIyKIJAqNBXAMXKCUfzJ Cfe7T6l6lroQiY/ROBJHve7ckomI4yCOlUOQvObxwe2ZBY3mR5CiYA3kDALqwEMi93q0PI pzPtDFUJ5bMLnT0PG6kSaAfpsc+IyRtPhuNHKeBrN8yL49iMYm6YeHJfjRQwKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673350455; a=rsa-sha256; cv=none; b=OH2By3/0I3omljbfkTTbjNgB/6J6oIcC22h2bCZC85y32PTbbvkoc7Udt9XbJRVHLBld+K xlQnL3/YsZWapzqt9gq7pgi5lbHkT0QzfcSlfu0ioe4uNtFb2LbKXVdsQ5BgnDdEv1pnOg c47yCd7q21FpjM3SSbMjZ0ahJ2MKA+ZANd1jvOzAQDjajTzRsONT0Q6LJcU6GKdoEztfjW c1QEmNsLj6w9lP2PhWzyWCF25S6inayDbL5mxFYndk7DaLvma8h5nImCU5+r0n5dA3JiO2 4aNvp69d9QZ8uauMvsxAb+t2Pv9DVQUpCXlAteAOHvMbpOtQgcLcZuPuMgrxFA== 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 4NrpcQ6HVhz16LZ for ; Tue, 10 Jan 2023 11:34:14 +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 30ABYEQu036079 for ; Tue, 10 Jan 2023 11:34:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30ABYEwP036078 for bugs@FreeBSD.org; Tue, 10 Jan 2023 11:34:14 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 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: 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 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.=