From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 76EC545BBE; Thu, 24 Oct 2024 08:28:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 42AF64028A; Thu, 24 Oct 2024 08:28:00 +0200 (CEST) Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) by mails.dpdk.org (Postfix) with ESMTP id D809A40264 for ; Thu, 24 Oct 2024 08:27:58 +0200 (CEST) Received: by mail-qt1-f178.google.com with SMTP id d75a77b69052e-460ad98b043so4617321cf.1 for ; Wed, 23 Oct 2024 23:27:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729751278; x=1730356078; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=XKk5C0+Liz+fqvKjG+UinNEK5AWYAP01vGEpzTZSteI=; b=OeeWEyG5G+Ioo1ztoFv4vK5quHUwwpgG0/l5Usy1g4wVCAq4apcxQFDCpoFYSpjyf0 dpQXS1Vr0Rs5mFOs7ILEFrOEmc2N+VuTA2icp6IZK/m0L+v611u8sQn4AIJ7byyuvNRb WMWHhH1cNfSPs4g5tD8Cv3V8nA16uHd/EzfQ7ClFQD2Lzx02o2ZtdjQdkrrLlpMg5+uZ 5XFjtjye9D1cY9clxDrjd1MpNWi7Epw+5rL7jFBxf1c2VvDDTGe9KI2lqo7usKit2Tew L0Flaha/0HJyr0ZjZ01NdNikBpg6reuGunoNBLUucSWq33Ncqg9YBNcPWg9YArZzBd/C LYig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729751278; x=1730356078; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XKk5C0+Liz+fqvKjG+UinNEK5AWYAP01vGEpzTZSteI=; b=MC8jxvLhYlXTjpaRWeobdQ0vjtueQ7irBBbVpxot3Nq+qFEd6b86jTibrNyeX8LdAT 8qaanAsldxLhk6jDXReq0XVlZRpMxWxERsUKQsXvyLmSSlEtvO58x7ZxFLYey8n+5+WZ Cqr+487ZTYQA/8Ay1WrLhNiKFI8JHaVn2nt8hf3VBTuEMOONRtD66/GDnX8vqsgeQJi8 lbL77Um5ao8V791K4dlJuFa3LKK1u851ErAevPwwC5w70ufB1aVGvGcULA/kGN/kt3Wr rzmmPpR49POSyVDtVis2RQUZYQsV/KvLlK5Vdq+9C96TyOqcWsr7RFB7KklzVZ/Ru3o/ 6XfA== X-Forwarded-Encrypted: i=1; AJvYcCWB+F5UwLQz9eOn2z5Wmu8jOL0BDguJ4+S1ST6Qc40ZxiaB4TYU9EgIJFYo7xFw3QkFcpY=@dpdk.org X-Gm-Message-State: AOJu0Yy3xHQe9nkXUEDzO0FSvaZM0nOVy3uYdXYggIXJhxUlwFLIUwGj rv35bqrKDedXTcGOReAWOkY8YxBaPYkX0+yj5ko8Meo32Kb1TZ5eXPcH1wru+O8w4Zh2Eyqkc2t LD2MXvNynINIu36HEgQqXqOLmKbY= X-Google-Smtp-Source: AGHT+IFLvSqgcDZcGrCOhIepUP1mT8OX5C8q92c3V4DmiwBuP4YzpxpwHcSR38Q8gidlFaevqMc2XBv8iruL3mI+7zU= X-Received: by 2002:ac8:7c4f:0:b0:45e:ff39:ea6c with SMTP id d75a77b69052e-461252d181cmr15542031cf.29.1729751278209; Wed, 23 Oct 2024 23:27:58 -0700 (PDT) MIME-Version: 1.0 References: <20241009022342.39152-1-fengchengwen@huawei.com> <20241010005326.17286-1-fengchengwen@huawei.com> <20241009181041.2bec5001@hermes.local> In-Reply-To: <20241009181041.2bec5001@hermes.local> From: Jerin Jacob Date: Thu, 24 Oct 2024 11:57:32 +0530 Message-ID: Subject: Re: [PATCH v3] net/mvneta: fix possible out-of-bounds write To: Stephen Hemminger Cc: Chengwen Feng , thomas@monjalon.net, ferruh.yigit@amd.com, dev@dpdk.org, zr@semihalf.com, lironh@marvell.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Oct 10, 2024 at 6:40=E2=80=AFAM Stephen Hemminger wrote: > > On Thu, 10 Oct 2024 00:53:26 +0000 > Chengwen Feng wrote: > > > The mvneta_ifnames_get() function will save 'iface' value to ifnames, > > it will out-of-bounds write if passed many iface pairs (e.g. > > 'iface=3Dxxx,iface=3Dxxx,...'). > > > > Fixes: 4ccc8d770d3b ("net/mvneta: add PMD skeleton") > > Cc: stable@dpdk.org > > > > Signed-off-by: Chengwen Feng > > Acked-by: Ferruh Yigit > > Acked-by: Stephen Hemminger Applied to dpdk-next-net-mrvl/for-main. Thanks