net: control the length of the altname list
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
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: account alternate interface name memorynet/ | +1 | 0 replies | Applied |
| 2/2 | net: limit altnames to 64k totalnet/ | +11 | 3 replies | Applied |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | David Ahern |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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