Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934966AbeAKQ2e (ORCPT + 1 other); Thu, 11 Jan 2018 11:28:34 -0500 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:61662 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934208AbeAKQ2b (ORCPT ); Thu, 11 Jan 2018 11:28:31 -0500 X-IronPort-AV: E=Sophos;i="5.46,345,1511798400"; d="scan'208";a="68939297" From: Bart Van Assche To: "syzkaller@googlegroups.com" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , "dgilbert@interlog.com" , "martin.petersen@oracle.com" , "dvyukov@google.com" , "axboe@kernel.dk" , "linux-scsi@vger.kernel.org" , "jejb@linux.vnet.ibm.com" Subject: Re: scsi: memory leak in sg_start_req Thread-Topic: scsi: memory leak in sg_start_req Thread-Index: AQHTiWPK8WrRCVCA8Eap+VxjUH2CzqNuMS6AgACudYA= Date: Thu, 11 Jan 2018 16:28:28 +0000 Message-ID: <1515688107.2752.12.camel@wdc.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bart.VanAssche@wdc.com; x-originating-ip: [199.255.44.172] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY1PR0401MB1534;20:rjU/4ezPJkutEyqocL2eIqJ79nFU0fm/9fqJvz0oID2sfGtkLWTT3WQ4EN2hfjZMvdOM1gZzttFhugNDRMYPC26mUv3zXqeRJYamPNs5SvmLWcD+N0/Wf4nwt1ADnnZ/AqZHNAi6fJj+RaR+V/P+SscwIpP199QWpXrXPCS5HtM= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 3913830b-225b-4e36-3741-08d559105907 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(5600026)(4604075)(3008032)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603307)(7153060)(7193020);SRVR:CY1PR0401MB1534; x-ms-traffictypediagnostic: CY1PR0401MB1534: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(20558992708506)(72170088055959); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231023)(944501075)(6055026)(6041268)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123560045)(6072148)(201708071742011);SRVR:CY1PR0401MB1534;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:CY1PR0401MB1534; x-forefront-prvs: 0549E6FD50 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(39380400002)(39860400002)(346002)(366004)(376002)(24454002)(199004)(189003)(377424004)(53936002)(110136005)(99286004)(76176011)(316002)(6246003)(66066001)(25786009)(103116003)(2900100001)(72206003)(6436002)(5660300001)(6116002)(2201001)(14454004)(478600001)(2950100002)(102836004)(6512007)(86362001)(6486002)(77096006)(8936002)(2906002)(3280700002)(81156014)(81166006)(68736007)(305945005)(8676002)(2501003)(7736002)(229853002)(3846002)(97736004)(6506007)(36756003)(3660700001)(106356001)(105586002)(505234006);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR0401MB1534;H:CY1PR0401MB1536.namprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; x-microsoft-antispam-message-info: P8a6+6rVuPZmGP57Pt/GTBcQ+y3JyQmC15awBNjG2lpZI3A+e1bbhCYc7LFqK2+XOOHlNjJedh/MYjzTr8mIkw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <4D643A48D0135844A3815CB59895704E@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3913830b-225b-4e36-3741-08d559105907 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jan 2018 16:28:28.9537 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0401MB1534 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: T24gVGh1LCAyMDE4LTAxLTExIGF0IDAxOjA0IC0wNTAwLCBEb3VnbGFzIEdpbGJlcnQgd3JvdGU6 DQo+IE1vbml0b3JpbmcgdGhhdCBwcm9ncmFtIHdpdGggJ2ZyZWUnIGZyb20gYW5vdGhlciB0ZXJt aW5hbCBJIHNlZQ0KPiBhYm91dCAyLjUgR0J5dGVzIG9mIHJhbSAic3dhbGxvd2VkIiBhbG1vc3Qg aW1tZWRpYXRlbHkgd2hlbiB0aGUgdGVzdA0KPiBwcm9ncmFtIHJ1bnMuIFdoZW4gdGhlIHByb2dy YW0gZXhpdHMgKGFib3V0IDUwIHNlY29uZHMgbGF0ZXIpIGFzIGZhcg0KPiBhcyBJIGNhbiBzZWUg YWxsIHRoYXQgcmFtIGlzIGdpdmVuIGJhY2suDQoNCkhlbGxvIERvdWcsDQoNClRoZXJlIGlzIHBy b2JhYmx5IHNvbWV0aGluZyB0aGF0J3MgbGVha2luZyBtZW1vcnkgaW4gb25lIG9mIHRoZSBmdW5j dGlvbnMgaW4NCnRoZSByZXBvcnRlZCBjYWxsIHN0YWNrLiBrbWVtbGVhayByZXBvcnRzIHRoZSBm b2xsb3dpbmcgaW4gbXkgdGVzdHMgKEkgaGF2ZW4ndA0KaGFkIHRoZSB0aW1lIHlldCB0byBhbmFs eXplIHRoaXMgZnVydGhlcik6DQoNCnVucmVmZXJlbmNlZCBvYmplY3QgMHhmZmZmODgwMzYz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