Re: [PATCH] xfs: Initialize label array properly

2019-08-30 Thread Austin Kim
2019년 8월 30일 (금) 오후 2:39, Darrick J. Wong 님이 작성: > > On Fri, Aug 30, 2019 at 02:37:07PM +0900, Austin Kim wrote: > > In case kernel stack variable is not initialized properly, > > there is a risk of kernel information disclosure. > > > > So, initialize 'char label[]' array with null characters. > >

Re: [PATCH] xfs: Initialize label array properly

2019-08-30 Thread Dave Chinner
On Fri, Aug 30, 2019 at 02:37:07PM +0900, Austin Kim wrote: > In case kernel stack variable is not initialized properly, > there is a risk of kernel information disclosure. > > So, initialize 'char label[]' array with null characters. Can you describe the information disclosure vector here? I can

Re: [PATCH] xfs: Initialize label array properly

2019-08-29 Thread Darrick J. Wong
On Fri, Aug 30, 2019 at 02:37:07PM +0900, Austin Kim wrote: > In case kernel stack variable is not initialized properly, > there is a risk of kernel information disclosure. > > So, initialize 'char label[]' array with null characters. Got a testcase for this? At least a couple other filesystems