Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp105990imu; Fri, 16 Nov 2018 18:29:05 -0800 (PST) X-Google-Smtp-Source: AJdET5d+id54G9Zj3h5dtGt2zFDudlsCPziBvA6Ws8Cr4dlBTh6k5uRbA/84xaf05trYIPRXbEOB X-Received: by 2002:a62:25c2:: with SMTP id l185-v6mr14125659pfl.64.1542421745886; Fri, 16 Nov 2018 18:29:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542421745; cv=none; d=google.com; s=arc-20160816; b=Aqe8jovE8DjfraUciheOqi2n+rM02qzk/TPZ9mHEmmf9G62KIE0n8LPFj672lXckwC 8zSEUQGLLKl+Xqhh5WKVEUaQ+Hjmh5mImfxm2Qga6S59o7KDOTzkj8cESiRgbeXFgNEg hsiTXrYxyH5F399ryTDSEnU5eKS+ifqzWr2wCOQOq6fb7vLNZeCeGtPf30wUaCle9ZT1 SXBkqGz3CMfiddUlL98rBl5nyhetwebrLNEEgW1CVwXkFi5wei7C5j/jicaElh6rknkn 3/FBAJi9Ca70KYYxDF3UKHklkEVaI/j6x2nxsOUTFx0Nyrn75c+c5yqKNNW8fmLQxPAR X6dg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=3yZzX/ZVEv+R0tKMM8jgPQ2Mdh0fdCjYWd41zYXGwP4=; b=B0/o1PZ5XDnKRzYEQE0icA0bv+KX0fEUxjL2WrtsZwH8WjKQPqVYyl8YxEe8AOaeTI 3AWcSZY/eperuDaZYQJ4/pUH4j+0Cr5KCu/LmXUipjKbrZzt7IhE7l2xz7UXImojwFqJ xqpx0cGepYX4ZMOwF/aXqhyW5zTsOD2ar/l71abW6Q97U+NQsLEYzeM8eVFjYQ6dJYgi 0RQ2t/3JR8Fk63CT74pyT0LcoauLuEhfyI/fG/xOIKIbqoz7B6JQRLtUOEfRDviQ7Fl6 ss/tC+9AxMIT2OIZp++os4EdxP+rgttJuh2mi5St1xE9WT295KNOEtG1Jw6JpNQnPeLT H/fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AoCrclDp; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x32-v6si34610834pld.70.2018.11.16.18.28.27; Fri, 16 Nov 2018 18:29:05 -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=AoCrclDp; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729996AbeKQMmL (ORCPT + 99 others); Sat, 17 Nov 2018 07:42:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:33888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729908AbeKQMmL (ORCPT ); Sat, 17 Nov 2018 07:42:11 -0500 Received: from [192.168.0.101] (unknown [49.77.232.165]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7955F2087C; Sat, 17 Nov 2018 02:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542421636; bh=0g9ud2wOujXg6eZHAU7mkaxLzas4rKU7KM6bxZXf6s4=; h=Subject:To:References:From:Date:In-Reply-To:From; b=AoCrclDpnPTm+MYKa0W7gi66D/2DqkpPC8Lkxacwi3cOIyqLXPUWFBJGaCXk0ri9D S0im3X5OTu+GB+Jiy3iqU2LS0m3ZpCNxELOXLMmUDqHh8lNtTJCeIsm2gpiKzm2fDI NscTrDOUReO0XCrP6PQpHPIEOmKnp/6o4DXJ9uNs= Subject: Re: [f2fs-dev] [PATCH] f2fs: check memory boundary by insane namelen To: Jaegeuk Kim , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net References: <20181115075040.83500-1-jaegeuk@kernel.org> From: Chao Yu Message-ID: <239446e9-2d75-cc9c-8315-999b3641c336@kernel.org> Date: Sat, 17 Nov 2018 10:27:05 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181115075040.83500-1-jaegeuk@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-11-15 15:50, Jaegeuk Kim wrote: > If namelen is corrupted to have very long value, fill_dentries can copy > wrong memory area. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks,