[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230511204513.3d0d60f0315350177a800284@linux-foundation.org>
Date: Thu, 11 May 2023 20:45:13 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Ilya Leoshkevich <iii@...ux.ibm.com>
Cc: Al Viro <viro@...iv.linux.org.uk>, linux-kernel@...r.kernel.org,
Heiko Carstens <hca@...ux.ibm.com>,
Vasily Gorbik <gor@...ux.ibm.com>,
Alexander Gordeev <agordeev@...ux.ibm.com>,
stable@...r.kernel.org
Subject: Re: [PATCH 1/2] statfs: Enforce statfs[64] structure intialization
On Thu, 4 May 2023 16:40:20 +0200 Ilya Leoshkevich <iii@...ux.ibm.com> wrote:
> s390's struct statfs and struct statfs64 contain padding, which
> field-by-field copying does not set. Initialize the respective structs
> with zeros before filling them and copying them to userspace, like it's
> already done for the compat versions of these structs.
>
> Found by KMSAN.
>
Reviewed-by: Andrew Morton <akpm@...ux-foundation.org>
Powered by blists - more mailing lists