CVE Vulnerabilities

CVE-2014-2851

Use After Free

Published: Apr 14, 2014 | Modified: Apr 12, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
6.9 MEDIUM
AV:L/AC:M/Au:N/C:C/I:C/A:C
RedHat/V2
6.2 IMPORTANT
AV:L/AC:H/Au:N/C:C/I:C/A:C
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Integer overflow in the ping_init_sock 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.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
Linux_kernelLinux3.0 (including)3.2.60 (excluding)
Linux_kernelLinux3.3 (including)3.4.92 (excluding)
Linux_kernelLinux3.5 (including)3.10.41 (excluding)
Linux_kernelLinux3.11 (including)3.12.19 (excluding)
Linux_kernelLinux3.13 (including)3.14.5 (excluding)
Linux_kernelLinux3.0-rc1 (including)3.0-rc1 (including)
Red Hat Enterprise Linux 6RedHatkernel-0:2.6.32-431.23.3.el6*
Red Hat Enterprise Linux 6.4 Extended Update SupportRedHatkernel-0:2.6.32-358.48.1.el6*
Red Hat Enterprise Linux 7RedHatkernel-0:3.10.0-123.4.2.el7*
Red Hat Enterprise MRG 2RedHatkernel-rt-0:3.10.33-rt32.34.el6rt*
LinuxUbuntuesm-infra-legacy/trusty*
LinuxUbuntuprecise*
LinuxUbuntuprecise/esm*
LinuxUbuntuquantal*
LinuxUbuntusaucy*
LinuxUbuntutrusty*
LinuxUbuntutrusty/esm*
LinuxUbuntuupstream*
Linux-armadaxpUbuntuprecise*
Linux-armadaxpUbuntuquantal*
Linux-armadaxpUbuntuupstream*
Linux-awsUbuntuupstream*
Linux-ec2Ubuntuupstream*
Linux-floUbuntutrusty*
Linux-floUbuntutrusty/esm*
Linux-floUbuntuupstream*
Linux-floUbuntuutopic*
Linux-floUbuntuvivid*
Linux-fsl-imx51Ubuntulucid*
Linux-fsl-imx51Ubuntuupstream*
Linux-gkeUbuntuupstream*
Linux-goldfishUbuntusaucy*
Linux-goldfishUbuntutrusty*
Linux-goldfishUbuntutrusty/esm*
Linux-goldfishUbuntuupstream*
Linux-goldfishUbuntuutopic*
Linux-goldfishUbuntuvivid*
Linux-goldfishUbuntuwily*
Linux-goldfishUbuntuxenial*
Linux-goldfishUbuntuyakkety*
Linux-goldfishUbuntuzesty*
Linux-grouperUbuntusaucy*
Linux-grouperUbuntutrusty*
Linux-grouperUbuntuupstream*
Linux-grouperUbuntuutopic*
Linux-hweUbuntuupstream*
Linux-hwe-edgeUbuntuupstream*
Linux-linaro-omapUbuntuprecise*
Linux-linaro-omapUbuntuquantal*
Linux-linaro-omapUbuntuupstream*
Linux-linaro-sharedUbuntuprecise*
Linux-linaro-sharedUbuntuquantal*
Linux-linaro-sharedUbuntuupstream*
Linux-linaro-vexpressUbuntuprecise*
Linux-linaro-vexpressUbuntuquantal*
Linux-linaro-vexpressUbuntuupstream*
Linux-lts-quantalUbuntuprecise*
Linux-lts-quantalUbuntuupstream*
Linux-lts-raringUbuntuprecise*
Linux-lts-raringUbuntuupstream*
Linux-lts-saucyUbuntuprecise*
Linux-lts-saucyUbuntuupstream*
Linux-lts-trustyUbuntuprecise*
Linux-lts-trustyUbuntuprecise/esm*
Linux-lts-trustyUbuntuupstream*
Linux-lts-utopicUbuntuupstream*
Linux-lts-vividUbuntuupstream*
Linux-lts-wilyUbuntuupstream*
Linux-lts-xenialUbuntuupstream*
Linux-maguroUbuntusaucy*
Linux-maguroUbuntutrusty*
Linux-maguroUbuntuupstream*
Linux-makoUbuntusaucy*
Linux-makoUbuntutrusty*
Linux-makoUbuntutrusty/esm*
Linux-makoUbuntuupstream*
Linux-makoUbuntuutopic*
Linux-makoUbuntuvivid*
Linux-mantaUbuntusaucy*
Linux-mantaUbuntutrusty*
Linux-mantaUbuntutrusty/esm*
Linux-mantaUbuntuupstream*
Linux-mantaUbuntuutopic*
Linux-mantaUbuntuvivid*
Linux-mvl-doveUbuntulucid*
Linux-mvl-doveUbuntuupstream*
Linux-qcm-msmUbuntulucid*
Linux-qcm-msmUbuntuprecise*
Linux-qcm-msmUbuntuquantal*
Linux-qcm-msmUbuntuupstream*
Linux-raspi2Ubuntuupstream*
Linux-raspi2Ubuntuvivid/ubuntu-core*
Linux-snapdragonUbuntuupstream*
Linux-ti-omap4Ubuntuprecise*
Linux-ti-omap4Ubuntuquantal*
Linux-ti-omap4Ubuntusaucy*
Linux-ti-omap4Ubuntuupstream*

Potential Mitigations

References