Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp144773ybl; Thu, 30 Jan 2020 18:56:07 -0800 (PST) X-Google-Smtp-Source: APXvYqwhtf0H2GK18c/r6LDP4O6+Bb4oBzaJ7yrVMoWVZIumgSgO/ZVy+X4JocvCkhsRQxti+t46 X-Received: by 2002:a9d:d0b:: with SMTP id 11mr6220635oti.287.1580439367545; Thu, 30 Jan 2020 18:56:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580439367; cv=none; d=google.com; s=arc-20160816; b=B6VQEf5JAg+si41haWzF4/0/PXq8FuAXlxFD+83Za8xc8KSGTES0vbFR5K0qmwrEnX OiB4SwCN6CxQuxhee4dnLsdtrO+xThRwapl+EsV4q2+/CFM6DNA5VxeWN1rCjikoks3Y s2x9PPypblbW4X8GpC6lQlgn4UA4A7tzgXl9WXvYx77qTEMlkB/HNaL/mdSHTChtLJRy i3MdpQdQXkxg5Ob6U+I/IBUlQv3a232Fncl8WUG17e+nZHR1nMFsKbC/mv/ZfbSU+KmW NHW8XhcMfiuBQndoQbesb3S/MpqnZLp8cD3b2ocYh1wQI8SfF9/j68q2jSXHJvBvQra6 2Lsw== 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=J/YS9xrz7SE39sg55EiuDt9slMVYOmJaP+90r0kGMF8=; b=XMQK3XlyQZRK2AxOUSV5dXhSLbX+no3YkOqDaAjp4fKz7Yx6EcFyBZQFAvM6LkFWpu 6Yh52raY8TxYdyS4tn617JF8O3Rgo+Yp6fzkxrD+0xQ1jP1+9JhKv48oio+8NXlR7onQ ssYwzXf+6v7JmaGnD2XE4KMy5QeO9DXDI36tynZsx90IZeny+n5dz8+XJNSLfVwDk1e9 dBgPXgP7Idqz7uvKXSHJGfu831FRNtUWL+t9eHv0rbhfT7wgHw7Q1YmgNTPnFJ40FXgF d2EIyU2x71E1xeSzYAZDyLubjDTIHCvzCL3OwML0jzVnyyI5AnT5gF5AqM4QPvtADXbi 4jbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=kU2cMA3o; 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 g72si3842403oib.157.2020.01.30.18.55.54; Thu, 30 Jan 2020 18:56:07 -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=kU2cMA3o; 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 S1727875AbgAaCxw (ORCPT + 99 others); Thu, 30 Jan 2020 21:53:52 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:58287 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727777AbgAaCxw (ORCPT ); Thu, 30 Jan 2020 21:53:52 -0500 X-UUID: 2ed2632f77c344a2a0c204df28cb0362-20200131 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=J/YS9xrz7SE39sg55EiuDt9slMVYOmJaP+90r0kGMF8=; b=kU2cMA3os+/I6YXPqwB3/BHr2hvZiLyvU2Lj+5VvB8TH8KSVmTqGsWBo8WkSqev0Fo5qa5lCyQIDWwweOUrgjZzbKq6msuR9cHtm2SEB4ldme0hpsCOJXOmL4s7fTazW5y3IVtZk1Sb42cy/+JsG7g5lQYKgsQGWtP4Otbog4FI=; X-UUID: 2ed2632f77c344a2a0c204df28cb0362-20200131 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 646680630; Fri, 31 Jan 2020 10:53:46 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 31 Jan 2020 10:53:02 +0800 Received: from [172.21.84.99] (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 31 Jan 2020 10:51:23 +0800 Message-ID: <1580439225.11126.34.camel@mtksdccf07> Subject: Re: [PATCH v4 2/2] kasan: add test for invalid size in memmove From: Walter Wu To: Andrew Morton CC: Andrey Ryabinin , Dmitry Vyukov , Alexander Potapenko , "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" Date: Fri, 31 Jan 2020 10:53:45 +0800 In-Reply-To: <20200130181613.1bfb8df8e73a280512cab8ef@linux-foundation.org> References: <20191112065313.7060-1-walter-zh.wu@mediatek.com> <619b898f-f9c2-1185-5ea7-b9bf21924942@virtuozzo.com> <1580355838.11126.5.camel@mtksdccf07> <20200130181613.1bfb8df8e73a280512cab8ef@linux-foundation.org> 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.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