Re: [PATCH 4.14 000/211] 4.14.157-stable review
From: Greg Kroah-Hartman
Date: Thu Nov 28 2019 - 02:38:04 EST
On Thu, Nov 28, 2019 at 11:51:37AM +0530, Naresh Kamboju wrote:
> Hi Greg,
>
> > Kernel BUG noticed on x86_64 device while booting 4.14.157-rc1 kernel.
>
>
> The problematic patch is,
> >> Jouni Hogander <jouni.hogander@xxxxxxxxxx>
> >> net-sysfs: Fix reference count leak in rx|netdev_queue_add_kobject
>
> And this kernel panic is been fixed by below patch,
>
> commit 48a322b6f9965b2f1e4ce81af972f0e287b07ed0
> Author: Eric Dumazet <edumazet@xxxxxxxxxx>
> Date: Wed Nov 20 19:19:07 2019 -0800
>
> net-sysfs: fix netdev_queue_add_kobject() breakage
>
> kobject_put() should only be called in error path.
>
> Fixes: b8eb718348b8 ("net-sysfs: Fix reference count leak in
> rx|netdev_queue_add_kobject")
> Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx>
> Cc: Jouni Hogander <jouni.hogander@xxxxxxxxxx>
> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
Thanks for the report, will go queue it up now.
greg k-h