[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YvqKJppIL4lVCn9+@ZenIV>
Date: Mon, 15 Aug 2022 19:02:14 +0100
From: Al Viro <viro@...iv.linux.org.uk>
To: Jiacheng Xu <578001344xu@...il.com>
Cc: linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
konishi.ryusuke@...il.com, linux-nilfs@...r.kernel.org,
security@...nel.org
Subject: Re: KASAN: use-after-free in nilfs_mdt_destroy
On Mon, Aug 15, 2022 at 10:03:21PM +0800, Jiacheng Xu wrote:
> Patch:
> Fix this bug by moving the assignment of inode->i_private before
> security_inode_alloc.
> An ad-hoc patch is proposed:
> https://patchwork.kernel.org/project/linux-fsdevel/patch/20211011030956.2459172-1-mudongliangabcd@gmail.com/
... and that looks like utter bollocks. Why does security_inode_alloc()
look at ->i_private? Which LSM is involved?
Powered by blists - more mailing lists