From nobody Tue May 30 13:52:04 2023 X-Original-To: freebsd-stable@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 4QVv343TpWz4XXH3 for ; Tue, 30 May 2023 13:52:16 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from smtp.vangyzen.net (hotblack.vangyzen.net [IPv6:2607:fc50:1000:7400:216:3eff:fe72:314f]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4QVv336NWCz4PFp for ; Tue, 30 May 2023 13:52:15 +0000 (UTC) (envelope-from eric@vangyzen.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=vangyzen.net header.s=default header.b=EvA+7bnS; spf=pass (mx1.freebsd.org: domain of eric@vangyzen.net designates 2607:fc50:1000:7400:216:3eff:fe72:314f as permitted sender) smtp.mailfrom=eric@vangyzen.net; dmarc=pass (policy=none) header.from=vangyzen.net Received: from smtpclient.apple (24-236-44-43-dynamic.midco.net [24.236.44.43]) by smtp.vangyzen.net (Postfix) with ESMTPSA id 5282756486 for ; Tue, 30 May 2023 08:52:15 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=vangyzen.net; s=default; t=1685454735; bh=hL+B3mT775X6NwTZ6IIGzmZOIGUtHI9gYdLRMPCn6JM=; h=From:Subject:Date:To; b=EvA+7bnSCcUlXwl6UKOw5BbjMKg5mTE99ttj0w6Mt2uQsisfAuJ8eBq5mTf+lJWPy SraTxypECNyZPayj26HF72lO4pxvS4VC/+e7F6t8/hpu5CN4s2UzvpOjMx0qmjuYvT RdAsamhI2224UDdkjMe2Cz7OS1/Q2FfMUidOeOvPtbdgxm2ikKPX/naHSKyuYYaRIr OLUpegc4fApXsKPm66Uk9Ykl0VmZ13BVKEUNpWei/2f56WBVJL9VtZeJunLhN5KtZP bEE0S7hNLMbrP03mH9/agch8y8AxEmk+gzt19CVRMJXrh/ZEDtuK5u8npPPysbR+Dc zZmwP3myFl20Q== From: Eric van Gyzen Content-Type: multipart/alternative; boundary="Apple-Mail=_331B8D5D-2ABB-44E9-9119-F892CE3D9682" List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: D40236: Fix NULL deref in ip_output during route change Message-Id: <7828BC60-1654-4A17-AB85-324A0520E819@vangyzen.net> Date: Tue, 30 May 2023 08:52:04 -0500 To: freebsd-stable@freebsd.org X-Mailer: Apple Mail (2.3731.500.231) X-Spamd-Result: default: False [-3.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[vangyzen.net,none]; SUBJECT_ENDS_SPACES(0.50)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+a:c]; R_DKIM_ALLOW(-0.20)[vangyzen.net:s=default]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; BLOCKLISTDE_FAIL(0.00)[24.236.44.43:server fail,2607:fc50:1000:7400:216:3eff:fe72:314f:server fail]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[vangyzen.net:+]; TO_DN_NONE(0.00)[]; FREEFALL_USER(0.00)[eric]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36236, ipnet:2607:fc50:1000::/36, country:US]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4QVv336NWCz4PFp X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_331B8D5D-2ABB-44E9-9119-F892CE3D9682 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii I would appreciate reviews on this one-liner in ip_output on stable/12: https://reviews.freebsd.org/D40236 Eric --Apple-Mail=_331B8D5D-2ABB-44E9-9119-F892CE3D9682 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
I would appreciate reviews on this one-liner in ip_output on stable/12:

Eric

--Apple-Mail=_331B8D5D-2ABB-44E9-9119-F892CE3D9682--