Re: [PATCH] mmc: cavium: Fix use-after-free in of_platform_device_destroy

2017-09-07 Thread Jan Glauber
On Thu, Sep 07, 2017 at 11:58:58AM -0500, Rob Herring wrote: > On Thu, Sep 7, 2017 at 6:24 AM, Jan Glauber wrote: > > KASAN reported the following: > > > > [ 19.338655] > > == > > [ 19.345946] BUG: KASAN: use-after-free in > > o

Re: [PATCH] mmc: cavium: Fix use-after-free in of_platform_device_destroy

2017-09-07 Thread David Daney
On 09/07/2017 09:58 AM, Rob Herring wrote: On Thu, Sep 7, 2017 at 6:24 AM, Jan Glauber wrote: KASAN reported the following: [ 19.338655] == [ 19.345946] BUG: KASAN: use-after-free in of_platform_device_destroy+0x88/0x100 [

Re: [PATCH] mmc: cavium: Fix use-after-free in of_platform_device_destroy

2017-09-07 Thread Rob Herring
On Thu, Sep 7, 2017 at 6:24 AM, Jan Glauber wrote: > KASAN reported the following: > > [ 19.338655] > == > [ 19.345946] BUG: KASAN: use-after-free in > of_platform_device_destroy+0x88/0x100 > [ 19.345966] Read of size 8 at add

Re: [PATCH] mmc: cavium: Fix use-after-free in of_platform_device_destroy

2017-09-07 Thread Ulf Hansson
On 7 September 2017 at 14:33, Jan Glauber wrote: > On Thu, Sep 07, 2017 at 02:21:17PM +0200, Ulf Hansson wrote: >> On 7 September 2017 at 14:19, Jan Glauber >> wrote: >> > Thanks Uffe. The fix would only be required for 4.13, as only with that the >> > Cavium GPIO driver became available. >> >> O

Re: [PATCH] mmc: cavium: Fix use-after-free in of_platform_device_destroy

2017-09-07 Thread Jan Glauber
On Thu, Sep 07, 2017 at 02:21:17PM +0200, Ulf Hansson wrote: > On 7 September 2017 at 14:19, Jan Glauber > wrote: > > Thanks Uffe. The fix would only be required for 4.13, as only with that the > > Cavium GPIO driver became available. > > Okay, I drop the fixes tag then, because it points to a co

Re: [PATCH] mmc: cavium: Fix use-after-free in of_platform_device_destroy

2017-09-07 Thread Ulf Hansson
On 7 September 2017 at 14:19, Jan Glauber wrote: > Thanks Uffe. The fix would only be required for 4.13, as only with that the > Cavium GPIO driver became available. Okay, I drop the fixes tag then, because it points to a commit present in 4.12 as well. Make sense? Kind regards Uffe > > --Jan

Re: [PATCH] mmc: cavium: Fix use-after-free in of_platform_device_destroy

2017-09-07 Thread Jan Glauber
Thanks Uffe. The fix would only be required for 4.13, as only with that the Cavium GPIO driver became available. --Jan On Thu, Sep 07, 2017 at 02:07:01PM +0200, Ulf Hansson wrote: > On 7 September 2017 at 13:24, Jan Glauber wrote: > > KASAN reported the following: > > > > [ 19.338655] > > ===

Re: [PATCH] mmc: cavium: Fix use-after-free in of_platform_device_destroy

2017-09-07 Thread Ulf Hansson
On 7 September 2017 at 13:24, Jan Glauber wrote: > KASAN reported the following: > > [ 19.338655] > == > [ 19.345946] BUG: KASAN: use-after-free in > of_platform_device_destroy+0x88/0x100 > [ 19.345966] Read of size 8 at addr

[PATCH] mmc: cavium: Fix use-after-free in of_platform_device_destroy

2017-09-07 Thread Jan Glauber
KASAN reported the following: [ 19.338655] == [ 19.345946] BUG: KASAN: use-after-free in of_platform_device_destroy+0x88/0x100 [ 19.345966] Read of size 8 at addr fe01aa6f1468 by task systemd-udevd/264 [ 19.345983] CPU: