lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d2d6d518-b67d-4b5b-a0ba-13b506e27737@kernel.org>
Date: Tue, 20 Aug 2024 12:58:34 -0600
From: David Ahern <dsahern@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>, "David S . Miller"
 <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
 Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
 Vasily Averin <vasily.averin@...ux.dev>
Subject: Re: [PATCH v2 net 3/3] ipv6: prevent possible UAF in ip6_xmit()

On 8/20/24 10:08 AM, Eric Dumazet wrote:
> If skb_expand_head() returns NULL, skb has been freed
> and the associated dst/idev could also have been freed.
> 
> We must use rcu_read_lock() to prevent a possible UAF.
> 
> Fixes: 0c9f227bee11 ("ipv6: use skb_expand_head in ip6_xmit")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Vasily Averin <vasily.averin@...ux.dev>
> ---
>  net/ipv6/ip6_output.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 

Reviewed-by: David Ahern <dsahern@...nel.org>



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ