Messages in this thread | | | Date | Wed, 28 Nov 2018 10:41:58 -0800 (PST) | Subject | Re: [PATCH] rapidio/rionet: do not free skb before reading its length | From | David Miller <> |
| |
From: Pan Bian <bianpan2016@163.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@163.com>
Applied and queued up for -stable.
| |