Re: [PATCH] configfs: Fix use-after-free issue in __configfs_open_file

2021-03-11 Thread Christoph Hellwig
Thanks, applied.

Re: [PATCH] configfs: Fix use-after-free issue in __configfs_open_file

2021-03-10 Thread Al Viro
On Thu, Mar 11, 2021 at 10:16:20AM +0800, Chao Yu wrote: > Hi Joel, Christoph, Al > > Does any one have time to review this patch, ten days past... Acked-by: Al Viro

Re: [PATCH] configfs: Fix use-after-free issue in __configfs_open_file

2021-03-10 Thread Chao Yu
Hi Joel, Christoph, Al Does any one have time to review this patch, ten days past... Thanks, On 2021/3/5 11:29, Chao Yu wrote: +Cc fsdevel Ping, Any comments one this patch? On 2021/3/1 14:10, Chao Yu wrote: From: Daiyue Zhang Commit b0841eefd969 ("configfs: provide exclusion between IO

Re: [PATCH] configfs: Fix use-after-free issue in __configfs_open_file

2021-03-04 Thread Chao Yu
+Cc fsdevel Ping, Any comments one this patch? On 2021/3/1 14:10, Chao Yu wrote: From: Daiyue Zhang Commit b0841eefd969 ("configfs: provide exclusion between IO and removals") uses ->frag_dead to mark the fragment state, thus no bothering with extra refcount on config_item when opening a

[PATCH] configfs: Fix use-after-free issue in __configfs_open_file

2021-02-28 Thread Chao Yu
From: Daiyue Zhang Commit b0841eefd969 ("configfs: provide exclusion between IO and removals") uses ->frag_dead to mark the fragment state, thus no bothering with extra refcount on config_item when opening a file. The configfs_get_config_item was removed in __configfs_open_file, but not with