[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151117.144001.631233956285820166.davem@davemloft.net>
Date: Tue, 17 Nov 2015 14:40:01 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sd@...asysnail.net
Cc: netdev@...r.kernel.org, maheshb@...gle.com
Subject: Re: [PATCH net] ipvlan: fix use after free of skb
From: Sabrina Dubroca <sd@...asysnail.net>
Date: Mon, 16 Nov 2015 22:44:53 +0100
> 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@...asysnail.net>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists