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 062C88C16 for ; Mon, 21 Aug 2023 17:48:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EBB59C433C7; Mon, 21 Aug 2023 17:48:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692640126; bh=XZDt43brnFTJkb8ScLQNvWMVfoRbXfvHIPbaNmZldAg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=F6yDjvDCIsPvanRvMO9iP5ovPq8w7hv8wc9g7fkg0xbVHYVnJTD+KMBrgLS5lVWTH znqU9oXtTt+NfkBsSq3y+2AVLdXvIXqBp8iUwB8HR7x9mGi1TzhwCmBK3cO4B6HRS7 E+T4PJXm1v6bhzzbs2O8uPBHaaYEsESUeE3HavF4sXHAK+uXw2x3xnbETG/N8SvJ6q Q5t5YU8mIqIVHWRS7D/eySV230GwrXA7iSEAJRHtL4Xd47ecpMG1JbybOQOPHIDqJ1 bQOyBOmoxbwMBvek8X5nOA2ptpja3emOax+vjUvWswoTL+nsoaIETxXarARXgyEoxJ yVcQH2bSjL8rQ== Date: Mon, 21 Aug 2023 10:48:44 -0700 From: Jakub Kicinski To: Ido Schimmel Cc: davem@davemloft.net, netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com, syzbot+5ba06978f34abb058571@syzkaller.appspotmail.com, wg@grandegger.com, mkl@pengutronix.de, idosch@nvidia.com, lucien.xin@gmail.com, xemul@parallels.com, socketcan@hartkopp.net, linux-can@vger.kernel.org Subject: Re: [PATCH net] net: validate veth and vxcan peer ifindexes Message-ID: <20230821104844.19dd4563@kernel.org> In-Reply-To: References: <20230819012602.239550-1-kuba@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 20 Aug 2023 19:08:13 +0300 Ido Schimmel wrote: > There is another report here [1] with a reproducer [2]. Even with this > patch, the reproducer can still trigger the warning on net-next. Don't > we also need to reject a negative ifindex in the ancillary header? At > least with the following diff the warning does not trigger anymore: Yeah, definitely, please go ahead and submit. Is "ancillary header" used more commonly as a term? in gnel we usually call this thing "user header" or "fixed header".