Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1297577ybl; Wed, 29 Jan 2020 19:46:11 -0800 (PST) X-Google-Smtp-Source: APXvYqxCno+Pw6IfhXGqTBMcen49RS+qvg07LvtMaoCmdyZ6lD/isrBzVKd3O+2pFW5MXzA54vyw X-Received: by 2002:a05:6808:50:: with SMTP id v16mr1536010oic.133.1580355971865; Wed, 29 Jan 2020 19:46:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580355971; cv=none; d=google.com; s=arc-20160816; b=IyIXsumA89eRjwZ4INoWHZ4/DHgdZxLUrvWJ+WZSGLiOOs13mtPnFuh6ByBPHww0bv sdB8/ks5C/1ZKazIWXVSHGjsOz+GOFxHPPzbzB1gMOSa14Qo0BZQy763q892fbahR+/n usQaPUH7SjwMHjdFOrGL/G13O84YaPdkBlHh4T636esfQlR7rykjG/yh5Ny4yvTv9Ljs v6vJSJdj1yBp1auwRsLjC2x//RST++0+4egD91Vaozm/7ryOq/qve5ME1rO5G4iAXDcN +GWbiy5dzafFcfLPQa0e/QyBILETdHwylYrttIZyS5GLcjodz3lR5mmBXL4la+lLHAUg tcuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=3bvai5RkNO6CsB90bdkSQOYb8Boyue9WmpvdjPAjYrE=; b=EYpVFMEc7zeJTCGM52IqeS1Fq5dwxp8qtM9HqWwJoxs7CJXkRxWA5NWKcmZFRruU9/ tZ8CBnaa14XgMQsWTvV/PERuCR3BFDCsLGeND9u9bzRqEZE9bqEJ/yg2SEyofujyO3kK JYi6kLFZqjvHfRUlcwt43fCCJOGD9Qbh5cUahJUoqP8Vq5h/cQ8o/JVXtGGXTyHv/kye V5fbgaIGhIlkvZk7lmNTP/vZa+taV2joPxDRosumeQqu2QjMcVujgZjGTuJrpWuq18RL v/Yab2yDVSMS3cM0BregBtFPVdTRwoiEXFrJ9ctYqe/BCI2L51azT8s8u5la0JlCuaRh tK/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=LvZByeUm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l5si2357408otn.35.2020.01.29.19.45.59; Wed, 29 Jan 2020 19:46:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=LvZByeUm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726952AbgA3DoG (ORCPT + 99 others); Wed, 29 Jan 2020 22:44:06 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:23159 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726811AbgA3DoG (ORCPT ); Wed, 29 Jan 2020 22:44:06 -0500 X-UUID: b27cc1cbc00d4125a60e144d1168b3d8-20200130 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=3bvai5RkNO6CsB90bdkSQOYb8Boyue9WmpvdjPAjYrE=; b=LvZByeUmLm02Ok2hWnLatHg7/qO01kS4WAdxpbZX63pcSnhfwymAwFzLGT9fxb5xyVUWZ4P+FekUugDq1QYEJxMNhQK9+smkTFdAJAbXV6uZLC+sNYE0UV+qLNVGzL6vmKwtDmD3kuQlNaJk+Daj9UxQ8LrSUZRmdzpLbzl436c=; X-UUID: b27cc1cbc00d4125a60e144d1168b3d8-20200130 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1456654747; Thu, 30 Jan 2020 11:43:59 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 30 Jan 2020 11:43:15 +0800 Received: from [172.21.84.99] (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 30 Jan 2020 11:44:02 +0800 Message-ID: <1580355838.11126.5.camel@mtksdccf07> Subject: Re: [PATCH v4 2/2] kasan: add test for invalid size in memmove From: Walter Wu To: Andrey Ryabinin , Dmitry Vyukov , Andrew Morton CC: Alexander Potapenko , Dmitry Vyukov , Matthias Brugger , "kasan-dev@googlegroups.com" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , wsd_upstream , "linux-mediatek@lists.infradead.org" , Andrew Morton Date: Thu, 30 Jan 2020 11:43:58 +0800 In-Reply-To: <619b898f-f9c2-1185-5ea7-b9bf21924942@virtuozzo.com> References: <20191112065313.7060-1-walter-zh.wu@mediatek.com> <619b898f-f9c2-1185-5ea7-b9bf21924942@virtuozzo.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDE5LTExLTIyIGF0IDA2OjIxICswODAwLCBBbmRyZXkgUnlhYmluaW4gd3JvdGU6 DQo+IA0KPiBPbiAxMS8xMi8xOSA5OjUzIEFNLCBXYWx0ZXIgV3Ugd3JvdGU6DQo+ID4gVGVzdCBu ZWdhdGl2ZSBzaXplIGluIG1lbW1vdmUgaW4gb3JkZXIgdG8gdmVyaWZ5IHdoZXRoZXIgaXQgY29y cmVjdGx5DQo+ID4gZ2V0IEtBU0FOIHJlcG9ydC4NCj4gPiANCj4gPiBDYXN0aW5nIG5lZ2F0aXZl IG51bWJlcnMgdG8gc2l6ZV90IHdvdWxkIGluZGVlZCB0dXJuIHVwIGFzIGEgbGFyZ2UNCj4gPiBz aXplX3QsIHNvIGl0IHdpbGwgaGF2ZSBvdXQtb2YtYm91bmRzIGJ1ZyBhbmQgYmUgZGV0ZWN0ZWQg YnkgS0FTQU4uDQo+ID4gDQo+ID4gU2lnbmVkLW9mZi1ieTogV2FsdGVyIFd1IDx3YWx0ZXItemgu d3VAbWVkaWF0ZWsuY29tPg0KPiA+IFJldmlld2VkLWJ5OiBEbWl0cnkgVnl1a292IDxkdnl1a292 QGdvb2dsZS5jb20+DQo+IA0KPiBSZXZpZXdlZC1ieTogQW5kcmV5IFJ5YWJpbmluIDxhcnlhYmlu aW5AdmlydHVvenpvLmNvbT4NCg0KSGkgQW5kcmV5LCBEbWl0cnksIEFuZHJldywNCg0KV291bGQg eW91IHRlbGwgbWUgd2h5IHRoaXMgcGF0Y2gtc2V0cyBkb24ndCBtZXJnZSBpbnRvIGxpbnV4LW5l eHQgdHJlZT8NCldlIGxvc3Qgc29tZXRoaW5nPw0KDQpUaGFua3MgZm9yIHlvdXIgaGVscC4NCg0K V2FsdGVyDQoNCg==