Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp512490imn; Tue, 26 Jul 2022 01:54:17 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tbdfiC/Av2tUBQwi+Lhn5/feg6YB9ndYY1mrKnRsBDOJe5Dhe/qO2xLshu+KTPz0PuwvDR X-Received: by 2002:a17:907:2710:b0:72b:7f52:75da with SMTP id w16-20020a170907271000b0072b7f5275damr13871428ejk.26.1658825657297; Tue, 26 Jul 2022 01:54:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658825657; cv=pass; d=google.com; s=arc-20160816; b=JLePxPysxv/86OeID+JLlKnmsC5kIL51jk85iQfKZe3HiF5U2/EqyAKSzXLw79aCCW PArJG0pY6SKMRbQPmbPngBRiVeSKBWE/eL16n9NG2UwObd6om4ON829UEvzPsW/JK+6r H3KmjEDIzwhTvHdo+k7dLF188xVYyku4w+9VzyMACPeS7sI+JjnAhQroa/s8V6CabltE VKswymnbUeAhSoBRx7pk6Yt1Do97qcw9ebJEeIfqP4Msyw7DHJ574Ppib9g9F5wGfG1k mZcl+vWoS84vnfwUUTqAjgacbs3Hri5x3hZ+X9g6frNYmbdlfsgg8R8+B84RcmpTecbT nJ/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=7zVTO92iRj0dkYBiorfWutEKRTVex/QBfCZk5nelVjI=; b=XZbd6DoLvD5QO+jgdBRO3t79feXP1uotPbwhBAOeNjh6//fhFM/6kVG4TGxdOziw7p v2MR8Boy1pl4T5FJD9m671BSss+WxUcwP6fmRMoO5PDwrZavAIPBCqloOfhFPO1nSIMy HGbrlyW0vt6XhDI9D8ja0NZWXcstPDP5n0Y+WEPU9kVvqbiPq/i7eiYgo1vH/3nOWpkV fS9HtBO945/p8trpRHjorhu43LnHKnOr/QZvO0oseUKi+fdbm38SX8/UPM4o67HEAotn FTjnIZlvtspvB7M/a5pDGfY/Xpz+/daG7KhfhhPiuUBz0TIO5rSJPZxeAhf8+Wn4oje4 rLwA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=hCJxDQOr; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fb.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb27-20020a1709077e9b00b0072f9b440ffbsi16341753ejc.225.2022.07.26.01.53.52; Tue, 26 Jul 2022 01:54:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=hCJxDQOr; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237981AbiGZInQ (ORCPT + 99 others); Tue, 26 Jul 2022 04:43:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230093AbiGZInP (ORCPT ); Tue, 26 Jul 2022 04:43:15 -0400 Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com [67.231.145.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FC2622BDA; Tue, 26 Jul 2022 01:43:14 -0700 (PDT) Received: from pps.filterd (m0109334.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 26Q0rlRA011124; Tue, 26 Jul 2022 01:43:14 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=7zVTO92iRj0dkYBiorfWutEKRTVex/QBfCZk5nelVjI=; b=hCJxDQOrgEhgyDWUhF01cVWmCMaNinFKzAvarvPGAqztQWlxGiBFwlpwirlDZSn0Pjcn oWlHW4Dwxkb5am3ZjpHpoGiDoWQWspZ/ZsXNQ16a+Ef7U0ygsk/QxySNRf8JuUxTOUna aSELtaWdtF6+UG6w3RNORfKxPqafWH/zyQ4= Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2048.outbound.protection.outlook.com [104.47.56.48]) by mx0a-00082601.pphosted.com (PPS) with ESMTPS id 3hhxbwn2rx-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Jul 2022 01:43:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H71hbloFEDZNw5f+GnUeVoCNVlgJP6gunJ9/8YRlFtAVf2F7znM2UbS5QD2ozI4yf3xEblCaCutRBlzSbQDlTUSTX2b9VlPwtxldMDqbBI3I0sbq3tK0KgL9y6TEcvMZl8U+dhjI+vg6tPlwr4SZvFj+3Coj4rkrnOdqFn2vN60ZsTbchtpc3hlKIzo742ECA82denKpguCQJybd9ESWEi4JFthg9frzdMFZQMhT5bqHrY4eRiZxVMysqtu7ZSDsO80MH91Pw/0YWM4K2GCH4NRrOwGIE9c2I+LBcQqZcq42HoIDbvDU/DYOph1M3S8+MGFY8Dm5c1SbbUlrxsFasg== 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=7zVTO92iRj0dkYBiorfWutEKRTVex/QBfCZk5nelVjI=; b=I7YPZ9qqmqsGWcp7+/8HnpoHPZ9R9tzWIWmjjcgUQuS0NPmwmbUon9YlWdpoGS7HC1NLdyqAFpUI/vMgVi21a8B/fpw88QZgZt73FrQZQ7pcJLWnPcoaSW5Y8FmVJ1qju0bOPxRAafDRWIPZVAmD3g5ykR8wF1Z/BX/PSh3omZhNJUqqz4MMlvhz8dHSOPgCONDysuVNWGqQJquAJgWpYH2Z315AQcvYfIOUsjXqhEE5/1Qbd1/yX4cX1bblJbCj8SQjLAwvJnvkAZCfkUFAGTSmqrCyJjM1Z7lVBc7SEln0ZBy3ZXv7ggJom5sIM7jF5QxGy/D6ljNSJge+gPUQmQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fb.com; dmarc=pass action=none header.from=fb.com; dkim=pass header.d=fb.com; arc=none Received: from SA1PR15MB4854.namprd15.prod.outlook.com (2603:10b6:806:1e1::19) by MW4PR15MB4539.namprd15.prod.outlook.com (2603:10b6:303:108::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.25; Tue, 26 Jul 2022 08:43:11 +0000 Received: from SA1PR15MB4854.namprd15.prod.outlook.com ([fe80::15b5:7935:b8c2:4504]) by SA1PR15MB4854.namprd15.prod.outlook.com ([fe80::15b5:7935:b8c2:4504%5]) with mapi id 15.20.5458.025; Tue, 26 Jul 2022 08:43:11 +0000 From: Dylan Yudaken To: "mail.dipanjan.das@gmail.com" CC: "fleischermarius@googlemail.com" , "its.priyanka.bose@gmail.com" , "axboe@kernel.dk" , "linux-kernel@vger.kernel.org" , "io-uring@vger.kernel.org" , "asml.silence@gmail.com" , "syzkaller@googlegroups.com" Subject: Re: KASAN: use-after-free Read in __io_remove_buffers Thread-Topic: KASAN: use-after-free Read in __io_remove_buffers Thread-Index: AQHYnKMMh/zxMjVYwUGeiFeZyBTdAK2IqpmAgAR6mgCAAvrIAIAAPjYA Date: Tue, 26 Jul 2022 08:43:11 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3a01bdd2-7da2-4016-ef04-08da6ee2df38 x-ms-traffictypediagnostic: MW4PR15MB4539:EE_ x-fb-source: Internal x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TKZ2p2aFCUwCa3EeSHvqBR8wIsR+S8RtEBwXZ7u+NuNxO1R2Lyx59rJAk9Yc9/4fI3RLLE9E4MphwOUKwaFHgXYvblgTTsPywMNy6x3WIx0o5YGXLCCdqQ5Xtha2h4e8KGmbKOHu69+0o0b0FlLu0rINbfDV8r8zhp3Cb4NEyL6jgeBigDxacZz/OBcgTFSujaNJYcY/ai1LMWFCO5mQafUqKyVYnMHFVKrmlhrbsldCqrAilFpeijr5u/fi4iKjZFu3v0lnHWrIjWBsXYC+WDb4VPdvvb0cIu2x0PhlQ6cYtpB/HrFb43YcuP4nU0p1DYHOkPGtZNhn8PeTfLDDiAYugEbkoHjko+j+czUfL3fYa6Cmkptd7NMt9mCa9/IEZBFC85mHid0A5TDNhyUZoaGYJmCpINq5F34/LFLOQ/Y5sa1aqPDX1RPIukk7BKYa78N6NGk81S5wwpsJgzQ1gcf7G7eEnNQ48Z8cIrlKPPx7KkVSP3FHawOWOSoFiiMN/NGk4tma/JaN44s5igTrysRqxqB7WjfWJ5Qek7uRmDhYWjAo4hAjRw4fF+hf1F2fRdxKi9Ik6qVV8buY1mAPK0GPwLRw0GQKzc/BXCeCwq0kzmOThX50FimOUAxo8xVes/AbA9/I9urOCZjytq6eLoXPZPIB8HSunyTTjIkDk1ZLSKgGIiAseRWaLnFe07uRCLQvzyGXHXbeyOzn+nFY2j62cn/GEIYwvJC552NF3JG8aMBGSCIPd9SqmoPnoTwq/MTg1ztcRv5VL8KYwdXq0R66wxFtc55ODfyGpXQzWj+34vhE8OgM7E/Z1IuQ4Gyg x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR15MB4854.namprd15.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(366004)(39860400002)(396003)(346002)(136003)(376002)(86362001)(36756003)(54906003)(6916009)(38100700002)(4744005)(5660300002)(2906002)(38070700005)(8936002)(66946007)(76116006)(64756008)(66556008)(8676002)(4326008)(478600001)(91956017)(122000001)(66476007)(66446008)(41300700001)(6506007)(53546011)(83380400001)(26005)(6512007)(186003)(316002)(6486002)(71200400001)(2616005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?SkdEWVc4SUgvV3RtdmNSb2cxTUVwWGJOVFJMYUJYeWgxUmlEUTN5OXdCSk82?= =?utf-8?B?OWpYalNCRm5mcjFXTk0vMHVBY01MVTNOWGJzWkY1YmpicCtOdzF5N1FSN0tZ?= =?utf-8?B?c3hHdGtPSFAwaDlOQ1VObUpsYnU5M0tpSTlwYUVZTTFub21TV3ZEa1hMUVNi?= =?utf-8?B?R1VsYnVuMnU1c0I3RHFFMitPcnZFNjVqU05RdmFQd2JUamlTT3ozbFkwS0cv?= =?utf-8?B?dEVRU3NLVVJZbkJsU2w1MFNHZitrSjJuaDlia1hPcXdsWm9WUENNVDA2WXhG?= =?utf-8?B?OVkrbnAydHIvenZ5ZGJmSnFKdnJ1cmcwRG1GbnplZU9wZC9kOXZze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tumofP9X5nxsCc46FyXq?= Content-Type: text/plain; charset="utf-8" Content-ID: <2891D57CFE56154B9F8D2FD2413B980A@namprd15.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: fb.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR15MB4854.namprd15.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a01bdd2-7da2-4016-ef04-08da6ee2df38 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jul 2022 08:43:11.2436 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tFLePPVVhwmPbUEaYrvcuFARLHiQIiwwp4v+8NidmyBTsNUSZrZiafkyrwwnmMDs X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR15MB4539 X-Proofpoint-GUID: BkYROKyzwI-v-NId-J-LCN8WPA7UtsM6 X-Proofpoint-ORIG-GUID: BkYROKyzwI-v-NId-J-LCN8WPA7UtsM6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-07-26_02,2022-07-25_03,2022-06-22_01 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIyLTA3LTI1IGF0IDIyOjAwIC0wNzAwLCBEaXBhbmphbiBEYXMgd3JvdGU6DQo+ IA0KPiA+IE9uIFRodSwgSnVsIDIxLCAyMDIyIGF0IDQ6MDYgQU0gRHlsYW4gWXVkYWtlbiA8ZHls YW55QGZiLmNvbT4NCj4gPiB3cm90ZToNCj4gPiA+IA0KPiA+ID4gQm90aCBvZiB0aGUgYnVnIHJl cG9ydHMgeW91IHNlbnQgc2VlbSB0byBiZSBmaXhlZCBieSB0aGUgcGF0Y2ggSQ0KPiA+ID4ganVz dA0KPiA+ID4gc2VudC4NCj4gPiA+IA0KPiA+ID4gVGhpcyBvbmUgaG93ZXZlciBkb2VzIG5vdCBz ZWVtIHRvIHRlcm1pbmF0ZSBvbmNlIGZpeGVkLiBJcyB0aGVyZQ0KPiA+ID4gYW4NCj4gPiA+IGV4 cGVjdGVkIHJ1biB0aW1lPw0KPiA+IA0KPiANCj4gV2UgY2FuIGNvbmZpcm0gdGhhdCB0aGUgQy1y ZXBybyBoYW5ncyB3aGlsZSB0aGUgc3l6LXJlcHJvIGRvZXMgbm90Lg0KPiBGb3IgdGhlIHVucGF0 Y2hlZCBrZXJuZWwsIHRoZSByZXBybyB0cmlnZ2VycyB0aGUgYnVnIGluIGxlc3MgdGhhbiBhDQo+ IG1pbnV0ZS4NCj4gDQo+IA0KDQpHcmVhdCwgdGhhbmtzIGZvciBjb25maXJtaW5nLg0K