CVE-2014-2851: Use After Free

Published Apr 11, 2014
·
Updated

A flaw was found in the way pinginitsock() function handled groupinfo struct reference counter. Since groupinfo refcounter is only incremented but never decremented in this codepath, it could lead to refcounter overflow and possibly to use-after-free issue later.

An unprivileged local user could use this flaw to crash the system or, potentially, escalate their privileges on the system.

Upstream patch proposal: https://lkml.org/lkml/2014/4/10/736

Other sources

Integer overflow in the pinginitsock function in net/ipv4/ping.c in the Linux kernel through 3.14.1 allows local users to cause a denial of service (use-after-free and system crash) or possibly gain privileges via a crafted application that leverages an improperly managed reference counter.

— Launchpad

Affected Software

9 affected componentsFixes available
Linux Linux kernel<=3.14.1
Debian Debian Linux=7.0
Linux Linux kernel>=3.0<3.2.60
Linux Linux kernel>=3.3<3.4.92
Linux Linux kernel>=3.5<3.10.41
Linux Linux kernel>=3.11<3.12.19
Linux Linux kernel>=3.13<3.14.5
Linux Linux kernel=3.0-rc1
debian/linux
3.2.57-3+deb7u13.14.4-1

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.57-3+deb7u1Fixed in 3.14.4-1
  2. Upgrade

    Upgrade Linux kernel (net/ipv4/ping.c) to a version that resolves this vulnerability.

    Fixed in 3.14.1

Event History

Apr 11, 2014
Data Sourced
11:50 AM
DescriptionSeverityAffected Software
Apr 14, 2014
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description
Aug 26, 2020
Data Sourced
07:43 PM
Weakness
Feb 17, 2021
Data Sourced
via Red Hat·06:41 AM
DescriptionSeverityAffected Software
Dec 15, 2023
Data Sourced
via NVD·03:57 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:57 PM
Affected Software
Nov 21, 2024
Updated
via NVD·02:07 AM
RemedyAffected Software
Apr 12, 2025
Updated
via NVD·10:46 AM
Affected Software
Updated
via NVD·10:46 AM
RemedyAffected Software
May 6, 2026
Updated
via NVD·10:30 PM
Affected Software
Jun 17, 2026
Updated
via NVD·12:07 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2014-2851?

CVE-2014-2851 is classified as a medium severity vulnerability due to potential use-after-free issues.

2

How do I fix CVE-2014-2851?

To fix CVE-2014-2851, update your Linux kernel to version 5.10.223-1 or later.

3

What systems are affected by CVE-2014-2851?

CVE-2014-2851 affects numerous Linux kernel versions from 3.0 up to 3.14.1.

4

Can CVE-2014-2851 be exploited remotely?

CVE-2014-2851 requires local access, so it cannot be exploited remotely by an attacker.

5

Is there a known attack vector for CVE-2014-2851?

The attack vector for CVE-2014-2851 involves unprivileged local users exploiting the vulnerability to cause a denial of service.

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