From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 733653B895F for ; Wed, 8 Jul 2026 10:57:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783508237; cv=none; b=s6qNrxN2TGRjlcLOo4VSeuyE7KYRoivBhq45ZzXe4FqLhpWPKnf021fFtN3C++QxI/CssxVM6c+vfoLfZ5Az7JQ2YB/tQh/fVbB2woc29t4+Xf1xNgXOivXxzpEvQZ6E2hpwCto93gq9ZA2tT0viRa3RKgELBmA50eLyxUvmj8A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783508237; c=relaxed/simple; bh=M4cKxG7rn03qGW5kSZE88jYrpIP4zvhW58ZIabmPFvY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KKNZYIqqCAYktbrMNlzmmAns2z9F99KvAeDFPeuHkbj73luF9xKnFTkAEvsQg9cWD7eL/yCsDdCRo5w93mCzaKSDimdfUpIvIsmLGG0O9A7lBEvwEEDG3kaSWsPeBXiw9J8gTUiZtkWTPi4NO+fSgb34bKynGesl9vlr+GbnP/Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Kchoqdpo; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=IiBeau2n; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Kchoqdpo"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="IiBeau2n" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1783508231; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nRaQ/pUZXsFDjpZJaNCEg3QzvRcLSiDykic5pLM08Kc=; b=KchoqdpongJZWdD5sul4eLeyYZ7XRJRHb+k2T40+75Fvl9bAPTBIWpYkqQW7PX6yYf+fHS 2draiQMSMx05mm4wfpXgQM85hsd48yK4SH7NLAQ2+K5oUXD/dtNFld7gkMYyFMWHD212uq LyCNu5oG2X9KajDvTHLamHD53USL+lE= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-633-yywlBNRtMHy5MHMdW8waKA-1; Wed, 08 Jul 2026 06:57:09 -0400 X-MC-Unique: yywlBNRtMHy5MHMdW8waKA-1 X-Mimecast-MFC-AGG-ID: yywlBNRtMHy5MHMdW8waKA_1783508229 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-493bc2b376fso5117555e9.3 for ; Wed, 08 Jul 2026 03:57:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1783508228; x=1784113028; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=nRaQ/pUZXsFDjpZJaNCEg3QzvRcLSiDykic5pLM08Kc=; b=IiBeau2n1BfryWMwc0qCCUjEim+xQwfL8k2wOB8NIKCOenk3RKWofZGJEFB2UpcAbr DOXPqCTVfwsyDWxl8P0R3B4GZjj22tNrx1vcRpk7PEvWWSfuRJLTJhlI0KYi5Renx5JJ 0UFKhCTfY9ZztsT5x5Ly1UfSzsN9doxvZtbTiBN1xoNzaSQAx2FX1hcAnUUEneFgAKzs OVUiTYs2/v+PJ9mFcPIM5FjNGEhYb268be2UcZXMBn8C+/8TILpINNiFq8z/WGPZnVgn IHDnNMRdVeDOhv5zz3hFiDbHXwjHpMKsvFz3X96+TiPumRQzwvMXWnECxeIsoqQ46jai DTZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783508228; x=1784113028; h=content-transfer-encoding:content-type:in-reply-to:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=nRaQ/pUZXsFDjpZJaNCEg3QzvRcLSiDykic5pLM08Kc=; b=NZ+JRpLoKjQPoo9hvuKvxE2weLu0axnWzRLi+IZ+B9pDBxPLopqqBB7CuQRLDoxYIk NcAeY2WwjVoxrNVDqK8wzmvCuCTpnW413uFU0NF+yUNnxzFwsU8r1ZoZOJ2xtG/7d1oE o7NjM3VoXH1KZe8Ww7K/tWASAVldDgZ3Zkg+2dS0E4wfihgS8PWySSY37LgZQs93AKQG THjm84bxs4U2soXqxmVaEvbwupTukpDZxiLDj6qAZjsSRLCJU9udLhfxx8Bt0vEnYIi+ CD2aLo9DYcgscq4sGiN1oAGd1D4dDDragzrOJ19mVZLleukcl74hKvggRNwBbjQEQBsr 5BCQ== X-Gm-Message-State: AOJu0YxZrzZCIGmN3Ivy8OwcTnYclqY8Z95OxbnlCccuOaVWHmud8wNH eLQn/fG5lWZvEp56oj6vKTCFBM9OfVzkruTtrlk70sGv/PEfSvFcWuUCRXPuc0tNEkfUHdy9I9h y3VJkwLkiGTR7ddkOWT3wqos8LJz+6GGuW1pqFhE7H69R6r9j2GI/zKiaAQ== X-Gm-Gg: AfdE7cn08rtfZFb7y6eV/A7g7ZhdHsZU9KzNbiC5QPbQpk6W9RrnOwi5BgcvWgZpw7c 3346K73DIKkAPTajPaV9Pk6jjh2ES3N/7SeTlN1ug+H1VNgYbf/4+KczeYMYOVUzbA9YIdLjjNS Xf2ptUTUnnFDYqcWfjh+ys1kS4JNyidVp5dyW8rXtuCsqKjfvo5DvHAJ+RUUM3SHDsqGC1eA+6h eshDW6CvmKaarNj0qCbj8B4vZviZ1stz7IyZj8AKqqBaSTPrjIelDZZqVQauRkWbEXNWq2ldgkH ZGW7UZx8zQ+ixCNhpW/+2wHuJ5HaL6zoe6CiBAW0LPAyv62DKRS3hNFvx+o4m7VTSNEyYrBvzi+ p977aWgMpyUmQUBpgfTODQewDXgY0ovmEPgJXv5imUNvZN29huEaqljU2e/iL6bm0Eav4Vdhl+k 2sDqgByBx7Pbio X-Received: by 2002:a05:600c:34c3:b0:493:e79e:daa6 with SMTP id 5b1f17b1804b1-493e79edba5mr17133915e9.33.1783508228713; Wed, 08 Jul 2026 03:57:08 -0700 (PDT) X-Received: by 2002:a05:600c:34c3:b0:493:e79e:daa6 with SMTP id 5b1f17b1804b1-493e79edba5mr17133315e9.33.1783508228188; Wed, 08 Jul 2026 03:57:08 -0700 (PDT) Received: from ?IPV6:2a0d:3344:5521:6b10:58fd:68f:7756:389d? ([2a0d:3344:5521:6b10:58fd:68f:7756:389d]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-493e0f5b811sm211634515e9.13.2026.07.08.03.57.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jul 2026 03:57:07 -0700 (PDT) Message-ID: Date: Wed, 8 Jul 2026 12:57:05 +0200 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net v3 1/2] net: mana: Validate the packet length reported by the NIC To: Dexuan Cui , kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, longli@microsoft.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, kotaranov@microsoft.com, horms@kernel.org, ernis@linux.microsoft.com, dipayanroy@linux.microsoft.com, kees@kernel.org, jacob.e.keller@intel.com, ssengar@linux.microsoft.com, linux-hyperv@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org Cc: stable@vger.kernel.org References: <20260702041237.617719-1-decui@microsoft.com> <20260702041237.617719-2-decui@microsoft.com> From: Paolo Abeni Content-Language: en-US In-Reply-To: <20260702041237.617719-2-decui@microsoft.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 7/2/26 6:12 AM, Dexuan Cui wrote: > Validate the packet length reported in the RX CQE before passing it > to skb processing. The CQE is supplied by the NIC device and should > not be blindly trusted. > > Cc: stable@vger.kernel.org This need a Fixes: tag, to help stable team backport. No need to repost: just reply here, and I'll add it while applying the patch. Thanks, Paolo