Description of problem: ipv6: Fix OOPS in ip6_dst_lookup_tail(). This fixes kernel bugzilla 11469: "TUN with 1024 neighbours: ip6_dst_lookup_tail NULL crash" dst->neighbour is not necessarily hooked up at this point in the processing path, so blindly dereferencing it is the wrong thing to do. This NULL check exists in other similar paths and this case was just an oversight. Also fix the completely wrong and confusing indentation here while we're at it. Based upon a patch by Evgeniy Polyakov. References: http://bugzilla.kernel.org/show_bug.cgi?id=11469 Upstream patch: http://git.kernel.org/linus/e550dfb0c2c31b6363aa463a035fc9f8dcaa3c9b
How to mitigate against NULL pointer dereference vulnerabilities? http://kbase.redhat.com/faq/docs/DOC-20536
This issue has been addressed in following products: Red Hat Enterprise Linux 5 Via RHSA-2010:0147 https://rhn.redhat.com/errata/RHSA-2010-0147.html
This issue has been addressed in following products: Red Hat Enterprise Linux 5.2 Z Stream Via RHSA-2010:0148 https://rhn.redhat.com/errata/RHSA-2010-0148.html
This issue has been addressed in following products: Red Hat Enterprise Linux 5.3.Z - Server Only Via RHSA-2010:0149 https://rhn.redhat.com/errata/RHSA-2010-0149.html
This issue has been addressed in following products: MRG for RHEL-5 Via RHSA-2010:0161 https://rhn.redhat.com/errata/RHSA-2010-0161.html