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 BB566A00BE; Fri, 11 Feb 2022 09:53:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 55166410E5; Fri, 11 Feb 2022 09:53:44 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id E4B8940042 for ; Fri, 11 Feb 2022 09:53:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644569622; x=1676105622; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=EAm9XCftdlfwq7IUeMUQD8DiI8FnW7zKGu+/L842uNo=; b=LSjEIgpdAURNjSeh64DnB5mzgMKji42bwPxczsel2UfEaH9ArqbDe4jK g9+AR4GLwojvxF8f11s4rbsBtGIv7EhBCWSz0+5GU9BKRl9j2cp56a9Rc mAM+MjLxAQL0YSlLbZcEMV353EBEvSY+Kyq6+Z4IkY2DxLahR+dd1llg6 RN0RrkWBNf36sbWZ8sPfahspVxmMdBH1Ox6fkY//mvqL+nKAxO4WcyW6M slg85iH2Hx9PQttV4Auf8NrY8m7GEao3hTr42g26AjRLrHf0QXP4cwEKV smNhgwcCP++cALb+B4+H6jo3PQS5iZqx59ZDkZnexMFNixVfuLKrLzuVR w==; X-IronPort-AV: E=McAfee;i="6200,9189,10254"; a="249442805" X-IronPort-AV: E=Sophos;i="5.88,360,1635231600"; d="scan'208,217";a="249442805" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Feb 2022 00:53:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,360,1635231600"; d="scan'208,217";a="537586585" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga007.fm.intel.com with ESMTP; 11 Feb 2022 00:53:40 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 11 Feb 2022 00:53:39 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Fri, 11 Feb 2022 00:53:39 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Fri, 11 Feb 2022 00:53:39 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.177) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Fri, 11 Feb 2022 00:53:38 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CFFF0EJYFjyTxUO/u4VLdlTNu5fXG46gA0SQWU+Y85YAydQzcGSz6gZTmNVS36lsmBNTxulxiTAULh53edu3Xsn+fG7vEVWDFhLN7DTiXGg/5dQW69UlzxWWjqG9mlRFzlyLpyxlLIEyYGN/7f0FJy2lmDKHQ2S0TWuB9eib3Jcr9FiwOfaDDiwIfdrsErU5wdej9dJQNV9OG8emUio2h7GqdRs6haK9NoTP+tdztA2SLfrilmitfkOAOxOdfUkk4XCPXfFmAYHTr/9JQGxZ582DG8FTNmhNWmhzUowgbLjlGBmGivlaFteorD6d5FS4iecSgf9QA8WVCKbhpbO6tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+9xUTlex/rRMT8u29KRs59BGppVfdS/ks58hDjRpnSY=; b=lPbKB3yota3NfXy9MU+gvbXdHUvqo+aLAl9FT9i99pLND2VhObJVP5CGGqwPHr36Xm/SnwQr9h32UmseeQmtM0N4DyWm1mPzlajoG6inMOo4BrGAMrxOrwE/4vnS+1HOgrttDzetQ/1d+sLWDBqejQdw4iWYMjVoJdsSQFK0EHyOpjyYaWvWNA0tBEn0EwfTf+s6jY/GKPREfc8+T6EZDVvbWPFsQcZFfAlejZZcbBvglaQxYwPzlkD2CGqkkSHA42Oe+Yh9qLyJgiEKldCvHXI9Nd1MthxB+5QP70lOAgTQ6yQMZUfI6V/vFtbJK3CkvwWZ0QjS9jDvcHwBqdp3XA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DM6PR11MB3227.namprd11.prod.outlook.com (2603:10b6:5:5d::16) by BL0PR11MB3507.namprd11.prod.outlook.com (2603:10b6:208:7f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.11; Fri, 11 Feb 2022 08:53:36 +0000 Received: from DM6PR11MB3227.namprd11.prod.outlook.com ([fe80::d9e3:609e:3587:face]) by DM6PR11MB3227.namprd11.prod.outlook.com ([fe80::d9e3:609e:3587:face%3]) with mapi id 15.20.4975.011; Fri, 11 Feb 2022 08:53:36 +0000 From: "Mcnamara, John" To: "Mcnamara, John" , "gaetan.rivet@6wind.com" , "ilyes.ben_hamouda@6wind.com" , "olivier.matz@6wind.com" , "ajit.khaparde@broadcom.com" , "farah.smith@broadcom.com" , "kalesh-anakkur.purayil@broadcom.com" , "kishore.padmanabha@broadcom.com" , "lance.richardson@broadcom.com" , "michael.wildt@broadcom.com" , "peter.spreadborough@broadcom.com" , "somnath.kotur@broadcom.com" , "stuart.schacher@broadcom.com" , "sunila.sahu@caviumnetworks.com" , "hyonkim@cisco.com" , "vatangchengchang@huawei.com" , "adwivedi@marvell.com" , "anoobj@marvell.com" , "asekhar@marvell.com" , "gmuthukrishn@marvell.com" , "hkalra@marvell.com" , "jerinj@marvell.com" , "kirankumark@marvell.com" , "ktejasree@marvell.com" , "ndabilpuram@marvell.com" , "pbhagavatula@marvell.com" , "psatheesh@marvell.com" , "schalla@marvell.com" , "skori@marvell.com" , "sthotton@marvell.com" , "tduszynski@marvell.com" , "jackmin@mellanox.com" , "viacheslavo@mellanox.com" , "xuemingl@mellanox.com" , "stephen@networkplumber.org" , "dkozlyuk@nvidia.com" , "eagostini@nvidia.com" , "shunh@nvidia.com" , "suanmingm@nvidia.com" , "xuemingl@nvidia.com" , "apeksha.gupta@nxp.com" , "franck.lenormand@nxp.com" , "g.singh@nxp.com" , "hemant.agrawal@nxp.com" , "jun.yang@nxp.com" , "nipun.gupta@nxp.com" , "shreyansh.jain@nxp.com" , "ivan.ilchenko@oktetlabs.ru" , "zyta.szpak@semihalf.com" , "jiawenwu@trustnetic.com" , "vsrivast@xilinx.com" CC: "thomas@monjalon.net" , "Yigit, Ferruh" , "Morrissey, Sean" , "dev@dpdk.org" , "jerinj@marvell.com" Subject: RE: Open Coverity defects in DPDK Thread-Topic: Open Coverity defects in DPDK Thread-Index: AdgevcuC+aU/ZAVkQFOwXG2XGEL71gAZj+/w Date: Fri, 11 Feb 2022 08:53:36 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7cbfc1bb-f19c-4638-f708-08d9ed3bfdd1 x-ms-traffictypediagnostic: BL0PR11MB3507:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ipDcEWmyOd11jihFvSH21JqyZ065rpUmcqG3Q6A9xi1fYTXhW8738RX2GpQLDVoq8j+bqQFzcSQ2a96NBhbDd2inWtfTCXU/t2THBcPD9DjzrafUKQazDJYpLSVlFBA2kZcVWSCKBGsk6zJ2NLYcXmxI8IVjSSOc+C2zkmbufHdxjGSxHVNqztK3o5Whn6EthkfRDw2/y+MdM1Ap8hbXdUStKX0PWySv0ORTTheIGiUj2CGjv4eCC9fJbQb8EQo1NPRE1gBBCIT73WmipVymDcq4aSVc9Z+/tqVucppwwj4WotfSUtliyIWYDHZ36XxozXO7bPcCX5bdEp37xxY3WIbG3jnEAdrrw3XHWM+PXAjRW7gnPXQcHT6IujCOM/xBVeTGVnFxtKfouJPbD2f3vUtt+YKT2jGWgfepfkTWfqGfMylKMmhTYFfGgAi/UrVaOAiTQ6XhoFSRroXRA/P7NWtJcOKHHrUet03MVXTkC30QT7wXLJFXxHkCOEfpBTjVlAgm/Tg/G7zWAWnbceTT0QjOlXy86bkP9EQWyPtQujWs1rs5AV4ONOdgEJxV8VtRDkylTG/Rx7l8Q2KvHasqdICDOMy8hgb0WyE60B34QUopXAFBNgaLMiPqIqJWKVUFnU5QLMccjbvlqUZoVq9I+LkeZ6Kln7wt7VdAiKpRcbKOQjKETp8d0lp7nfbZQJ+oKXXvJOFxdM+jRMNJrwd+PqwFiNbKLyQ6pgNd4MTpGMkQIAuvs46SHFpc75zRg2hbswjvlZS5ZXIAvPDoHfkibIS6MT34Bgn/K3ZarOfjWKvIeCjVtILmRec2cs5YsjoX x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3227.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(52536014)(8936002)(5660300002)(966005)(1191002)(2906002)(83380400001)(508600001)(7366002)(7416002)(7406005)(38070700005)(66946007)(921005)(66556008)(33656002)(54906003)(82960400001)(26005)(110136005)(38100700002)(9686003)(7696005)(166002)(66476007)(86362001)(186003)(122000001)(64756008)(66446008)(55016003)(6506007)(316002)(53546011)(71200400001)(8676002)(4326008)(76116006)(579004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?SiB8xzQBQfKHw0/1G+DKMDrI3KfwiKb5a7Tu+DEBTX2cST0BZiXYC7XnYuHr?= =?us-ascii?Q?EMj1FSBGGYL6mnT5r5kgp57bYgAaZiVKYOUYqaJxCTAFxga8bv+zGl6Fw6Ls?= =?us-ascii?Q?LQXw7Y7SLwzCPJJCdrLTejJnv9Iua2xghpBJrFFHa/Zs/CDHicQteayy/wi1?= =?us-ascii?Q?yRYpAXNYq0Nzs7mLjXxseh/j5xrO9eWftsEN39XfWxqDkAbC5frG6WpZFQXM?= =?us-ascii?Q?K4datCAFEGT+kZVLMKOkaFmQXSIZSp9qxPDNzuglg6n0L+FgyHgUOQAOxP2W?= =?us-ascii?Q?sp71USfxcSS4jSSpkFwtPUTecOl52CJ5OVn8IIX5VSmV/lcn6+XbinJauAaW?= =?us-ascii?Q?aAGbQ4D8po6i1Rj0o398E2Siu72r0CDzO3+m3G1A+SgCCLluvTTJooppkS+k?= =?us-ascii?Q?/lMyQFL5q9ezY5bhgl4M23aPg2xEPAIXRKRBB8bwjITmsVOC1ZS8hDZBAbea?= =?us-ascii?Q?gAqo3kR8q1odx6Sk5eCAxvTdkwWMc3dwjSAaySIodq0c4LRnjIwx4EVYZk/1?= =?us-ascii?Q?Roy18QqwfENUzbirN3kx6H1pKvfveb3aYtwuqUrBNRzhGPhvJ6YSqGWFwjfj?= =?us-ascii?Q?9fCDM5ecv29uGoxoI5SKdjoYw/065zRhhyr0iUQHw8dr4e/5s0UJ9Im4Ng59?= =?us-ascii?Q?xPkd5BYPAFGla4qk12UvaVp67Xnk+cIOTIaftbftKK4It1PovWiVk1ZARzcn?= =?us-ascii?Q?5oVCdye2eQDmxLNEgQdiOp4NK49YQD3i9jOXtgnbxIk+mj4dvGxhMJv2jTS7?= =?us-ascii?Q?RDEjqc/0P4oHK1Kr/eDIuNIFkZPta8bA5EwkG2/Qr9S5MvR1DohzQBXmID/X?= =?us-ascii?Q?0Y4jUPxV4YNODu2dl9nkzY8rJ3yc6sZIrBqXUQldTg/S2xiZreMjbsgFXIbV?= =?us-ascii?Q?HJ5JNCKeN0CYmkPmzUInXXjzWJwfqVNjGAwG9kvllC6hC1Xv+HxsMPbOJ85j?= =?us-ascii?Q?dOuMMrYcDPTOQm2d5biuO18kOWHWC5Z09QVjAwN1Vb+edtk/KJue2FLvFlad?= =?us-ascii?Q?IaH75190Ld6tdDjCZVa1W+7f4YQZi5OOXVkZVoZOXuFnbE4gBCatqX++n4IO?= =?us-ascii?Q?UOZ3b2NCzb3DIeaWbTW1eTCza6Cz6p99iu0+QJCg4hUGxFlQLSEISd42g5Og?= =?us-ascii?Q?znAFfmdziaShmMNdWTILkEnsa171gkZybtqWBT5mIQBafvymct9c6papsEjm?= =?us-ascii?Q?v8zuJrIA/Ea1jsrvnuB5dgbbQDwyHnK4llWe33IF039i4MWTd5j3oMiRlCFp?= =?us-ascii?Q?3JvDijMec5XE81vcFiwpqxUrsQ1mn0FzzObLWQbmmp3AyFD/hoEd6AQy00Lj?= =?us-ascii?Q?zGutQzOSg6aPU16Vo6mnDIiSFvAC1nSw0qB3SA/+R16Xj1KW/8pOGhnwYBPZ?= =?us-ascii?Q?7rZbx0c5DcFxasy63GqkLff4fxzXOv3cH/M7zoa2HI0YxrMUt/th/u5qxPUP?= =?us-ascii?Q?8mPUkKSW7qSlJBMi+EIL+GnBqt4MLCCVxhm4yxdf6Duu0pIGxQ3bNbjXiBBO?= =?us-ascii?Q?aXXsuEZtpyLsG/ykvRbmLpQTSwZVoJ8faKQusKgcBLktLp1s+UyxMuZ3vIe8?= =?us-ascii?Q?gMElVlO+PvNHRqzslvWulSEu4OT08UR4yrfIIV5xzDO3fPYz6MmL3q/gC9Q6?= =?us-ascii?Q?vWLHeyhZGEB3Vw4NwhZpKvg=3D?= Content-Type: multipart/alternative; boundary="_000_DM6PR11MB3227FF2DBB8E2C43B4514BDCFC309DM6PR11MB3227namp_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3227.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7cbfc1bb-f19c-4638-f708-08d9ed3bfdd1 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2022 08:53:36.5166 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9BoGsgirrsr5Z6ThEcMTpR8RLxgyakPbUSBB8RH9LtefocgxssMtPVEZoj6Rm+ROzozuxbvk5ypScVeOVQS4rg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3507 X-OriginatorOrg: intel.com 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 --_000_DM6PR11MB3227FF2DBB8E2C43B4514BDCFC309DM6PR11MB3227namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable P.S., In Coverity there are a number of "Out-of-bounds access (OVERRUN)" de= fects that relate to rte_memcpy() or one of the wrappers around it. They lo= ok like this: CID 362728 (#1 of 1): Out-of-bounds access (OVERRUN) 11. overrun-buffer-val: Overrunning array tdata->auth_tag.data of 16 by= tes by passing it to a function which accesses it at byte offset 160. 8182 rte_memcpy(sym_op->aead.digest.data, tdata->auth_ta= g.data, 8183 tdata->auth_tag.len); 8184 debug_hexdump(stdout, "digest:", 8185 sym_op->aead.digest.data, 8186 tdata->auth_tag.len); 8187 } As far as we can tell these are false positives since there are a number of= different size handling statements in rte_memcpy() and an issue like this = would result in an immediate error under any sort of load. In this case you can edit the defect online and change the defect "Classifi= cation" to "False Positive" and change the "Action" to "Ignore". If anyone disagrees and thinks that this is a real issue, let me know. John From: Mcnamara, John Sent: Thursday, February 10, 2022 8:44 PM To: gaetan.rivet@6wind.com; ilyes.ben_hamouda@6wind.com; olivier.matz@6wind= .com; ajit.khaparde@broadcom.com; farah.smith@broadcom.com; kalesh-anakkur.= purayil@broadcom.com; kishore.padmanabha@broadcom.com; lance.richardson@bro= adcom.com; michael.wildt@broadcom.com; peter.spreadborough@broadcom.com; so= mnath.kotur@broadcom.com; stuart.schacher@broadcom.com; sunila.sahu@caviumn= etworks.com; hyonkim@cisco.com; vatangchengchang@huawei.com; adwivedi@marve= ll.com; anoobj@marvell.com; asekhar@marvell.com; gmuthukrishn@marvell.com; = hkalra@marvell.com; jerinj@marvell.com; kirankumark@marvell.com; ktejasree@= marvell.com; ndabilpuram@marvell.com; pbhagavatula@marvell.com; psatheesh@m= arvell.com; schalla@marvell.com; skori@marvell.com; sthotton@marvell.com; t= duszynski@marvell.com; jackmin@mellanox.com; viacheslavo@mellanox.com; xuem= ingl@mellanox.com; stephen@networkplumber.org; dkozlyuk@nvidia.com; eagosti= ni@nvidia.com; shunh@nvidia.com; suanmingm@nvidia.com; xuemingl@nvidia.com;= apeksha.gupta@nxp.com; franck.lenormand@nxp.com; g.singh@nxp.com; hemant.a= grawal@nxp.com; jun.yang@nxp.com; nipun.gupta@nxp.com; shreyansh.jain@nxp.c= om; ivan.ilchenko@oktetlabs.ru; zyta.szpak@semihalf.com; jiawenwu@trustneti= c.com; vsrivast@xilinx.com Cc: thomas@monjalon.net; Yigit, Ferruh ; Morrissey,= Sean ; dev@dpdk.org; jerinj@marvell.com Subject: Open Coverity defects in DPDK Folks, If your email is on the "To" list then you have an open defect in the DPDK = Coverity database. Due to an issue with an automated emailer you may not ha= ve received an email notifying you about this. We will try to send them aga= in. In the meantime you can see the defects against your email in the list belo= w. If you spot any email addresses that are no longer valid please let me a= nd Sean know. You can review the defects online at: http://scan.coverity.com/projects/dpdk-data-plane-development-kit If you aren't registered for the DPDK Coverity you can do so here: http://scan.coverity.com/users/sign_up CID Type Owner ------ ------------------------------ ----------------------------- 373712 Resource leak gaetan.rivet@6wind.com 373890 Negative array index read ilyes.ben_hamouda@6wind.com 373888 Out-of-bounds read ilyes.ben_hamouda@6wind.com 373855 Logically dead code olivier.matz@6wind.com 373686 Waiting while holding a lock olivier.matz@6wind.com 369668 Out-of-bounds access ajit.khaparde@broadcom.com 371896 Out-of-bounds access farah.smith@broadcom.com 371894 Out-of-bounds access farah.smith@broadcom.com 369660 Out-of-bounds access kalesh-anakkur.purayil@broadcom.com<= mailto:kalesh-anakkur.purayil@broadcom.com> 373390 Untrusted value as argument kishore.padmanabha@broadcom.com 373389 Untrusted value as argument kishore.padmanabha@broadcom.com 369669 Out-of-bounds read lance.richardson@broadcom.com 374939 Dereference after null check michael.wildt@broadcom.com 369665 Out-of-bounds access peter.spreadborough@broadcom.com 372064 Uninitialized scalar variable somnath.kotur@broadcom.com 369667 Out-of-bounds access somnath.kotur@broadcom.com 369666 Out-of-bounds access somnath.kotur@broadcom.com 369662 Out-of-bounds access somnath.kotur@broadcom.com 369661 Out-of-bounds access somnath.kotur@broadcom.com 369659 Out-of-bounds access somnath.kotur@broadcom.com 369658 Out-of-bounds access stuart.schacher@broadcom.com 373869 Unchecked return value sunila.sahu@caviumnetworks.com 373365 Dereference null return value sunila.sahu@caviumnetworks.com 375064 Dereference after null check hyonkim@cisco.com 367379 Failure to restore non-local vatangchengchang@huawei.com 372137 Untrusted value as argument adwivedi@marvell.com 372138 Untrusted value as argument anoobj@marvell.com 370218 Dereference null return value asekhar@marvell.com 373635 Logically dead code gmuthukrishn@marvell.com 373628 Dereference null return value gmuthukrishn@marvell.com 374858 Unchecked return value hkalra@marvell.com 371880 Uninitialized scalar variable jerinj@marvell.com 371876 Uninitialized scalar variable jerinj@marvell.com 372065 Explicit null dereferenced kirankumark@marvell.com 370225 Uninitialized pointer read kirankumark@marvell.com 370224 Uninitialized pointer read kirankumark@marvell.com 370223 Uninitialized pointer read kirankumark@marvell.com 370221 Uninitialized pointer read kirankumark@marvell.com 370220 Uninitialized pointer read kirankumark@marvell.com 370219 Uninitialized pointer read kirankumark@marvell.com 370217 Uninitialized pointer read kirankumark@marvell.com 370214 Uninitialized pointer read kirankumark@marvell.com 373857 Out-of-bounds access ktejasree@marvell.com 371877 Uninitialized scalar variable ndabilpuram@marvell.com 371872 Uninitialized scalar variable ndabilpuram@marvell.com 370215 Unchecked return value ndabilpuram@marvell.com 370213 Unchecked return value ndabilpuram@marvell.com 374991 Resource leak pbhagavatula@marvell.com 374990 Resource leak pbhagavatula@marvell.com 370587 Uninitialized pointer read pbhagavatula@marvell.com 370580 Unsigned compared against 0 pbhagavatula@marvell.com 370579 Uninitialized pointer read pbhagavatula@marvell.com 370578 Uninitialized scalar variable pbhagavatula@marvell.com 370222 Dereference null return value pbhagavatula@marvell.com 373870 Division or modulo by zero psatheesh@marvell.com 373258 Unintended sign extension psatheesh@marvell.com 373859 Dereference after null check schalla@marvell.com 373630 Uninitialized scalar variable skori@marvell.com 373636 Uninitialized scalar variable sthotton@marvell.com 373623 Uninitialized scalar variable sthotton@marvell.com 373361 Logically dead code sthotton@marvell.com 370584 Reliance on integer endianness sthotton@marvell.com 370582 Reliance on integer endianness sthotton@marvell.com 370581 Division or modulo by float zersthotton@marvell.com 371873 Wrong sizeof argument tduszynski@marvell.com 373627 Dereference after null check jackmin@mellanox.com 373633 Out-of-bounds access viacheslavo@mellanox.com 373708 Waiting while holding a lock xuemingl@mellanox.com 373664 Unchecked return value stephen@networkplumber.org 373662 Unchecked return value stephen@networkplumber.org 373661 Dereference after null check stephen@networkplumber.org 375091 Division or modulo by zero dkozlyuk@nvidia.com 374940 Uninitialized scalar variable eagostini@nvidia.com 374376 Unchecked return value eagostini@nvidia.com 374373 Uninitialized pointer read eagostini@nvidia.com 370611 Bad bit shift operation shunh@nvidia.com 374378 Structurally dead code suanmingm@nvidia.com 373691 Waiting while holding a lock xuemingl@nvidia.com 374021 Untrusted value as argument apeksha.gupta@nxp.com 374020 Argument cannot be negative apeksha.gupta@nxp.com 374017 Resource leak apeksha.gupta@nxp.com 374016 Unused value apeksha.gupta@nxp.com 374015 String not null terminated apeksha.gupta@nxp.com 373161 Structurally dead code franck.lenormand@nxp.com 373908 Unused value g.singh@nxp.com 373907 Unused value g.singh@nxp.com 373619 Out-of-bounds access g.singh@nxp.com 373621 Resource leak hemant.agrawal@nxp.com 373618 Uninitialized scalar variable hemant.agrawal@nxp.com 373617 Argument cannot be negative hemant.agrawal@nxp.com 373424 Dereference before null check hemant.agrawal@nxp.com 373422 Dereference before null check hemant.agrawal@nxp.com 373421 Unintentional integer overflow hemant.agrawal@nxp.com 373415 Dereference before null check hemant.agrawal@nxp.com 373414 Dereference before null check hemant.agrawal@nxp.com 373412 Dereference before null check hemant.agrawal@nxp.com 367380 Dereference before null check hemant.agrawal@nxp.com 375066 Resource leak jun.yang@nxp.com 375063 Resource leak jun.yang@nxp.com 375062 Resource leak jun.yang@nxp.com 375061 Resource leak jun.yang@nxp.com 375060 Argument cannot be negative jun.yang@nxp.com 367378 Explicit null dereferenced nipun.gupta@nxp.com 373703 Resource leak shreyansh.jain@nxp.com 373874 Uninitialized scalar variable ivan.ilchenko@oktetlabs.ru 372201 Unchecked return value zyta.szpak@semihalf.com 373893 Out-of-bounds write jiawenwu@trustnetic.com 373884 Logically dead code jiawenwu@trustnetic.com 373883 Memset buffer size of 0 jiawenwu@trustnetic.com 373880 Out-of-bounds read jiawenwu@trustnetic.com 373873 Unchecked return value jiawenwu@trustnetic.com 373881 Dereference after null check vsrivast@xilinx.com 373876 Dereference after null check vsrivast@xilinx.com 373872 Dereference after null check vsrivast@xilinx.com --_000_DM6PR11MB3227FF2DBB8E2C43B4514BDCFC309DM6PR11MB3227namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

= P.S., In Coverity there are a number of "Out-of-bounds access (OVERRUN= )" defects that relate to rte_memcpy() or one of the wrappers around i= t. They look like this:

=  

=      

=     CID 362728 (#1 of 1): Out-of-bounds access (OVERRUN= )

=     11. overrun-buffer-val: Overrunning array tdata->auth= _tag.data of 16 bytes by

=         passing it to a function wh= ich accesses it at byte offset 160.

=     8182        = ;        rte_memcpy(sym_op->aead.dige= st.data, tdata->auth_tag.data,

=     8183        &nbs= p;             =   tdata->auth_tag.len);

=     8184        &nbs= p;       debug_hexdump(stdout, "digest:&= quot;,

=     8185        &nbs= p;            &= nbsp;  sym_op->aead.digest.data,

=     8186        &nbs= p;            &= nbsp;  tdata->auth_tag.len);

=     8187        }

=  

= As far as we can tell these are false positives since there are a number of= different size handling statements in rte_memcpy() and an issue like this = would result in an immediate error under any sort of load.

=  

= In this case you can edit the defect online and change the defect "Cla= ssification" to "False Positive" and change the "Action= " to "Ignore".

=  

= If anyone disagrees and thinks that this is a real issue, let me know.=

=  

= John

=  

=  

=  

From: Mcnamara, John <john.mcnamara@intel.com>
Sent: Thursday, February 10, 2022 8:44 PM
To: gaetan.rivet@6wind.com; ilyes.ben_hamouda@6wind.com; olivier.mat= z@6wind.com; ajit.khaparde@broadcom.com; farah.smith@broadcom.com; kalesh-a= nakkur.purayil@broadcom.com; kishore.padmanabha@broadcom.com; lance.richard= son@broadcom.com; michael.wildt@broadcom.com; peter.spreadborough@broadcom.com; somnath.kotur@broadcom.com; stuart.schac= her@broadcom.com; sunila.sahu@caviumnetworks.com; hyonkim@cisco.com; vatang= chengchang@huawei.com; adwivedi@marvell.com; anoobj@marvell.com; asekhar@ma= rvell.com; gmuthukrishn@marvell.com; hkalra@marvell.com; jerinj@marvell.com; kirankumark@marvell.com; ktejasree= @marvell.com; ndabilpuram@marvell.com; pbhagavatula@marvell.com; psatheesh@= marvell.com; schalla@marvell.com; skori@marvell.com; sthotton@marvell.com; = tduszynski@marvell.com; jackmin@mellanox.com; viacheslavo@mellanox.com; xuemingl@mellanox.com; stephen@networkplumber.or= g; dkozlyuk@nvidia.com; eagostini@nvidia.com; shunh@nvidia.com; suanmingm@n= vidia.com; xuemingl@nvidia.com; apeksha.gupta@nxp.com; franck.lenormand@nxp= .com; g.singh@nxp.com; hemant.agrawal@nxp.com; jun.yang@nxp.com; nipun.gupta@nxp.com; shreyansh.jain@nxp.com; ivan.ilchen= ko@oktetlabs.ru; zyta.szpak@semihalf.com; jiawenwu@trustnetic.com; vsrivast= @xilinx.com
Cc: thomas@monjalon.net; Yigit, Ferruh <ferruh.yigit@intel.com>= ;; Morrissey, Sean <sean.morrissey@intel.com>; dev@dpdk.org; jerinj@m= arvell.com
Subject: Open Coverity defects in DPDK

 

= Folks,

=  

= If your email is on the "To" list then you have an open defect in= the DPDK Coverity database. Due to an issue with an automated emailer you = may not have received an email notifying you about this. We will try to send them again.

=  

= In the meantime you can see the defects against your email in the list belo= w. If you spot any email addresses that are no longer valid please let me a= nd Sean know.

=  

= You can review the defects online at:

=  

=     http://scan.coverity.com/projects/dpdk-data-plane-development-kit<= /o:p>

=  

= If you aren't registered for the DPDK Coverity you can do so here:

=  

=     http://scan.coverity.com/users/sign_up

=  

=  

=  

= CID     Type       &= nbsp;           &nbs= p;       Owner

= ------  ------------------------------ -----------------------------&n= bsp;            = ;            &n= bsp;    

= 373712  Resource leak        &= nbsp;         gaetan.rivet@6wind.com &= nbsp;           &nbs= p;

= 373890  Negative array index read      ilyes.ben_hamouda@6wind.com<= /a>         

= 373888  Out-of-bounds read       &n= bsp;     ilyes.ben_hamouda@6wind.com<= /a>         

= 373855  Logically dead code       &= nbsp;    olivier.matz@6wind.com &= nbsp;           &nbs= p;

= 373686  Waiting while holding a lock   olivier.matz@6wind.com &= nbsp;           &nbs= p;

= 369668  Out-of-bounds access       =     ajit.khaparde@broadcom.com          

= 371896  Out-of-bounds access       =     farah.smith@broadcom.com&nb= sp;           

= 371894  Out-of-bounds access       =     farah.smith@broadcom.com&nb= sp;           

= 369660  Out-of-bounds access       =     kalesh-anakkur.puray= il@broadcom.com 

= 373390  Untrusted value as argument    kishore.padmanabha@broad= com.com     

= 373389  Untrusted value as argument    kishore.padmanabha@broad= com.com     

= 369669  Out-of-bounds read       &n= bsp;     lance.richardson@broadcom.= com       

= 374939  Dereference after null check   michael.wildt@broadcom.com           

= 369665  Out-of-bounds access       =     peter.spreadborough@bro= adcom.com    

= 372064  Uninitialized scalar variable  somnath.kotur@broadcom.com          

= 369667  Out-of-bounds access       =     somnath.kotur@broadcom.com          

= 369666  Out-of-bounds access       =     somnath.kotur@broadcom.com          

= 369662  Out-of-bounds access       =     somnath.kotur@broadcom.com          

= 369661  Out-of-bounds access       =     somnath.kotur@broadcom.com          

= 369659  Out-of-bounds access       =     somnath.kotur@broadcom.com          

= 369658  Out-of-bounds access       =     stuart.schacher@broadcom.co= m        

= 373869  Unchecked return value      &nbs= p;  sunila.sahu@caviumnetwork= s.com      

= 373365  Dereference null return value  sunila.sahu@caviumnetwork= s.com       

= 375064  Dereference after null check   hyonkim@cisco.com   = ;            &n= bsp;   

= 367379  Failure to restore non-local   vatangchengchang@huawei.com<= /a>         

= 372137  Untrusted value as argument    adwivedi@marvell.com  = ;            &n= bsp; 

= 372138  Untrusted value as argument    anoobj@marvell.com  &nb= sp;            =    

= 370218  Dereference null return value  asekhar@marvell.com  &= nbsp;           &nbs= p;  

= 373635  Logically dead code       &= nbsp;    gmuthukrishn@marvell.com&nb= sp;           

= 373628  Dereference null return value  gmuthukrishn@marvell.com&nb= sp;           

= 374858  Unchecked return value      &nbs= p;  hkalra@marvell.com  &nb= sp;            =    

= 371880  Uninitialized scalar variable  jerinj@marvell.com  &nb= sp;            =    

= 371876  Uninitialized scalar variable  jerinj@marvell.com  &nb= sp;            =    

= 372065  Explicit null dereferenced     kirankumark@marvell.com = ;            

= 370225  Uninitialized pointer read     kirankumark@marvell.com = ;            

= 370224  Uninitialized pointer read     kirankumark@marvell.com = ;            

= 370223  Uninitialized pointer read     kirankumark@marvell.com = ;            

= 370221  Uninitialized pointer read     kirankumark@marvell.com = ;            

= 370220  Uninitialized pointer read     kirankumark@marvell.com = ;            

= 370219  Uninitialized pointer read     kirankumark@marvell.com = ;            

= 370217  Uninitialized pointer read     kirankumark@marvell.com = ;            

= 370214  Uninitialized pointer read     kirankumark@marvell.com = ;             <= o:p>

= 373857  Out-of-bounds access       =     ktejasree@marvell.com &nb= sp;            =  

= 371877  Uninitialized scalar variable  ndabilpuram@marvell.com = ;            

= 371872  Uninitialized scalar variable  ndabilpuram@marvell.com = ;            

= 370215  Unchecked return value      &nbs= p;  ndabilpuram@marvell.com = ;            

= 370213  Unchecked return value      &nbs= p;  ndabilpuram@marvell.com = ;            

= 374991  Resource leak        &= nbsp;         pbhagavatula@marvell.com&nb= sp;           

= 374990  Resource leak        &= nbsp;         pbhagavatula@marvell.com&nb= sp;           

= 370587  Uninitialized pointer read     pbhagavatula@marvell.com&nb= sp;           

= 370580  Unsigned compared against 0    pbhagavatula@marvell.com&nb= sp;           

= 370579  Uninitialized pointer read     pbhagavatula@marvell.com&nb= sp;            =

= 370578  Uninitialized scalar variable  pbhagavatula@marvell.com&nb= sp;           

= 370222  Dereference null return value  pbhagavatula@marvell.com&nb= sp;           

= 373870  Division or modulo by zero     psatheesh@marvell.com &nb= sp;            =  

= 373258  Unintended sign extension      psatheesh@marvell.com &nb= sp;            =  

= 373859  Dereference after null check   schalla@marvell.com  &= nbsp;           &nbs= p;  

= 373630  Uninitialized scalar variable  skori@marvell.com   = ;            &n= bsp;   

= 373636  Uninitialized scalar variable  sthotton@marvell.com  = ;            &n= bsp; 

= 373623  Uninitialized scalar variable  sthotton@marvell.com  = ;            &n= bsp; 

= 373361  Logically dead code       &= nbsp;    sthotton@marvell.com  = ;            &n= bsp; 

= 370584  Reliance on integer endianness sthotton@marvell.com  = ;            &n= bsp; 

= 370582  Reliance on integer endianness sthotton@marvell.com  = ;            &n= bsp; 

= 370581  Division or modulo by float zersthotton@marvell.com = ;            &n= bsp;  

= 371873  Wrong sizeof argument       = ;   tduszynski@marvell.com &= nbsp;           &nbs= p;

= 373627  Dereference after null check   jackmin@mellanox.com  = ;            &n= bsp; 

= 373633  Out-of-bounds access       =     viacheslavo@mellanox.com&nb= sp;           

= 373708  Waiting while holding a lock   xuemingl@mellanox.com &nb= sp;            =  

= 373664  Unchecked return value      &nbs= p;  stephen@networkplumber.org          

= 373662  Unchecked return value      &nbs= p;  stephen@networkplumber.org          

= 373661  Dereference after null check   stephen@networkplumber.org           

= 375091  Division or modulo by zero     dkozlyuk@nvidia.com  &= nbsp;           &nbs= p;  

= 374940  Uninitialized scalar variable  eagostini@nvidia.com  = ;            &n= bsp; 

= 374376  Unchecked return value      &nbs= p;  eagostini@nvidia.com  = ;            &n= bsp; 

= 374373  Uninitialized pointer read     eagostini@nvidia.com  = ;            &n= bsp; 

= 370611  Bad bit shift operation      &nb= sp; shunh@nvidia.com   &= nbsp;           &nbs= p;    

= 374378  Structurally dead code      &nbs= p;  suanmingm@nvidia.com  = ;            &n= bsp; 

= 373691  Waiting while holding a lock   xuemingl@nvidia.com  &= nbsp;           &nbs= p;  

= 374021  Untrusted value as argument    apeksha.gupta@nxp.com &nb= sp;            =  

= 374020  Argument cannot be negative    apeksha.gupta@nxp.com &nb= sp;            =  

= 374017  Resource leak        &= nbsp;         apeksha.gupta@nxp.com &nb= sp;             = ; 

= 374016  Unused value        &n= bsp;          apeksha.gupta@nxp.com &nb= sp;            =  

= 374015  String not null terminated     apeksha.gupta@nxp.com &nb= sp;            =  

= 373161  Structurally dead code      &nbs= p;  franck.lenormand@nxp.com&nb= sp;           

= 373908  Unused value         &= nbsp;         g.singh@nxp.com      &= nbsp;           &nbs= p;  

= 373907  Unused value        &n= bsp;          g.singh@nxp.com   &nb= sp;            =      

= 373619  Out-of-bounds access       =     g.singh@nxp.com   &nb= sp;            =      

= 373621  Resource leak        &= nbsp;         hemant.agrawal@nxp.com &= nbsp;           &nbs= p;

= 373618  Uninitialized scalar variable  hemant.agrawal@nxp.com &= nbsp;           &nbs= p;

= 373617  Argument cannot be negative    hemant.agrawal@nxp.com &= nbsp;           &nbs= p;

= 373424  Dereference before null check  hemant.agrawal@nxp.com &= nbsp;           &nbs= p;

= 373422  Dereference before null check  hemant.agrawal@nxp.com &= nbsp;           &nbs= p;

= 373421  Unintentional integer overflow hemant.agrawal@nxp.com &= nbsp;           &nbs= p;

= 373415  Dereference before null check  hemant.agrawal@nxp.com &= nbsp;           &nbs= p;

= 373414  Dereference before null check  hemant.agrawal@nxp.com &= nbsp;           &nbs= p;

= 373412  Dereference before null check  hemant.agrawal@nxp.com &= nbsp;           &nbs= p;

= 367380  Dereference before null check  hemant.agrawal@nxp.com &= nbsp;           &nbs= p;

= 375066  Resource leak        &= nbsp;         jun.yang@nxp.com   &= nbsp;           &nbs= p;    

= 375063  Resource leak        &= nbsp;         jun.yang@nxp.com   &= nbsp;           &nbs= p;    

= 375062  Resource leak        &= nbsp;         jun.yang@nxp.com   &= nbsp;           &nbs= p;     

= 375061  Resource leak        &= nbsp;         jun.yang@nxp.com   &= nbsp;           &nbs= p;    

= 375060  Argument cannot be negative    jun.yang@nxp.com   &= nbsp;           &nbs= p;    

= 367378  Explicit null dereferenced     nipun.gupta@nxp.com  &= nbsp;           &nbs= p;  

= 373703  Resource leak         =          shreyansh.jain@nxp.com    &nbs= p;         

= 373874  Uninitialized scalar variable  ivan.ilchenko@oktetlabs.ru          

= 372201  Unchecked return value      &nbs= p;  zyta.szpak@semihalf.com = ;            

= 373893  Out-of-bounds write       &= nbsp;    jiawenwu@trustnetic.com = ;            

= 373884  Logically dead code       &= nbsp;    jiawenwu@trustnetic.com = ;            

= 373883  Memset buffer size of 0      &nb= sp; jiawenwu@trustnetic.com = ;            

= 373880  Out-of-bounds read       &n= bsp;     jiawenwu@trustnetic.com = ;             <= o:p>

= 373873  Unchecked return value      &nbs= p;  jiawenwu@trustnetic.com = ;            

= 373881  Dereference after null check   vsrivast@xilinx.com  &= nbsp;           &nbs= p;  

= 373876  Dereference after null check   vsrivast@xilinx.com  &= nbsp;           &nbs= p;  

= 373872  Dereference after null check   vsrivast@xilinx.com  &= nbsp;           &nbs= p;  

--_000_DM6PR11MB3227FF2DBB8E2C43B4514BDCFC309DM6PR11MB3227namp_--