NULL pointer dereference in Linux kernel - CVE-2012-1146

 

NULL pointer dereference in Linux kernel - CVE-2012-1146

Published: May 17, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU44070
CSH Severity: Medium
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-1146
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error in mm/memcontrol.c in the Linux kernel before 3.2.10 does not properly handle multiple events that are attached to the same eventfd, which allows local users to cause a denial of service (NULL pointer dereference and system crash) or possibly have unspecified other impact by registering memory threshold events. A remote attacker can perform a denial of service (DoS) attack.


Affected software

Linux kernel
Ubuntu
linux (Ubuntu package)
linux-lts-backport-maverick (Ubuntu package)
linux-lts-backport-natty (Ubuntu package)
linux-lts-backport-oneiric (Ubuntu package)

How to mitigate CVE-2012-1146

Update to version 3.2.10.

Linux kernel - update to 3.2.10
linux (Ubuntu package) - addressed in versions 2.6.38-14.58, 3.0.0-19.33
linux-lts-backport-maverick (Ubuntu package) - update to 2.6.35-32.68~lucid1
linux-lts-backport-natty (Ubuntu package) - update to 2.6.38-15.59~lucid1
linux-lts-backport-oneiric (Ubuntu package) - update to 3.0.0-19.33~lucid1

External References

Related Security Bulletins