Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp119608ybl; Thu, 30 Jan 2020 18:17:48 -0800 (PST) X-Google-Smtp-Source: APXvYqwzpNu9e3KWiHMzH8vXrsvGqeDSFPNN4yQPI38/PmINGU2GuqckyZjCbKhjzHzJq160tG8b X-Received: by 2002:a9d:6e14:: with SMTP id e20mr6239491otr.283.1580437067748; Thu, 30 Jan 2020 18:17:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580437067; cv=none; d=google.com; s=arc-20160816; b=UyMyH40FlzzYFAso0hjH0qcTSZL0Q2ZoKLCp9pOWHxcFoNgNfiXy7VbJujZxFDeZWj v093+MrFCHWHeNswNIO5x2hoApyBboEH2ZPWOKu4r7lDOSS7pj2U7zNWubwyjKGZSz/O fOpwCBpMEVKh1irK8tyLyLSfzTHm0mEJtGc7zzYQR/OtNastccCUqBExwvzEpSSefSE2 Gtevz1Y5AnkNCScflQfOMKS7HorD+AncJWNDdp3i2irmfDnQjtywpmr2I/fRvGaGdNvW Xv0a7G9SJ18e4V93VV9EYdm4smU/+Bc6pa5rFKfFonM4cIH2mmSHSqKpFC3t8j0uosP7 5hcg== 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:message-id:subject:cc:to:from:date :dkim-signature; bh=9wRTR9/NFSAJy1EBQO2ut4uhCb3EUB09ghHk4yTUVNY=; b=fOCuHSkX9JBUAtHZ0Yx33RztCmq6xR5r2Zj9PgmFJpPsu1+Cz9WhhycyxiEVzHZKgD gwLm5u6AoyUyCOWw04XTWp6ywkrPHbDhdO8lLpqRh80zoYaIZeMZOk5DAKJ151O8woJY I6pV7vDpqK5rn+r3Fe/REaPv9EzKYS5Xxq3JHSNKpF4Gn1OzMJIgGjPYKvtg4QKRaLfv WOpBUNel5/i916nwyA8V8dkMYVrlzkXt9EXW7sj8lP6ehs8gf2FC3eeQcbIqEGGN+DQJ yODwJTla62vH/arhl1IBM/dfBBCUvQS+hiKfj3GXmHhqfYYt4I6SiHJq5LtL9t+DoneG pgXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=naQx0E8T; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z1si3803342otp.70.2020.01.30.18.17.30; Thu, 30 Jan 2020 18:17:47 -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=@kernel.org header.s=default header.b=naQx0E8T; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727817AbgAaCQO (ORCPT + 99 others); Thu, 30 Jan 2020 21:16:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:49636 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727779AbgAaCQO (ORCPT ); Thu, 30 Jan 2020 21:16:14 -0500 Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A3E66206F0; Fri, 31 Jan 2020 02:16:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580436974; bh=tyJKzLA16be5mNz2EBj3faXgdYPo6KX3V43I+YCflTI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=naQx0E8TmVLVXc/yB0+otsJ3q2KIhHCnxBgDTYtppdT5Y26k7wkvZykakj9qBy608 g2ovdKkyHPtcL2CzV5Ue0H58FpBp6X7DhhCv8iVr8JTITI5ba7U+7mBY/SB8LjC3TI 32/VezsBlEl54vLgzoFT4LRgjVRBHlK8PnH/PgPs= Date: Thu, 30 Jan 2020 18:16:13 -0800 From: Andrew Morton To: Walter Wu 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" Subject: Re: [PATCH v4 2/2] kasan: add test for invalid size in memmove Message-Id: <20200130181613.1bfb8df8e73a280512cab8ef@linux-foundation.org> In-Reply-To: <1580355838.11126.5.camel@mtksdccf07> References: <20191112065313.7060-1-walter-zh.wu@mediatek.com> <619b898f-f9c2-1185-5ea7-b9bf21924942@virtuozzo.com> <1580355838.11126.5.camel@mtksdccf07> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 30 Jan 2020 11:43:58 +0800 Walter Wu wrote: > On Fri, 2019-11-22 at 06:21 +0800, Andrey Ryabinin wrote: > > > > On 11/12/19 9:53 AM, Walter Wu wrote: > > > Test negative size in memmove in order to verify whether it correctly > > > get KASAN report. > > > > > > Casting negative numbers to size_t would indeed turn up as a large > > > size_t, so it will have out-of-bounds bug and be detected by KASAN. > > > > > > Signed-off-by: Walter Wu > > > Reviewed-by: Dmitry Vyukov > > > > Reviewed-by: Andrey Ryabinin > > Hi Andrey, Dmitry, Andrew, > > Would you tell me why this patch-sets don't merge into linux-next tree? > We lost something? > In response to [1/2] Andrey said "So let's keep this code as this" and you said "I will send a new v5 patch tomorrow". So we're awaiting a v5 patchset?