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.133.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 A3AD53C3459 for ; Wed, 8 Jul 2026 10:57:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783508237; cv=none; b=s5mcl2uEqu7i8SAjFMv16uJIub52bAfcc5aOMLYcSVaO7DtlDdFh/pJ3MyPr1C57sXtxLHm0Epbam7rMrBWDVo81yd484XABSFXI9L3Bo2PReOt2h4phf3H0kkxw2SiT1tE8uzu/AK0nTYgrQe6LGLngxgYTB4XqG1e5liOx8og= 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.133.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-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-164-IrMuVp16OKGdYLRrtROg6g-1; Wed, 08 Jul 2026 06:57:09 -0400 X-MC-Unique: IrMuVp16OKGdYLRrtROg6g-1 X-Mimecast-MFC-AGG-ID: IrMuVp16OKGdYLRrtROg6g_1783508229 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-493c1bc7a70so4989315e9.1 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=m4eDpR82P8bh7BHiwaqZP8E8A6oHoNBd3HZtk2D51M9zW5mkXbge0M9To4+aVDf7rY oJ1He5QuZHHT1LTAV6v6d2VFIkUceV/Cuago67g5P319q0d46mcYRfq37+8RizhDvLVO FQLxnyqoUjkPT4AX55rz6DgRvOaSuJwvegct54mGECfIsH1YkxspF8PaD0Nippw6LMTI 2ZNtIfv/kCjbtQrIctR/oQ+e+qNWtnekzAQiMCfbMeNbpdL/C5SdTvJKCJnjUHMb90Xw Mp9BN2Ha5GBoA+5Qgq2HAav5GQWcauzE5S61f89dIcsSo2uBuwAmdtvRlpKyjw8Ntn/2 fgfw== X-Forwarded-Encrypted: i=1; AHgh+RpyYPw20qk9kFnYRO5jroKMe+FlE2ADzUDqYGsQ5D60eRCzsysGWrhAZ6gMHBxoKb24ApTdIl5NUKzY1Qg=@vger.kernel.org X-Gm-Message-State: AOJu0YxSW/FWtQTwee9Hu6xNgFoVvXQPPCr/9L9yuhuGy50jagE99Pq1 x/0r1VDYNII15yEFeANeZVJRdeUxAqitZqL7jTYOSawGYlUpQZA5P/PoDVZ4Wu0LOB6N6CJ2LUX LTGY5RUHsOI0ix6QgLYSYpnMg6TR63LDEjSAlgUaIB2r0kaWKOU0ci4kESb7hOCm9UQ== X-Gm-Gg: AfdE7ckw8rPCLra1rFgzOdp4RswxjlwU4TE12GF99GUSD4LZjFKkEKZNL4pSKX6XwCC ZKmewOcgZ3zSfCARXJ53Xil2IMh4HhjdBXFbwuyMLjkRcxZyTbFjWSXRDP4AJotnaGuGSUWIdC7 T9EMf9J97dvMtP4Sq0W2buhNweAsNkliTFNUCKhPdWqJV5cEaZfluSsDYdTKzaMXbvH6R3+miTC OE+BKzYZEGTHsOkIKXS6PuMSvzfMYH1twAYs/Z0lOZy7kshuB3EIfHQfQ0H/dSDUCoiq3Iw379X MNP4kNz+TKdomG+g3oGmI4YveBUYlXH4iu9CgcUP8NXrQrFhWR7pMF+bnRwH2suAAuLYX4oltpR 9/BcMD5ga+uiWDjjtboj/aav5YynKu27XrLsi3egGVTHHjaXQlwOLetzOhh5Jr8BEgKqIpJGuIs 3XJ5fW/wjTdrlv X-Received: by 2002:a05:600c:34c3:b0:493:e79e:daa6 with SMTP id 5b1f17b1804b1-493e79edba5mr17133755e9.33.1783508228690; 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: linux-kernel@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