From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:50432 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751318AbdFEOEN (ORCPT ); Mon, 5 Jun 2017 10:04:13 -0400 Date: Mon, 5 Jun 2017 16:04:07 +0200 From: Greg KH Subject: Re: [PATCH 01/25] xfs: verify inline directory data forks Message-ID: <20170605140407.GA18192@kroah.com> References: <20170603131836.26661-1-hch@lst.de> <20170603131836.26661-2-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170603131836.26661-2-hch@lst.de> Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: Christoph Hellwig Cc: stable@vger.kernel.org, linux-xfs@vger.kernel.org, "Darrick J. Wong" On Sat, Jun 03, 2017 at 03:18:12PM +0200, Christoph Hellwig wrote: > From: "Darrick J. Wong" > > When we're reading or writing the data fork of an inline directory, > check the contents to make sure we're not overflowing buffers or eating > garbage data. xfs/348 corrupts an inline symlink into an inline > directory, triggering a buffer overflow bug. > > Signed-off-by: Darrick J. Wong > Reviewed-by: Brian Foster > --- > v2: add more checks consistent with _dir2_sf_check and make the verifier > usable from anywhere. What is the git commit id of this patch upstream? thanks, greg k-h