mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 18:42:21 +00:00
Julia Lawall pointed out that IPSET_ATTR_ETHER netlink attribute length was not checked explicitly, just for the maximum possible size. Malicious netlink clients could send shorter attribute and thus resulting a kernel read after the buffer. The patch adds the explicit length checkings. Reported-by: Julia Lawall <[email protected]> Signed-off-by: Jozsef Kadlecsik <[email protected]>