diff options
author | Sabrina Dubroca | 2015-11-16 22:44:53 +0100 |
---|---|---|
committer | David S. Miller | 2015-11-17 20:39:29 +0100 |
commit | a534dc529853c69e94994aa47c1d80a03ce2c11d (patch) | |
tree | 6e043089d86b6615264dfc22e07fc326b3a9ef13 /drivers/spi/spi-bfin5xx.c | |
parent | ipvlan: fix leak in ipvlan_rcv_frame (diff) | |
download | kernel-qcow2-linux-a534dc529853c69e94994aa47c1d80a03ce2c11d.tar.gz kernel-qcow2-linux-a534dc529853c69e94994aa47c1d80a03ce2c11d.tar.xz kernel-qcow2-linux-a534dc529853c69e94994aa47c1d80a03ce2c11d.zip |
ipvlan: fix use after free of skb
ipvlan_handle_frame is a rx_handler, and when it returns a value other
than RX_HANDLER_CONSUMED (here, NET_RX_DROP aka RX_HANDLER_ANOTHER),
__netif_receive_skb_core expects that the skb still exists and will
process it further, but we just freed it.
Fixes: 2ad7bf363841 ("ipvlan: Initial check-in of the IPVLAN driver.")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/spi/spi-bfin5xx.c')
0 files changed, 0 insertions, 0 deletions