CWE
476
Advisory Published
CVE Published
Updated

CVE-2015-8787: Null Pointer Dereference

First published: Thu Jan 21 2016(Updated: )

Kernel NULL pointer dereference vulnerability was found in netfilter/nf_nat_redirect.c in nf_nat_redirect_ipv4 function introduced by commit 8b13eddfdf04cbfa561725cfc42d6868fe896f56 ("netfilter: refactor NAT redirect IPv4 to use it from nf_tables"). Vulnerable code: unsigned int nf_nat_redirect_ipv4(struct sk_buff *skb, ... { ... rcu_read_lock(); indev = __in_dev_get_rcu(skb-&gt;dev); if (indev != NULL) { ifa = indev-&gt;ifa_list; newdst = ifa-&gt;ifa_local; &lt;--- } rcu_read_unlock(); ... } 'ifa' is not checked before access and can be accessed even if it's NULL. Crash might happen when packets that need to be redirected somehow arrive on an interface which hasn't been yet fully configured. Patch and crash report: <a href="https://lkml.org/lkml/2015/12/2/618">https://lkml.org/lkml/2015/12/2/618</a> Oss-security reference: <a href="http://seclists.org/oss-sec/2016/q1/223">http://seclists.org/oss-sec/2016/q1/223</a> CVE assignment: <a href="http://seclists.org/oss-sec/2016/q1/226">http://seclists.org/oss-sec/2016/q1/226</a>

Credit: security@debian.org security@debian.org

Affected SoftwareAffected VersionHow to fix
Linux Linux kernel>=3.19<4.1.31
Linux Linux kernel>=4.2<4.4
debian/linux
5.10.223-1
5.10.226-1
6.1.115-1
6.1.112-1
6.11.7-1
6.11.9-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the vulnerability ID?

    The vulnerability ID is CVE-2015-8787.

  • What is the severity of CVE-2015-8787?

    The severity of CVE-2015-8787 is medium with a severity value of 4.

  • How does CVE-2015-8787 affect the Linux kernel?

    CVE-2015-8787 allows remote attackers to cause a denial of service or possibly have unspecified other impact by sending certain IPv4 packets to an incompletely configured system, leading to a NULL pointer dereference and system crash.

  • Which versions of the Linux kernel are affected by CVE-2015-8787?

    Versions of the Linux kernel before version 4.4 are affected by CVE-2015-8787.

  • How do I fix CVE-2015-8787?

    To fix CVE-2015-8787, update your Linux kernel to version 4.4 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203