https://github.com/torvalds/linux
Revision cfc435198f53a6fa1f656d98466b24967ff457d0 authored by Pan Bian on 28 November 2018, 06:53:19 UTC, committed by David S. Miller on 28 November 2018, 18:38:48 UTC
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>
1 parent 4df5ce9
History
Tip revision: cfc435198f53a6fa1f656d98466b24967ff457d0 authored by Pan Bian on 28 November 2018, 06:53:19 UTC
rapidio/rionet: do not free skb before reading its length
Tip revision: cfc4351
File Mode Size
Kconfig -rw-r--r-- 737 bytes
Makefile -rw-r--r-- 325 bytes
coherent.c -rw-r--r-- 11.0 KB
contiguous.c -rw-r--r-- 7.9 KB
debug.c -rw-r--r-- 46.0 KB
direct.c -rw-r--r-- 9.5 KB
mapping.c -rw-r--r-- 8.2 KB
swiotlb.c -rw-r--r-- 24.0 KB
virt.c -rw-r--r-- 1.4 KB

back to top