cip-dev.lists.cip-project.org archive mirror
 help / color / mirror / Atom feed
From: "Nobuhiro Iwamatsu" <nobuhiro1.iwamatsu@toshiba.co.jp>
To: <cip-dev@lists.cip-project.org>
Cc: <jan.kiszka@siemens.com>
Subject: Re: [cip-dev] Backporting of security patches for Intel i40e drivers required?
Date: Fri, 9 Oct 2020 00:23:04 +0000	[thread overview]
Message-ID: <OSBPR01MB298313D24CA5EF5B0517AB4792080@OSBPR01MB2983.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <TY2PR01MB49721EDA34600391409FFB07A00B0@TY2PR01MB4972.jpnprd01.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 2709 bytes --]

Hi,

I have some comment for this issue.
  https://lists.osuosl.org/pipermail/intel-wired-lan/Week-of-Mon-20200810/021006.html
  https://lore.kernel.org/stable/20200807205517.1740307-1-jesse.brandeburg@intel.com/

There are multiple patches fixed for 4.19, which can be separated by feature.

 - i40e: add num_vectors checker in iwarp handler

     This issue has been produced by e3219ce6a7754 ("i40e: Add support for client interface for IWARP driver").
     e3219ce6a7754 is not included in 4.4.y and can be ignored.

 - i40e: Wrong truncation from u16 to u8
   This can be apply in 4.4.y.

 - i40e: Fix of memory leak and integer truncation in i40e_virtchnl.c

   This issue has been produced by e284fc280473b ("i40e: Add and delete cloud filter").
   It is not included in 4.4.y. However, this patch has several different fixes, so some patches need to be applied.

--- a/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
@@ -181,7 +181,7 @@ static inline bool i40e_vc_isvalid_vsi_id(struct
i40e_vf *vf, u16 vsi_id)
  * check for the valid queue id
  **/
 static inline bool i40e_vc_isvalid_queue_id(struct i40e_vf *vf, u16 vsi_id,
-                        u8 qid)
+                        u16 qid)
 {
     struct i40e_pf *pf = vf->pf;
     struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id);


 - i40e: Memory leak in i40e_config_iwarp_qvlist
   This issue has been produced by e3219ce6a7754 ("i40e: Add support for client interface for IWARP driver").
   e3219ce6a7754 is not included in 4.4.y and can be ignored.

Best regards,
  Nobuhiro

> -----Original Message-----
> From: cip-dev@lists.cip-project.org [mailto:cip-dev@lists.cip-project.org] On Behalf Of
> masashi.kudo@cybertrust.co.jp
> Sent: Thursday, October 8, 2020 6:43 PM
> To: cip-dev@lists.cip-project.org
> Cc: jan.kiszka@siemens.com
> Subject: [cip-dev] Backporting of security patches for Intel i40e drivers required?
> 
> Hi, Jan-san, All,
> 
> At the IRC meeting today, we identified the following new CVEs are not in LTS4.4 yet.
> 
> - CVE-2019-0145, CVE-2019-0147, CVE-2019-0148 [net/i40e] - Fixed for mainline and 4.19+
> 
> These are for i40e driver for Intel.
> 
> The kernel team would like to know whether their backporting is needed or not.
> 
> For details of those CVE checking results, please see the following.
> https://gitlab.com/cip-project/cip-kernel/cip-kernel-sec/-/merge_requests/75/diffs
> 
> Regarding the discussion of the IRC meeting, please see the following.
> https://irclogs.baserock.org/meetings/cip/2020/10/cip.2020-10-08-09.00.log.html
> 
> Best regards,
> --
> M. Kudo

[-- Attachment #2: Type: text/plain, Size: 420 bytes --]


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5515): https://lists.cip-project.org/g/cip-dev/message/5515
Mute This Topic: https://lists.cip-project.org/mt/77380165/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-


  reply	other threads:[~2020-10-09  0:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-08  9:42 [cip-dev] Backporting of security patches for Intel i40e drivers required? masashi.kudo
2020-10-09  0:23 ` Nobuhiro Iwamatsu [this message]
2020-10-09  7:24   ` Jan Kiszka
2020-10-12  9:27     ` masashi.kudo
2020-10-14 14:13     ` Pavel Machek
2020-10-14 14:55       ` Chen-Yu Tsai (Moxa)
2020-11-11 13:18     ` masashi.kudo
2020-11-11 20:50       ` Ben Hutchings
2020-11-13  0:49         ` masashi.kudo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OSBPR01MB298313D24CA5EF5B0517AB4792080@OSBPR01MB2983.jpnprd01.prod.outlook.com \
    --to=nobuhiro1.iwamatsu@toshiba.co.jp \
    --cc=cip-dev@lists.cip-project.org \
    --cc=jan.kiszka@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).