diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-05-25 11:35:38 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-27 05:20:15 +0300 |
| commit | 73a7c8fb2302ae78920b210c098b752b9caa6bf6 (patch) | |
| tree | ea53efff95ba894f61afe61092b7538c0d4bba5e /include/linux/debugobjects.h | |
| parent | 2bcf59eefb9f00a2b1d426b639ee49c305a80695 (diff) | |
| download | linux-73a7c8fb2302ae78920b210c098b752b9caa6bf6.tar.xz | |
rtnetlink: use nla_nest_end_safe() in rtnl_fill_prop_list()
Avoid corrupting a netlink message and confuse user space in the
very unlikely case rtnl_fill_prop_list was able to produce a very big
nested element.
This is extremely unlikely, because rtnl_prop_list_size()
provisions nla_total_size(ALTIFNAMSIZ) per altname.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260525083542.1565964-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
