[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <49344fc4-a524-4c54-b75a-f094adf90353@gmail.com>
Date: Tue, 9 Apr 2024 18:15:05 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Edward Adam Davis <eadavis@...com>, netdev@...r.kernel.org,
edumazet@...gle.com
Cc: andrii@...nel.org, ast@...nel.org, bpf@...r.kernel.org,
daniel@...earbox.net, haoluo@...gle.com, john.fastabend@...il.com,
jolsa@...nel.org, kpsingh@...nel.org, linux-kernel@...r.kernel.org,
martin.lau@...ux.dev, sdf@...gle.com, song@...nel.org,
syzkaller-bugs@...glegroups.com, yonghong.song@...ux.dev
Subject: Re: [PATCH] netfilter: x_tables: fix incorrect parameter length
before call copy_from_sockptr
On 4/9/24 17:00, Edward Adam Davis wrote:
> If len < sizeof(tmp) it will trigger oob, so take the min of them.
>
> Signed-off-by: Edward Adam Davis <eadavis@...com>
> ---
> net/ipv4/netfilter/arp_tables.c | 4 ++--
> net/ipv4/netfilter/ip_tables.c | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
Hi Edward
Already fixed in net tree
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=0c83842df40f86e529db6842231154772c20edcc
Also a followup has been sent today
https://lore.kernel.org/netdev/20240409120741.3538135-1-edumazet@google.com/T/#u
Thanks.
Powered by blists - more mailing lists