CVE-2012-1146
What it is
The mem_cgroup_usage_unregister_event function 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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of service disruption.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-476 · NULL pointer dereference
- Record status
- Modified
Affected
- Linux Kernel < 3.2.10
- Fedoraproject Fedora 16
- Suse Linux Enterprise Desktop 11
- Suse Linux Enterprise High Availability Extension 11
- Suse Linux Enterprise Server 11
Attack profile CVSS 3.1 · 5.5
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-1146.md and follow it. Check whether this project is affected by CVE-2012-1146. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.10
- http://www.openwall.com/lists/oss-security/2012/03/07/3
- https://bugzilla.redhat.com/show_bug.cgi?id=800813
- https://github.com/torvalds/linux/commit/371528caec553785c37f73fa3926ea0de84f986f
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.10
- http://www.openwall.com/lists/oss-security/2012/03/07/3
- https://bugzilla.redhat.com/show_bug.cgi?id=800813
- https://github.com/torvalds/linux/commit/371528caec553785c37f73fa3926ea0de84f986f
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=371528caec553785c37f73fa3926ea0de84f986f
- http://lists.fedoraproject.org/pipermail/package-announce/2012-March/075781.html
- http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00021.html
- http://secunia.com/advisories/48898
- http://secunia.com/advisories/48964
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.10
- http://www.openwall.com/lists/oss-security/2012/03/07/3
- https://bugzilla.redhat.com/show_bug.cgi?id=800813
- https://exchange.xforce.ibmcloud.com/vulnerabilities/73711
- https://github.com/torvalds/linux/commit/371528caec553785c37f73fa3926ea0de84f986f
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=371528caec553785c37f73fa3926ea0de84f986f
- http://lists.fedoraproject.org/pipermail/package-announce/2012-March/075781.html
- http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00021.html
- http://secunia.com/advisories/48898
- http://secunia.com/advisories/48964
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.10
- http://www.openwall.com/lists/oss-security/2012/03/07/3
- https://bugzilla.redhat.com/show_bug.cgi?id=800813
- https://exchange.xforce.ibmcloud.com/vulnerabilities/73711
- https://github.com/torvalds/linux/commit/371528caec553785c37f73fa3926ea0de84f986f