[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180904.121906.91139500169468204.davem@davemloft.net>
Date: Tue, 04 Sep 2018 12:19:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, jhs@...atatu.com
Subject: Re: [Patch net] act_ife: fix a potential use-after-free
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Mon, 3 Sep 2018 11:08:15 -0700
> Immediately after module_put(), user could delete this
> module, so e->ops could be already freed before we call
> e->ops->release().
>
> Fix this by moving module_put() after ops->release().
>
> Fixes: ef6980b6becb ("introduce IFE action")
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied and queued up for -stable, thanks Cong.
Powered by blists - more mailing lists