Skip to contentSkip to conversation

netfilter: ipset: Check and reject crazy /0 input parameters

stable Ben Hutchings 2 participants 2 messages Dec 24, 2013 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

This fix went into Linux 3.7:

commit b9fed748185a96b7cfe74afac4bd228e8af16f01

Author: Jozsef Kadlecsik <[email protected]>
Date:   Tue Sep 4 17:45:59 2012 +0200

netfilter: ipset: Check and reject crazy /0 input parameters

bitmap:ip and bitmap:ip,mac type did not reject such a crazy range when created and using such a set results in a kernel crash. The hash types just silently ignored such parameters.

Reject invalid /0 input parameters explicitely.

Should it also go into stable 3.x.y updates? I checked that it applies and builds cleanly on top of 3.2.53.

Ben.

Signature · 3 lines
Ben Hutchings
Unix is many things to many people,
but it's never been everything to anybody.
#2 lore raw
Quoted 12 lines · Ben Hutchings

This fix went into Linux 3.7:

commit b9fed748185a96b7cfe74afac4bd228e8af16f01

Author: Jozsef Kadlecsik <[email protected]>
Date:   Tue Sep 4 17:45:59 2012 +0200

netfilter: ipset: Check and reject crazy /0 input parameters

bitmap:ip and bitmap:ip,mac type did not reject such a crazy range when created and using such a set results in a kernel crash. The hash types just silently ignored such parameters.

Quoted 6 lines

Reject invalid /0 input parameters explicitely.

Should it also go into stable 3.x.y updates? I checked that it applies and builds cleanly on top of 3.2.53.

Yes, it should go into the stable updates too.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences

          H-1525 Budapest 114, POB. 49, Hungary