CVE-2015-8812: Use After Free

Published Feb 1, 2016
·
Updated

A flaw was found in the CXGB3 kernel driver when the network was considered congested. The kernel would incorrectly misinterpret the congestion as an error condition and incorrectly free/clean up the skb. When the device would then send the skb's queued, these structures would be referenced and may panic the system or allow an attacker to escalate privileges in a use-after-free scenario.

From the patch:

----

The cxgb3send() functions return NETXMIT values, which are positive integers values. So don't treat positive return values as an error. ----

Upstream commit: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=67f1aee6f45059fd6b0f5b0ecb2c97ad0451f6b3

CVE assignment: http://seclists.org/oss-sec/2016/q1/311

Other sources

drivers/infiniband/hw/cxgb3/iwchcm.c in the Linux kernel before 4.5 does not properly identify error conditions, which allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free) via crafted packets.

— Ubuntu

Affected Software

14 affected componentsFixes available
Novell Suse Linux Enterprise Real Time Extension=12-sp1
Linux Linux kernel<3.2.78
Linux Linux kernel>=3.3<3.10.99
Linux Linux kernel>=3.11<3.12.56
Linux Linux kernel>=3.13<3.14.63
Linux Linux kernel>=3.15<3.16.35
Linux Linux kernel>=3.17<3.18.31
Linux Linux kernel>=3.19<4.1.22
Linux Linux kernel>=4.2.0<4.4.4
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.10
debian/linux
3.2.73-2+deb7u33.16.7-ckt20-1+deb8u44.4.2-1
debian/linux-2.6
2.6.32-48squeeze20

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 3.2.73-2+deb7u3Fixed in 3.16.7-ckt20-1+deb8u4Fixed in 4.4.2-1
  2. Upgrade

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

    Fixed in 2.6.32-48squeeze20
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 67f1aee6f45059fd6b0f5b0ecb2c97ad0451f6b3

Event History

Dec 31, 2015
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Apr 27, 2016
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Oct 21, 2021
Data Sourced
via Red Hat·12:50 AM
DescriptionSeverityAffected Software
Jan 19, 2023
Data Sourced
via NVD·04:13 PM
RemedyDescriptionSeverityAffected Software
Updated
04:13 PM
Affected Software
Event
04:13 PM
Nov 21, 2024
Updated
via NVD·02:39 AM
RemedyAffected Software
Apr 12, 2025
Updated
via NVD·10:46 AM
Affected Software
Jun 17, 2026
Updated
via NVD·12:35 AM
Affected Software
Jul 4, 2026
Updated
via Ubuntu·12:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this vulnerability?

The vulnerability ID is CVE-2015-8812.

2

What is the severity level of CVE-2015-8812?

The severity level of CVE-2015-8812 is medium (4).

3

How does CVE-2015-8812 affect Linux kernel versions?

CVE-2015-8812 affects Linux kernel versions before 4.5.

4

What is the impact of CVE-2015-8812?

CVE-2015-8812 allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free) via crafted packets.

5

How can I fix CVE-2015-8812?

To fix CVE-2015-8812, update your Linux kernel to version 4.5 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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203