CVE-2015-8543: Null Pointer Dereference

Published Dec 9, 2015
·
Updated

A NULL pointer dereference flaw was found in the way the Linux kernel's network subsystem handled socket creation with an invalid protocol identifier. A local user could use this flaw to crash the system.

Other sources

It was found that in net/ipv4/afinet.c, PC will contain 0x0 if sk->skprot->getport is NULL, leading to kernel null pointer dereference.

Vulnerable code:

static int inetautobind(struct sock sk) { struct inetsock inet; / We may need to bind the socket. / locksock(sk); inet = inetsk(sk); if (!inet->inetnum) { if (sk->skprot->getport(sk, 0)) { releasesock(sk); return -EAGAIN; } inet->inetsport = htons(inet->inetnum); } releasesock(sk); return 0; }

CVE request (contains reproducer):

http://seclists.org/oss-sec/2015/q4/458

— Red Hat

The networking implementation in the Linux kernel through 4.3.3, as used in Android and other products, does not validate protocol identifiers for certain protocol families, which allows local users to cause a denial of service (NULL function pointer dereference and system crash) or possibly gain privileges by leveraging CLONENEWUSER support to execute a crafted SOCKRAW application.

Affected Software

37 affected componentsFixes available
redhat/kernel<0:2.6.32-642.el6
0:2.6.32-642.el6
redhat/kernel-rt<0:3.10.0-514.rt56.420.el7
0:3.10.0-514.rt56.420.el7
redhat/kernel<0:3.10.0-514.el7
0:3.10.0-514.el7
Linux Linux kernel<3.2.75
Linux Linux kernel>=3.3<3.4.111
Linux Linux kernel>=3.5<3.10.95
Linux Linux kernel>=3.11<3.12.52
Linux Linux kernel>=3.13<3.14.59
Linux Linux kernel>=3.15<3.16.35
Linux Linux kernel>=3.17<3.18.26
Linux Linux kernel>=3.19<4.1.16
Linux Linux kernel>=4.2<4.3.4
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1
ubuntu/linux<3.13.0-79.123
3.13.0-79.123
ubuntu/linux-lts-utopic<3.16.0-60.80~14.04.1
3.16.0-60.80~14.04.1
ubuntu/linux-lts-vivid<3.19.0-51.57~14.04.1
3.19.0-51.57~14.04.1
ubuntu/linux-lts-wily<4.2.0-27.32~14.04.1
4.2.0-27.32~14.04.1
ubuntu/linux-azure*
ubuntu/linux-gcp*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-gke*
ubuntu/linux-gkeop*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-azure-6.11*
ubuntu/linux-gcp-6.11*
ubuntu/linux-hwe-6.11*
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-raspi-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:2.6.32-642.el6
  2. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-514.rt56.420.el7
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-514.el7
  4. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1
  5. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 3.13.0-79.123
  6. Upgrade

    Upgrade ubuntu/linux-lts-utopic to a version that resolves this vulnerability.

    Fixed in 3.16.0-60.80~14.04.1
  7. Upgrade

    Upgrade ubuntu/linux-lts-vivid to a version that resolves this vulnerability.

    Fixed in 3.19.0-51.57~14.04.1
  8. Upgrade

    Upgrade ubuntu/linux-lts-wily to a version that resolves this vulnerability.

    Fixed in 4.2.0-27.32~14.04.1

Event History

Dec 9, 2015
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 28, 2015
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·11:00 AM
Data Sourced
via MITRE·11:00 AM
Description
Feb 17, 2021
Data Sourced
via Red Hat·04:37 AM
DescriptionSeverityAffected Software
Jun 7, 2023
Data Sourced
via NVD·12:47 PM
DescriptionSeverityAffected Software
Updated
via NVD·12:47 PM
Affected Software
Nov 21, 2024
Updated
via NVD·02:38 AM
Affected Software
Apr 12, 2025
Updated
via NVD·10:46 AM
Affected Software
Jun 17, 2026
Updated
via NVD·12:34 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2015-8543?

CVE-2015-8543 is a vulnerability in the Linux kernel's network subsystem that allows local users to cause a denial of service or possibly gain privileges.

2

Which products are affected by CVE-2015-8543?

The Linux kernel through version 4.3.3, as used in Android and other products, is affected.

3

How severe is CVE-2015-8543?

CVE-2015-8543 has a severity rating of medium.

4

How can CVE-2015-8543 be exploited?

CVE-2015-8543 can be exploited by local users to cause a denial of service or possibly gain privileges.

5

Is there a fix available for CVE-2015-8543?

Yes, the recommended remedy for CVE-2015-8543 is to update to Linux kernel version 4.4~.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203