Re: [PATCH v2] RDMA/nldev: validate dynamic counter attribute length
From: Leon Romanovsky
Date: Tue Jul 21 2026 - 09:35:18 EST
On Mon, 20 Jul 2026 19:49:18 +0800, Pengpeng Hou wrote:
> RDMA_NLDEV_ATTR_STAT_HWCOUNTERS is a nested attribute whose children are
> consumed directly with nla_get_u32(). The top-level policy validates only
> the container, so it does not establish the fixed shape of each child.
>
> Require every child payload to be exactly one u32 before reading it.
>
>
> [...]
Applied, thanks!
[1/1] RDMA/nldev: validate dynamic counter attribute length
https://git.kernel.org/rdma/rdma/c/74f49255492a62
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>