Re: [syzbot] [net?] KASAN: global-out-of-bounds Read in __nla_validate_parse

From: Hangbin Liu
Date: Mon Apr 08 2024 - 05:16:03 EST


On Mon, Apr 08, 2024 at 07:40:00AM +0200, Eric Dumazet wrote:
> Probably caused by
>
> commit 948dbafc15da900b13c2bc9e244b9e109303907b
> Author: Hangbin Liu <liuhangbin@xxxxxxxxx>
> Date: Mon Apr 1 11:10:03 2024 +0800
>
> net: team: use policy generated by YAML spec
>
> generated with:
>
> $ ./tools/net/ynl/ynl-gen-c.py --mode kernel \
> > --spec Documentation/netlink/specs/team.yaml --source \
> > -o drivers/net/team/team_nl.c
> $ ./tools/net/ynl/ynl-gen-c.py --mode kernel \
> > --spec Documentation/netlink/specs/team.yaml --header \
> > -o drivers/net/team/team_nl.h
>
> The TEAM_ATTR_LIST_PORT in team_nl_policy is removed as it is only in the
> port list reply attributes.
>
> Signed-off-by: Hangbin Liu <liuhangbin@xxxxxxxxx>
> Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxx>
> Link: https://lore.kernel.org/r/20240401031004.1159713-4-liuhangbin@xxxxxxxxx
> Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>

Thanks for the report, I will check what I missed.

Hangbin