From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 773801D88D7; Wed, 8 Apr 2026 05:42:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775626947; cv=none; b=GvjMSU0WJdNYZOQ4v7k92SLCGEjdYu9kf30hqxTWwpRWQqKQTQ382+hr2sOs2KGl3gL2ZCG+Da/1EJjqeiffjnyqek7wXM1Tm4MxhathzXr1nmCH79FLx6kBgjp0Hp7mEP40ca28eahTjHItCdGG0ywPhnFHzbR4b3HymzHF5Kw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775626947; c=relaxed/simple; bh=kbBS9nNbKiYGr+M1etIZ/S4Zl2BY88Gcjq5XxRfRZsk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ePQEZK7lgVrbl1vrgPMzIlB+KLXz9qofUUuLsKsALRpNa86cbmAiVqDB98D/DseRneyafaT6sx0wcxfUmA/pfjfV0oVdQAafoSMPl04vn5snooJDboAWRpyMIQiqJo6t2xBbVS78FZOTCxzgKtP2DhRmlbBqd/I04UHvM2jQ5KI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=i1A8d1RC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="i1A8d1RC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C458C19424; Wed, 8 Apr 2026 05:42:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775626947; bh=kbBS9nNbKiYGr+M1etIZ/S4Zl2BY88Gcjq5XxRfRZsk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=i1A8d1RCy8ut1Oy6asCYyA/kzHLZvWjUp1zt/3s2nCl3+NB8e4lcaRF4nfIeCpFp6 b4p0yifTcuV0Oil1WgHv2FXdgkEgINowKXwbCiDrh6CLZ0hYOSogMb3UntnV9GzVjw fwrTTKF8zmNHNZ/JjueV44/+m/HtR4xajD2KNd+o= Date: Wed, 8 Apr 2026 07:42:24 +0200 From: Greg Kroah-Hartman To: Jakub Kicinski Cc: Steffen Klassert , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Herbert Xu , "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman Subject: Re: [PATCH net] xfrm_user: fix info leak in build_mapping() Message-ID: <2026040820-afflicted-slander-878d@gregkh> References: <2026040602-shack-tamale-d8c3@gregkh> <20260406085449.266466ae@kernel.org> <20260406085859.2e9843ea@kernel.org> <2026040634-deodorant-shakiness-a64e@gregkh> <20260406103851.59a200fc@kernel.org> <2026040745-crafter-awkward-8901@gregkh> <20260407181211.5419f2cc@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260407181211.5419f2cc@kernel.org> On Tue, Apr 07, 2026 at 06:12:11PM -0700, Jakub Kicinski wrote: > On Tue, 7 Apr 2026 07:51:15 +0200 Greg Kroah-Hartman wrote: > > > > I guess nlmsg_append() would work? It tries to do some zeroing out for > > > > alignment for some reason... > > > > > > > > Want me to do that? I don't have a way to test any of this, I just > > > > found it using some static code analysis tools that looked at holes in > > > > structures. > > > > > > Do you have any more Netlink leaks in the queue? If you do let's do it, > > > if you don't we can wait until the next victi^w patch to arrive. > > > > I do not have any more, sorry. So is it worth it for just these 2? > > Your call :) > > These are fine. I would have applied but I think Steffen will take them > via the ipsec tree first (LMK if that's not the plan, Steffen) Thanks!