[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <959eac09-28ae-da99-f8bd-d4b3d1182988@kernel.org>
Date: Sun, 26 Jun 2022 11:15:29 -0600
From: David Ahern <dsahern@...nel.org>
To: zys.zljxml@...il.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, yoshfuji@...ux-ipv6.org
Cc: kuba@...nel.org, davem@...emloft.net, edumazet@...gle.com,
eric.dumazet@...il.com, pabeni@...hat.com,
katrinzhou <katrinzhou@...cent.com>
Subject: Re: [PATCH v2] ipv6/sit: fix ipip6_tunnel_get_prl when memory
allocation fails
On 6/24/22 11:45 PM, zys.zljxml@...il.com wrote:
> From: katrinzhou <katrinzhou@...cent.com>
>
> Fix an illegal copy_to_user() attempt when the system fails to
> allocate memory for prl due to a lack of memory.
>
> Addresses-Coverity: ("Unused value")
> Fixes: 300aaeeaab5f ("[IPV6] SIT: Add SIOCGETPRL ioctl to get/dump PRL.")
> Signed-off-by: katrinzhou <katrinzhou@...cent.com>
> ---
>
> Changes in v2:
> - Move the position of label "out"
>
> net/ipv6/sit.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists