Re: [PATCH] rapidio/rionet: do not free skb before reading its length
From: David Miller
Date: Wed Nov 28 2018 - 13:42:04 EST
From: Pan Bian <bianpan2016@xxxxxxx>
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@xxxxxxx>
Applied and queued up for -stable.