Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753965AbdFMVGi (ORCPT ); Tue, 13 Jun 2017 17:06:38 -0400 Received: from mail-by2nam03on0048.outbound.protection.outlook.com ([104.47.42.48]:51768 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753885AbdFMVGc (ORCPT ); Tue, 13 Jun 2017 17:06:32 -0400 Authentication-Results: spf=temperror (sender IP is 208.19.100.20) smtp.mailfrom=microsemi.com; canonical.com; dkim=none (message not signed) header.d=none;canonical.com; dmarc=temperror action=none header.from=microsemi.com; From: Dave Carroll To: Colin King , Raghava Aditya Renukunta , dl-esc-Aacraid Linux Driver , "James E . J . Bottomley" , "Martin K . Petersen" , "linux-scsi@vger.kernel.org" CC: "kernel-janitors@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] scsi: aacraid: fix leak of data from stack back to userspace Thread-Topic: [PATCH] scsi: aacraid: fix leak of data from stack back to userspace Thread-Index: AQHSzYtj+9m+3HtDkUCkOK8tvKFKIqIjdhsw Date: Tue, 13 Jun 2017 21:06:02 +0000 Message-ID: <423FD6710FB8FB4F8728F93591889F9A53045C92@avsrvexchmbx2.microsemi.net> References: <20170515145605.21461-1-colin.king@canonical.com> In-Reply-To: <20170515145605.21461-1-colin.king@canonical.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.100.34.10] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:208.19.100.20;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(39840400002)(39860400002)(39400400002)(39450400003)(39850400002)(39410400002)(2980300002)(189002)(199003)(13464003)(377454003)(229853002)(4326008)(8936002)(55846006)(478600001)(69596002)(2920100001)(5660300001)(6116002)(81166006)(3846002)(50986999)(102836003)(2900100001)(356003)(81156014)(54356999)(76176999)(33656002)(189998001)(2950100002)(23676002)(2906002)(6246003)(53416004)(38730400002)(49446005)(104016004)(7736002)(7696004)(53936002)(2501003)(8676002)(53546009)(50466002)(47776003)(9686003)(5250100002)(97736004)(106466001)(305945005)(54906002)(68736007)(86362001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR02MB2631;H:avsrvexchhts2.microsemi.net;FPR:;SPF:TempError;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD056;1:Bz7/svX4nlwzslcLuEfq3sJs3COPXarERElEU2qEg2oYR/NQG6og0RjGPufpAqSlChLrdIHcDPi9GvPOcQw0ELbOKEW8fKswtWUCKPr2Z1tMc8neN0z6uP4Hf5N8DI8e7sCWINI3dGDwGqa72EHyWrGaHXNBk6SvgdGhxlIpPPrTr3PuEeJv2iJj5QV9t8E6h6xEXQi3HZhSF5/PmYZsVlyWX6QEuLwEAC4RXqHdTwWor9Zdo2/PKfBMCResPNi8pFi2yQwPjf+shrvshmGg9mh277qTn7pqGLo7ftD2aKKdJpjWTMhJjaU3ah+YTB8OnlPp+6wmbZ7KrgARssWqQwnojwKp+JLJk2pZYD95IwMKEgbSxmTX60CcTJ+bO+q3q1ncj6Ljz4mxmAGtYYlN34FeJInKqGk7f0oP2HaPgQasxnBPzoEPAGXG871F0BB2yVPuyWKEWEMAWN0obIpr0bkpDNIESwe+Vldq+/8X2BDTFvRoVo9DWE1ndaPlU4hN X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PR02MB2631: X-MS-Office365-Filtering-Correlation-Id: 7eca6e37-f31d-408e-aa2a-08d4b2a00e6a X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(201703131423075)(201703031133081);SRVR:CY4PR02MB2631; X-Microsoft-Exchange-Diagnostics: 1;CY4PR02MB2631;3:nerkoKr93oGii+QK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J+R/EDjNo3C7SQkY5vATRUfGulrE+huwjalXdfPQbiAg9GCKyqIzrF+i8V1XlY4LatVghhFdVlkdTc4tOzMhJBNwb/6FsqG7yxzenzUMErpPrE3smCSWghRw5BZDWTJ72JYxmlN/trACshZv7RYf1AVo8cRuUdSHnvo+sfFEdC+mqE9ihXVGhDnpnqLsagYg== X-Microsoft-Exchange-Diagnostics: 1;CY4PR02MB2631;20:62MN76Yh4BQe7Rt+3xsuqt0FXI93oOLIxdQLlkQYcLPgEKbmuA+bTNTbI7EsJ2BdrEaVs8V1s84sfE0Ig5QY1N/MJ+kpuflacPSDqIJkHyNz1YZE/ROMgZA8nW/zKm4Px/OwUq9Ezja47F+sBLP0k05NkgV+wtP0W8J6w4cZkfI/SVpfXC9zXJfFx4xCLsHp0FvBX95ZDT+VvlhnG2lU31Gv2gasZGMLRv2r1oNX+JY9cFC2+6Mo8rsVHz5ZvNUKPjKRFtdb7frGfT7OBg3isYcsLMSZaS51kvx0ryXvlhy8eilJb0WHn+paFXm6lG7Jnkb1gGyWOyaRuMbo6lIrK4lWVU2ymUHQLmBgbbozlN/cfhoXaY1iQNvQezEKRsDFvJHRse7zflkrfoI+FZe2HFVM3Q3UwgzCN+KwyadbrnvWmXSjiFlR893jntd4iC/MykvP0TJ/tA/gQ0OVXg4uy+xk8avpwVKrLTte7t5Wz0eK9/EbjS2K8uR9jxDEXeVb X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(9452136761055)(72170198267865)(104084551191319)(146099531331640)(198206253151910); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(13016025)(8121501046)(13018025)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123560025)(20161123555025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY4PR02MB2631;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY4PR02MB2631; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjAyTUIyNjMxOzQ6MW5FcmRnTFN3NmVrVnNiMXRqbHdEeCtmdXRy?= =?utf-8?B?OVAvYis1azRTMDU5blZQRllwSHVXenIrM21lZjJiOHhBbkRLOWplbmtQQWJv?= =?utf-8?B?VGZ3NFVQTTE5bmltb29qNHRZRVZIWC9GMVBLemtuYW83MFRkWDdDNEZ3Tml4?= =?utf-8?B?RTNsSE11dTk1amxWOThCN2gxcUp3aHZMcFFnUXBaOEdDYjJ0U0FCdlJoN2dz?= =?utf-8?B?d1QxUi9Lak5RWGVJYmxlUldsdmlNZ3RuQ2JleWN2ZTBPazQ3aWNtSTJFZVBl?= =?utf-8?B?WlE2ZDNyeUdnVkZZVHFpOXVhN2hEaGtRZFpNaXBaMm0wMEk5Yy8rK2YxSWxO?= =?utf-8?B?RnJ5SjVnaWRSR3Jub1E3YUltTk1DbFRnSlpBWU5HNUtvTEhjODByRnVrVFAr?= =?utf-8?B?R3dQTnRZZ3dsZis5TzVzT1lBdHM5cEo3RHhkdHliZEg1UFMrY1VyaDNycGJl?= =?utf-8?B?UW1hcjh2L3lpSDVMMnBnaGpKVHIzclhXSThPc09YZzlaSW9qSGJoc3dFU2lB?= =?utf-8?B?cXYxMDFmYnMzOXY1YjdyZTM0RWpvWWRDM3pnYkZJRThTSjRaVGlQV1NQaXBa?= =?utf-8?B?ai9PZjhJeUVhRlg4R2NXWWY0b3V6ZVB2Z211dEh4UmpGWlkxMjUwQnh4Si96?= =?utf-8?B?Rk16TU1walF6SFZub3JLcS9qdjNmM1I0RWtWbGpUNFRCcGhqMFFxWkpNamhN?= =?utf-8?B?emE4NjZ5dkw2cklxYTBhZzNSc3pyT0N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exchange-Diagnostics: 1;CY4PR02MB2631;5:Cyoy6AnPamU+CV4RMadnb6ohUqCIAzEJcbwFba1GyucHte5mnYbltmlnPLdh8uTgS2t6gyzUy8zdQ1eSo5qfsidLr1JA2kJQBzC2P+cSQanE3DLJaptRUSgG04rH1h25m4NUebdyyYHMFpUluZCZN2IYEPx3Lk3YFC9Qs5aK6q5t2TJXNkX2376R0qNdRDYg00De8lemL9JBej/159hvngV4cD24SSdDBGHCVtI6rXrFKC+QZLVoVVmpB70mQBWOWifZgfqQ9EX2nS+cGSa07KpM2gLa9m/ZtFDRMC100s+whAdjBwt6fsmU1a5GODdQcuys3uqpvX2OgcvtLAuxcMYIa3QePRauXnBMOt2VLLZRZBRysgEsVz2XeXS3Tbf0TT8Lu/1D0uku8t2qFT2r4xxuNcFAb+yj4uxeNXCWkajCShwcrOsOdXHHf5xY7NPzCFdZP4+7gD43sEnJb3xCMtxIGY5IENdGGZUjMBfWDsqeKwMpUoydGeJEmeiAPWGP;24:atD1K7EkySr5OfaYwqnSK2mlZ4P4fpB1v+w0Lju/mBsUdWFQFc34SkolCKPKqCqP0ZAIvVoqngZONkKMvSktNO9nUrBL+qA21peSi9vrpmM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY4PR02MB2631;7:Ts2H/WKDwsizHqR2iOPQktXfdK1XvailZ1p5KsZ5rXXsafRPdGIn8j9cFgmy1zXlh/zM2mc079edWQ66IF1LL8qHrchhXa7skmo/HB1OLJ5R3frmD+f1T8nPO/J7cDQTR4S9/71adPpaggWWcq9I6TQ9Ae3jOQmNwtUGFRUlUqpgT8sC1+JDKTjXH2ZtaembQIPl8kdrGJ3h9wd6eH2WJF/uA+IWvd887rw4rYlmKIC0XWzMTp9f8xjIwgr1Z2ibGBmdMJlLeZXP/8sGzolmwFar10F8nt4HpxlITzIokSt+p8l6WW4rDYKK0SzvUBToDZLtam40Ay5rNRUcJ2FGTA== X-OriginatorOrg: microsemi.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2017 21:06:26.8877 (UTC) X-MS-Exchange-CrossTenant-Id: f267a5c8-86d8-4cc9-af71-1fd2c67c8fad X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f267a5c8-86d8-4cc9-af71-1fd2c67c8fad;Ip=[208.19.100.20];Helo=[avsrvexchhts2.microsemi.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR02MB2631 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id v5DL6nrp015520 Content-Length: 1123 Lines: 25 > -----Original Message----- > From: Colin King [mailto:colin.king@canonical.com] > Sent: Monday, May 15, 2017 8:56 AM > To: Raghava Aditya Renukunta ; > dl-esc-Aacraid Linux Driver ; James E . J . Bottomley > ; Martin K . Petersen > ; linux-scsi@vger.kernel.org > Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [PATCH] scsi: aacraid: fix leak of data from stack back to userspace > > From: Colin Ian King > > The fields sense_data_size and sense_data are unitialized garbage from the > stack and are being copied back to userspace. Fix this leak of stack information > by ensuring they are zero'd. > > Detected by CoverityScan, CID#1435473 ("Uninitialized scalar variable") > > Fixes: 423400e64d377 ("scsi: aacraid: Include HBA direct interface") > Signed-off-by: Colin Ian King > --- > drivers/scsi/aacraid/commctrl.c | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Dave Carroll