Arbitrary code execution in Linux kernel

Published: 2012-05-04 | Updated: 2017-03-16
Severity Medium
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2012-2319
Exploitation vector Local
Public exploit This vulnerability is being exploited in the wild.
Vulnerable software
Linux kernel
Operating systems & Components / Operating system

Vendor Linux Foundation

Security Advisory

This security advisory describes one medium risk vulnerability.

1) Buffer overflow

Severity: Critical

CVSSv3: 8.2 [CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C] [PCI]

CVE-ID: CVE-2012-2319

CWE-ID: CWE-119 - Improper Restriction of Operations within the Bounds of a Memory Buffer


The vulnerability allows a local attacker to execute arbitrary code on the target system.

The weakness exists due to buffer overflow in the driver within HFS plus filesystem. By using a specially crafted Hierarchical File System (HFS) filesystem, a local attacker can trigger memory corruption and execute arbitrary code with system privileges.

Successful exploitation of the vulnerability results in arbitrary code execution on the vulnerable system.

Note: the vulnerability was being actively exploited.


Install update from vendor's website.

Vulnerable software versions

Linux kernel: 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.6.6, 2.6.7, 2.6.8,, 2.6.9, 2.6.10, 2.6.11,,,,,,,,,,,,, 2.6.12,,,,,,, 2.6.13,,,,,, 2.6.14,,,,,,,, 2.6.15,,,,,,,, 2.6.16,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 2.6.17,,,,,,,,,,,,,,, 2.6.18, 2.6.18-rc1, 2.6.18-rc2, 2.6.18-rc3, 2.6.18-rc4, 2.6.18-rc5, 2.6.18-rc6, 2.6.18-rc7,,,,,,,,, 2.6.19,,,,,,,, 2.6.20,,,,,,,,,,,,,,,,,,,,,, 2.6.21,,,,,,,, 2.6.22,,,,,,,,,,,,,,,,,,,,,,, 2.6.23, 2.6.23-rc1, 2.6.23-rc2,,,,,,,,,,,,,,,,,, 2.6.24, 2.6.24-rc1, 2.6.24-rc2, 2.6.24-rc3, 2.6.24-rc4, 2.6.24-rc5,,,,,,,, 2.6.25,,,,,,,,,,,,,,,,,,,,, 2.6.26, 2.6.26-rc4,,,,,,,,, 2.6.27, 2.6.27-rc1, 2.6.27-rc2, 2.6.27-rc3, 2.6.27-rc4, 2.6.27-rc5, 2.6.27-rc6, 2.6.27-rc7, 2.6.27-rc8, 2.6.27-rc9,,,,,,,,,,,,,,,,,, 2.6.28, 2.6.28-git7, 2.6.28-rc1, 2.6.28-rc2, 2.6.28-rc3, 2.6.28-rc4, 2.6.28-rc5, 2.6.28-rc6, 2.6.28-rc7,,,,,,,,,,, 2.6.29, 2.6.29-git1, 2.6.29-rc1, 2.6.29-rc2, 2.6.29-rc2-git7, 2.6.29-rc8-kk,,,,,,, 2.6.30, 2.6.30-rc1, 2.6.30-rc2, 2.6.30-rc3, 2.6.30-rc5, 2.6.30-rc6, 2.6.30-rc7-git6,,,,,,,,,,, 2.6.31, 2.6.31-rc1, 2.6.31-rc2, 2.6.31-rc3, 2.6.31-rc4, 2.6.31-rc5, 2.6.31-rc6, 2.6.31-rc7, 2.6.31-rc8,,,,,,,,,,,,,,, 2.6.32, 2.6.32-git-6, 2.6.32-rc1, 2.6.32-rc3, 2.6.32-rc4, 2.6.32-rc5, 2.6.32-rc6, 2.6.32-rc7, 2.6.32-rc8,,,,,,,,,,,,,,,,,,,,, 2.6.33, 2.6.33-rc1, 2.6.33-rc2, 2.6.33-rc3, 2.6.33-rc4, 2.6.33-rc5, 2.6.33-rc6, 2.6.33-rc7,,,,,,,, 2.6.34,,,,,,,, 2.6.35,,,,, 2.6.36-rc1, 2.6.36-rc2, 2.6.36-rc3, 3.2, 3.2.1, 3.3.3

CPE External links

Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.