Bug 121890 - [ICMP]: Fix extra dst release when ip_options_echo fails (CVE-2006-0454)
When two ip_route_output_key lookups in icmp_send were combined I
forgot to change the error path for ip_options_echo to not drop the
dst reference since it now sits before the dst lookup. To fix it we
simply jump past the ip_rt_put call.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
*** Bug 121945 has been marked as a duplicate of this bug. ***
Sources above and code review show this concerns 2.6.12+ but not earlier and
not 2.4 either. Maintainer may want to change Satus Whiteboard to reflect
2.6.12+
FYI: I've just added sys-kernel/vanilla-sources-2.6.15.3 to the tree.
CCing maintainers:
ck-sources-2.6 -- marineam
hardened-sources-2.6 -- johnm, hardened, kerframil
hppa-sources-2.6 -- GMSoft
mips-sources-2.6 -- `Kumba
rsbac-sources-2.6 -- kang
suspend2-sources-2.6 -- brix
usermode-sources-2.6 -- dsd
xbox-sources-2.6 -- gimli
Fixed in sys-kernel/suspend2-sources-2.6.15-r6.
hppa-source-2.6.15.4_p4 stable on hppa. Enjoy.
Fixed in usermode-sources-2.6.15-r1
Now fixed in:
* genpatches-2.6.14-11
* hardened-sources-2.6.14-r6