Skip to content

net: control the length of the altname list

Jakub Kicinski netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: account alternate interface name memorynet/core/rtnetlink.c+1 -10 repliesApplied
2/2net: limit altnames to 64k totalnet/core/rtnetlink.c+11 -03 repliesApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchDavid Ahern
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] net: control the length of the altname list

Count the memory used for altnames and don't let user overflow the property nlattr. This was reported by George:
https://lore.kernel.org/all/[email protected]/

Targeting net-next because I think we generally don't consider tightening "root controlled" memory accounting to be a fix. There's also some risk of breakage.

Jakub Kicinski (2):
net: account alternate interface name memory
net: limit altnames to 64k total

 net/core/rtnetlink.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1