aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/phy/tegra/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-05-26 08:35:24 -0700
committerJakub Kicinski <kuba@kernel.org>2026-05-27 17:42:07 -0700
commit7281b096b072f6c6e30420e3467d738f2e4c4b57 (patch)
tree8641050652940b18fa79dd26ce890bb769416876 /include/linux/phy/tegra/ssh:/git@git.zx2c4.com
parentMerge branch 'bridge-fix-sleep-in-atomic-context' (diff)
ethtool: coalesce: cap profile updates at NET_DIM_PARAMS_NUM_PROFILES
ethnl_update_profile() walks the ETHTOOL_A_PROFILE_IRQ_MODERATION nest list with an index 'i' and writes new_profile[i++] without bounding i. The destination is kmemdup()'d at NET_DIM_PARAMS_NUM_PROFILES entries (5), but the Netlink nest count is entirely user-controlled. Netlink policies do not have support for constraining the number of nested entries (or number of multi-attr entries). Fixes: f750dfe825b9 ("ethtool: provide customized dim profile management") Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/20260526153533.2779187-2-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/phy/tegra/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions