mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
rapidio/rionet: do not free skb before reading its length
commitcfc435198fupstream. skb is freed via dev_kfree_skb_any, however, skb->len is read then. This may result in a use-after-free bug. Fixes:e6161d6426("rapidio/rionet: rework driver initialization and removal") Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
31b4872135
commit
d4913f1dd4
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue