Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp38132pxj; Wed, 16 Jun 2021 19:38:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvJxadlRYl/VDzY6KhCnnvIupy/dqMC/gItfh4EANoABHbIa0veT05is/vjw0C9iOI11Pr X-Received: by 2002:aa7:dd14:: with SMTP id i20mr3507265edv.110.1623897487209; Wed, 16 Jun 2021 19:38:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623897487; cv=none; d=google.com; s=arc-20160816; b=TcUGnMDSC93PZXMHVGufSxa7dRXyrZGISHV4WxdYdSRDyWvD1RRdknnKUdOnJBSZM5 kAUSpTGlC+0dwjgrgqjtUL+GM9apXE9DJU8IRbKogxfcHjrkoyMa7nnKl6ufGpFkeHFd i7kFuc3M/phV8LK+SvQhxK40+9qHrzxahmfR9pDxj+vY/g5GfzrcatwJLvfQZyhFNxsM XwgE5e7y3NfyUmK5QbtyV4sMnrz01IpjFlDwUTM8HjqdoAav6sor89QZSXlOrMMR+tNJ VfptWu1UT1N1iUj4HIUYQJ01nQCCSd4Lh3i6D0acZ40AQLw/Jej1B1I9Yb7tmXxiaD5P 8xLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=CqUgr+61e1b2NbmQkqWAemwVHdaYt6/E98PJu31yly8=; b=yIMC+EuwC5bxirJ4rTkthSqEEmVEG4/qj38uiWJFqg6ipixbRZrb7yOQLPql2TVs5D oby/SI+W24UX0aXXis57xSpGqFs3SIV97VqSZSweONQhVj2rsFKoKA6C9bNHxf10VWKe j5f2RlDcSy2TFUShIo68ZFkP/f3PmPidIDS9YJj+m5vcqpDn8sIDcS7G6i2T8Vc9Ic5H Pum8d1M/9QetZtLdPoBGzOF7Eud789l7FtYpTK1tDDU0qbNdnvLQK+k/KxMugM+Tm/Xl VUINjYaMUwRkNImIy3zvDMmByW64HkaqLY6pzcSrN4NWJw+qkfJ1JM2q2bpp7knjCt0u QoHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si3774568edc.264.2021.06.16.19.37.44; Wed, 16 Jun 2021 19:38:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234761AbhFPXsD (ORCPT + 99 others); Wed, 16 Jun 2021 19:48:03 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:34108 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231389AbhFPXsD (ORCPT ); Wed, 16 Jun 2021 19:48:03 -0400 Received: from cwcc.thunk.org (pool-72-74-133-215.bstnma.fios.verizon.net [72.74.133.215]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 15GNjYBQ004246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Jun 2021 19:45:35 -0400 Received: by cwcc.thunk.org (Postfix, from userid 15806) id 9069E15C3CB8; Wed, 16 Jun 2021 19:45:34 -0400 (EDT) Date: Wed, 16 Jun 2021 19:45:34 -0400 From: "Theodore Ts'o" To: Anirudh Rayabharam Cc: Andreas Dilger , Dave Kleikamp , Alex Tomas , Andrew Morton , gregkh@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org, syzbot+2dcfeaf8cb49b05e8f1a@syzkaller.appspotmail.com, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] ext4: fix kernel infoleak via ext4_extent_header Message-ID: References: <20210506185655.7118-1-mail@anirudhrb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210506185655.7118-1-mail@anirudhrb.com> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, May 07, 2021 at 12:26:54AM +0530, Anirudh Rayabharam wrote: > Initialize eh_generation of struct ext4_extent_header to prevent leaking > info to userspace. Fixes KMSAN kernel-infoleak bug reported by syzbot at: > http://syzkaller.appspot.com/bug?id=78e9ad0e6952a3ca16e8234724b2fa92d041b9b8 > > Reported-by: syzbot+2dcfeaf8cb49b05e8f1a@syzkaller.appspotmail.com > Fixes: a86c61812637 ("[PATCH] ext3: add extent map support") > Signed-off-by: Anirudh Rayabharam Applied, thanks. - Ted