From nobody Thu Feb 16 08:27: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 4PHSjc3rNKz3pLx2 for ; Thu, 16 Feb 2023 08:27: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 4PHSjc2RG8z3NVk for ; Thu, 16 Feb 2023 08:27: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=1676536036; 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=fUe7drPbWz90fXOPBEITjoSeWKlZk/sAsNBYDwPU/Ao=; b=SRVBgvDlHhmNujOUiEjUo3hF+2RgnjoFlHfxrzhj2tG3cD5n7XReVv9RqgriVNKZZxy7pz kfzp4ytVayLb4ue8LS6yPmOU6mWg61gv8AFlvYfodnaxjhlt+BG+NpcM8NYi817gPhTPZh 7+TqtjZJrBhBGi5r7DUrnofqHv5s/Y1/4EQg8D5XJ1aP8gTWccwg/eDVziObkZ35Y1ztDY vyYyn9RMZfdROrVgR7Z6GZqM5BWDXNHUEb8ItbrmRORx6hmUH2gT/cDLzbio8IfF8gDL8R 2I7YP8lMDBW0wL98TXANFH/EgTAu3oqCq5Hh/Bg8upuH+qPLcf/xHtj07iLChQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676536036; a=rsa-sha256; cv=none; b=BVNN+Iu8D+8ObvPAALvTi8Uik561b1NglejGGFGmOs924tg6LJwFyzH1sn32TU+ZR4rXkT YVhCesOv4/UeBS6MzHG721L41fDFY/8wlVeCcWn6uM+emy5avYPBefWrD0tr017YweZIbq 8mR4yTwoxO464fuYE4nWNXA6IVKwlu1BmSZQR0sAext3jZADQlMx3Kd/Dhr9+LipIHx6ag 2WCC2Zujg7mc93IS61oRBM1yBeXJkWX8zBMSt7cIhpyGUaPrfDvl12h3ICQ0yM8R89yjwc ISiJEMDCtFlZwD5d0U443MVZIUUi8lUpXESbv0VUXO6Tbjmi/z8mqQeGlPxYdQ== 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 4PHSjc1WR1zxH2 for ; Thu, 16 Feb 2023 08:27:16 +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 31G8RG77087971 for ; Thu, 16 Feb 2023 08:27:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31G8RGEl087969 for net@FreeBSD.org; Thu, 16 Feb 2023 08:27:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 268246] crash and panic using pfsync on 13.1-RELEASE Date: Thu, 16 Feb 2023 08:27: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: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D268246 --- Comment #85 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D9a1cab6d79b7286e5f650f57ed95625e6= ddb8e4b commit 9a1cab6d79b7286e5f650f57ed95625e6ddb8e4b Author: Kristof Provost AuthorDate: 2023-02-14 06:11:38 +0000 Commit: Kristof Provost CommitDate: 2023-02-16 06:43:04 +0000 pfsync: support deferring IPv6 packets When we send out a deferred packet we must make sure to call ip6_output() for IPv6 packets. If not we might end up attempting to ip_fragment() an IPv6 packet, which could lead to us reading outside of the mbuf. PR: 268246 Reviewed by: melifaro, zlei MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D38586 sys/netpfil/pf/if_pfsync.c | 91 +++++++++++++++++++++++++++++-------------= ---- 1 file changed, 58 insertions(+), 33 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=