[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190507.121758.1374598572835036372.davem@davemloft.net>
Date: Tue, 07 May 2019 12:17:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: g.nault@...halink.fr, jian.w.wen@...cle.com, edumazet@...gle.com,
kafai@...com, xiyou.wangcong@...il.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] l2tp: Fix possible NULL pointer dereference
From: YueHaibing <yuehaibing@...wei.com>
Date: Mon, 6 May 2019 22:44:04 +0800
> BUG: unable to handle kernel NULL pointer dereference at 0000000000000128
. ..
> ---[ end trace 8322b2b8bf83f8e1
>
> If alloc_workqueue fails in l2tp_init, l2tp_net_ops
> is unregistered on failure path. Then l2tp_exit_net
> is called which will flush NULL workqueue, this patch
> add a NULL check to fix it.
>
> Fixes: 67e04c29ec0d ("l2tp: unregister l2tp_net_ops on failure path")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists