Re: WARNING: refcount bug in kobject_add_internal

From: Muchun Song
Date: Mon Jul 01 2019 - 23:09:00 EST


Hi Ben,

Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> ä2019å7æ2æåä äå10:44åéï
>
> Munchun, is this what your patch fixes ?
>
Yes, this is what my patch fixes.

The patchs can reference to:
[PATCH v1 OPT1] driver core: Fix use-after-free and double
free on glue directory
[PATCH v4 OPT2] driver core: Fix use-after-free and double
free on glue directory

And waiting for Greg chose which solution he prefered.

Yours,
Muchun