[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181128.104158.314372136288891394.davem@davemloft.net>
Date: Wed, 28 Nov 2018 10:41:58 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: bianpan2016@....com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
alexandre.bounine@....com
Subject: Re: [PATCH] rapidio/rionet: do not free skb before reading its
length
From: Pan Bian <bianpan2016@....com>
Date: Wed, 28 Nov 2018 14:53:19 +0800
> skb is freed via dev_kfree_skb_any, however, skb->len is read then. This
> may result in a use-after-free bug.
>
> Fixes: e6161d64263 ("rapidio/rionet: rework driver initialization and removal")
> Signed-off-by: Pan Bian <bianpan2016@....com>
Applied and queued up for -stable.
Powered by blists - more mailing lists