Re: [PATCH AUTOSEL 5.2 067/123] driver core: Fix use-after-free and double free on glue directory

2019-08-25 Thread Sasha Levin
On Wed, Aug 14, 2019 at 09:36:08AM +0200, Greg Kroah-Hartman wrote: On Tue, Aug 13, 2019 at 10:09:51PM -0400, Sasha Levin wrote: This one needs a bit more time to "soak" in the -rc releases before I want to apply it to the stable release. So if you could drop it from all of your autosel queues,

Re: [PATCH AUTOSEL 5.2 067/123] driver core: Fix use-after-free and double free on glue directory

2019-08-14 Thread Greg Kroah-Hartman
On Tue, Aug 13, 2019 at 10:09:51PM -0400, Sasha Levin wrote: > From: Muchun Song > > [ Upstream commit ac43432cb1f5c2950408534987e57c2071e24d8f ] > > There is a race condition between removing glue directory and adding a new > device under the glue dir. It can be reproduced in following test: >

[PATCH AUTOSEL 5.2 067/123] driver core: Fix use-after-free and double free on glue directory

2019-08-13 Thread Sasha Levin
From: Muchun Song [ Upstream commit ac43432cb1f5c2950408534987e57c2071e24d8f ] There is a race condition between removing glue directory and adding a new device under the glue dir. It can be reproduced in following test: CPU1: CPU2: device_add() get_de