diff options
author | Pan Bian <bianpan2016@163.com> | 2018-11-28 14:53:19 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-28 10:38:48 -0800 |
commit | cfc435198f53a6fa1f656d98466b24967ff457d0 (patch) | |
tree | fcdc35233ab6cbfa602bd55da168c397587f4698 /LICENSES | |
parent | 4df5ce9bc03e47d05f400e64aa32a82ec4cef419 (diff) | |
download | linux-stable-cfc435198f53a6fa1f656d98466b24967ff457d0.tar.gz linux-stable-cfc435198f53a6fa1f656d98466b24967ff457d0.tar.bz2 linux-stable-cfc435198f53a6fa1f656d98466b24967ff457d0.zip |
rapidio/rionet: do not free skb before reading its length
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions