Re: [dm-devel] [dm-devel resend] dm mpath: fix UAF in multipath_message()

2023-09-05 Thread Li Lingfeng
在 2023/8/9 18:44, Mikulas Patocka 写道: On Tue, 8 Aug 2023, Mikulas Patocka wrote: On Wed, 2 Aug 2023, Mike Snitzer wrote: [Cc'ing Mikulas so he can take a look at this too.] Hi I suggest this patch (but it's only compile-tested, so please run some testsuite on it). Mikulas I self-nack

Re: [dm-devel] [dm-devel resend] dm mpath: fix UAF in multipath_message()

2023-09-05 Thread Mike Snitzer
Please reply to Mikulas's updated patch with your Reviewed-by: and possibly Tested-by: Thanks, Mike On Tue, Sep 5, 2023, 10:16 PM Li Lingfeng wrote: > Hi > > Thanks to Mikulas for the patch. I have test the patch and it can fix > the problem. > Can this patch be applied to mainline? > >

Re: [dm-devel] [dm-devel resend] dm mpath: fix UAF in multipath_message()

2023-09-05 Thread Li Lingfeng
Hi Thanks to Mikulas for the patch. I have test the patch and it can fix the problem. Can this patch be applied to mainline? Thanks. 在 2023/8/9 18:44, Mikulas Patocka 写道: On Tue, 8 Aug 2023, Mikulas Patocka wrote: On Wed, 2 Aug 2023, Mike Snitzer wrote: [Cc'ing Mikulas so he can take a

Re: [dm-devel] [dm-devel resend] dm mpath: fix UAF in multipath_message()

2023-08-09 Thread Mikulas Patocka
On Tue, 8 Aug 2023, Mikulas Patocka wrote: > On Wed, 2 Aug 2023, Mike Snitzer wrote: > > > [Cc'ing Mikulas so he can take a look at this too.] > > Hi > > I suggest this patch (but it's only compile-tested, so please run some > testsuite on it). > > Mikulas I self-nack that patch - it

Re: [dm-devel] [dm-devel resend] dm mpath: fix UAF in multipath_message()

2023-08-08 Thread Mikulas Patocka
On Wed, 2 Aug 2023, Mike Snitzer wrote: > On Thu, May 18 2023 at 8:11P -0400, > lilingfeng (A) wrote: > > > > > 在 2022/10/18 3:56, Mike Snitzer 写道: > > > On Mon, Oct 10 2022 at 10:41P -0400, > > > Luo Meng wrote: > > > > > > > From: Luo Meng > > > > > > > > If dm_get_device() create dd

Re: [dm-devel] [dm-devel resend] dm mpath: fix UAF in multipath_message()

2023-08-03 Thread Li Lingfeng
在 2023/8/3 0:33, Mike Snitzer 写道: On Thu, May 18 2023 at 8:11P -0400, lilingfeng (A) wrote: 在 2022/10/18 3:56, Mike Snitzer 写道: On Mon, Oct 10 2022 at 10:41P -0400, Luo Meng wrote: From: Luo Meng If dm_get_device() create dd in multipath_message(), and then call table_deps() after

Re: [dm-devel] [dm-devel resend] dm mpath: fix UAF in multipath_message()

2023-08-02 Thread Mike Snitzer
On Thu, May 18 2023 at 8:11P -0400, lilingfeng (A) wrote: > > 在 2022/10/18 3:56, Mike Snitzer 写道: > > On Mon, Oct 10 2022 at 10:41P -0400, > > Luo Meng wrote: > > > > > From: Luo Meng > > > > > > If dm_get_device() create dd in multipath_message(), > > > and then call table_deps() after

Re: [dm-devel] [dm-devel resend] dm mpath: fix UAF in multipath_message()

2023-08-01 Thread Li Lingfeng
Friendly ping ... Thanks, Li 在 2023/5/18 20:11, lilingfeng (A) 写道: 在 2022/10/18 3:56, Mike Snitzer 写道: On Mon, Oct 10 2022 at 10:41P -0400, Luo Meng wrote: From: Luo Meng If dm_get_device() create dd in multipath_message(), and then call table_deps() after dm_put_table_device(), it will

Re: [dm-devel] [dm-devel resend] dm mpath: fix UAF in multipath_message()

2023-05-18 Thread lilingfeng (A)
在 2022/10/18 3:56, Mike Snitzer 写道: On Mon, Oct 10 2022 at 10:41P -0400, Luo Meng wrote: From: Luo Meng If dm_get_device() create dd in multipath_message(), and then call table_deps() after dm_put_table_device(), it will lead to concurrency UAF bugs. One of the concurrency UAF can be

Re: [dm-devel] [dm-devel resend] dm mpath: fix UAF in multipath_message()

2022-11-30 Thread Luo Meng
在 2022/10/18 3:56, Mike Snitzer 写道: On Mon, Oct 10 2022 at 10:41P -0400, Luo Meng wrote: From: Luo Meng If dm_get_device() create dd in multipath_message(), and then call table_deps() after dm_put_table_device(), it will lead to concurrency UAF bugs. One of the concurrency UAF can be

Re: [dm-devel] [dm-devel resend] dm mpath: fix UAF in multipath_message()

2022-10-17 Thread Mike Snitzer
On Mon, Oct 10 2022 at 10:41P -0400, Luo Meng wrote: > From: Luo Meng > > If dm_get_device() create dd in multipath_message(), > and then call table_deps() after dm_put_table_device(), > it will lead to concurrency UAF bugs. > > One of the concurrency UAF can be shown as below: > >

[dm-devel] [dm-devel resend] dm mpath: fix UAF in multipath_message()

2022-10-11 Thread Luo Meng
From: Luo Meng If dm_get_device() create dd in multipath_message(), and then call table_deps() after dm_put_table_device(), it will lead to concurrency UAF bugs. One of the concurrency UAF can be shown as below: (USE)|(FREE)