[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZLTw83sGbWQ+bGMN@gauss3.secunet.de>
Date: Mon, 17 Jul 2023 09:42:43 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Zhengchao Shao <shaozhengchao@...wei.com>
CC: <netdev@...r.kernel.org>, <herbert@...dor.apana.org.au>,
<davem@...emloft.net>, <dsahern@...nel.org>, <edumazet@...gle.com>,
<kuba@...nel.org>, <pabeni@...hat.com>, <weiyongjun1@...wei.com>,
<yuehaibing@...wei.com>
Subject: Re: [PATCH net 0/3] fix slab-use-after-free in decode_session6
On Mon, Jul 10, 2023 at 05:40:50PM +0800, Zhengchao Shao wrote:
> When net device is configured with the qdisc of the sfb type, the cb
> field of the SKB is used in both enqueue and decode session of packets,
> and the fields overlap. When enqueuing packets, the cb field of skb is
> used as a hash array. Also it is used as the header offset when decoding
> session of skb. Therefore, it will cause slab-use-after-free in
> decode_session6.
> The cb field in the skb should not be used when sending packets. Set the
> cb field of skb to 0 before decoding skb.
>
> Zhengchao Shao (3):
> xfrm: fix slab-use-after-free in decode_session6
> ip6_vti: fix slab-use-after-free in decode_session6
> ip_vti: fix potential slab-use-after-free in decode_session6
Series applied, thanks a lot!
Powered by blists - more mailing lists