Jozsef Kadlecsik d8aacd8718 netfilter: ipset: Check IPSET_ATTR_ETHER netlink attribute length
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 <julia.lawall@lip6.fr>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
2016-03-08 20:36:17 +01:00
..
2016-01-04 10:29:17 -05:00
2015-03-02 16:43:41 -05:00
2015-11-30 14:47:33 -05:00
2015-10-13 17:42:34 +02:00
2016-01-07 14:31:26 -05:00
2015-11-23 14:56:15 -05:00
2016-01-05 22:25:57 -05:00
2015-10-23 03:05:19 -07:00
2015-10-07 04:27:43 -07:00
2016-01-04 21:48:15 -05:00
2016-01-24 22:04:49 -08:00
2016-01-10 22:13:15 -05:00