[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <sea4v7yibt2u6ru4fvist6cgatg4okrb4mmlu62m4xx7sh3yud@lzxwshuvlcbc>
Date: Thu, 27 Jul 2023 08:38:41 +0200
From: Zahari Doychev <zahari.doychev@...ux.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Jamal Hadi Salim <jhs@...atatu.com>, Cong Wang <xiyou.wangcong@...il.com>,
Jiri Pirko <jiri@...nulli.us>, netdev@...r.kernel.org, eric.dumazet@...il.com,
syzbot <syzkaller@...glegroups.com>, Zahari Doychev <zdoychev@...linear.com>,
Simon Horman <simon.horman@...igine.com>, Ido Schimmel <idosch@...dia.com>
Subject: Re: [PATCH v2 net] net: flower: fix stack-out-of-bounds in
fl_set_key_cfm()
On Wed, Jul 26, 2023 at 02:58:15PM +0000, Eric Dumazet wrote:
> Typical misuse of
>
> nla_parse_nested(array, XXX_MAX, ...);
>
> array must be declared as
>
> struct nlattr *array[XXX_MAX + 1];
>
> v2: Based on feedbacks from Ido Schimmel and Zahari Doychev,
> I also changed TCA_FLOWER_KEY_CFM_OPT_MAX and cfm_opt_policy
> definitions.
[...]
Reviewed-by: Zahari Doychev <zdoychev@...linear.com>
thanks
Powered by blists - more mailing lists