CVE-2012-3511 json
Multiple race conditions in the madvise_remove function in mm/madvise.c in the Linux kernel before 3.4.5 allow local users to cause a denia…
published 2012-10-03 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-3466
- cvss
- 6.2
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
Multiple race conditions in the madvise_remove function in mm/madvise.c in the Linux kernel before 3.4.5 allow local users to cause a denial of service (use-after-free and system crash) via vectors involving a (1) munmap or (2) close system call.
Patch / fix
- linux Debian 14, Debian 13, Debian 12 3.2.23-1
debian advisories DEBIAN-CVE-2012-3511
- kernel RHEL 6 2.6.32-279.14.1.el6
- perf RHEL 6 2.6.32-279.14.1.el6
- python-perf RHEL 6 2.6.32-279.14.1.el6
- kernel-kdump RHEL 6 2.6.32-279.14.1.el6
- kernel-firmware RHEL 6 2.6.32-279.14.1.el6
- kernel-bootwrapper RHEL 6 2.6.32-279.14.1.el6
- kernel-debuginfo-common-i686 RHEL 6 2.6.32-279.14.1.el6
- kernel-debuginfo-common-ppc64 RHEL 6 2.6.32-279.14.1.el6
red hat advisories RHSA-2012:1426RHSA-2013:1292RHSA-2012:1491
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-3511 updated cvss 6.2
kernel: mm: use-after-free in madvise_remove()
-
Red Hat Enterprise Linux (v. 5 server) kernel 2.6.18-348.18.1.el5, kernel-PAE 2.6.18-348.18.1.el5, kernel-xen 2.6.18-348.18.1.el5, kernel-kdump 2.6.18-348.18.1.el5, kernel-debuginfo-common 2.6.18-348.18.1.el5fixed: vendor fix RHSA-2013:1292
-
Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-279.14.1.el6, kernel 2.6.32-279.14.1.el6, python-perf 2.6.32-279.14.1.el6, kernel-kdump 2.6.32-279.14.1.el6, kernel-firmware 2.6.32-279.14.1.el6, kernel-bootwrapper 2.6.32-279.14.1.el6, +4 more Red Hat Enterprise Linux Desktop Optional (v. 6) perf 2.6.32-279.14.1.el6, kernel 2.6.32-279.14.1.el6, python-perf 2.6.32-279.14.1.el6, kernel-kdump 2.6.32-279.14.1.el6, kernel-firmware 2.6.32-279.14.1.el6, kernel-bootwrapper 2.6.32-279.14.1.el6, +4 more Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-279.14.1.el6, kernel 2.6.32-279.14.1.el6, python-perf 2.6.32-279.14.1.el6, kernel-kdump 2.6.32-279.14.1.el6, kernel-firmware 2.6.32-279.14.1.el6, kernel-bootwrapper 2.6.32-279.14.1.el6, +4 more Red Hat Enterprise Linux HPC Node Optional (v. 6) perf 2.6.32-279.14.1.el6, kernel 2.6.32-279.14.1.el6, python-perf 2.6.32-279.14.1.el6, kernel-kdump 2.6.32-279.14.1.el6, kernel-firmware 2.6.32-279.14.1.el6, kernel-bootwrapper 2.6.32-279.14.1.el6, +4 more Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-279.14.1.el6, kernel 2.6.32-279.14.1.el6, python-perf 2.6.32-279.14.1.el6, kernel-kdump 2.6.32-279.14.1.el6, kernel-firmware 2.6.32-279.14.1.el6, kernel-bootwrapper 2.6.32-279.14.1.el6, +4 more Red Hat Enterprise Linux Server Optional (v. 6) perf 2.6.32-279.14.1.el6, kernel 2.6.32-279.14.1.el6, python-perf 2.6.32-279.14.1.el6, kernel-kdump 2.6.32-279.14.1.el6, kernel-firmware 2.6.32-279.14.1.el6, kernel-bootwrapper 2.6.32-279.14.1.el6, +4 morefixed: vendor fix RHSA-2012:1426
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-279.14.1.el6, kernel 2.6.32-279.14.1.el6, python-perf 2.6.32-279.14.1.el6, kernel-kdump 2.6.32-279.14.1.el6, kernel-firmware 2.6.32-279.14.1.el6, kernel-bootwrapper 2.6.32-279.14.1.el6, +4 more Red Hat Enterprise Linux Workstation Optional (v. 6) perf 2.6.32-279.14.1.el6, kernel 2.6.32-279.14.1.el6, python-perf 2.6.32-279.14.1.el6, kernel-kdump 2.6.32-279.14.1.el6, kernel-firmware 2.6.32-279.14.1.el6, kernel-bootwrapper 2.6.32-279.14.1.el6, +4 more -
Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt 3.2.33-rt50.66.el6rt, mrg-rt-release 3.2.33-rt50.66.el6rt, kernel-rt-trace 3.2.33-rt50.66.el6rt, kernel-rt-vanilla 3.2.33-rt50.66.el6rt, kernel-rt-firmware 3.2.33-rt50.66.el6rt, kernel-rt-debuginfo-common-x86_64 3.2.33-rt50.66.el6rtfixed: vendor fix RHSA-2012:1491
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/torvalds/linux/commit/9ab4233dd08036fe34a89c7dc6f47a8bf2eb29eb referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.2 | AV:L/AC:H/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
- Technology feeds
References
-
github.com
/torvalds/linux/commit/9ab4233dd08036fe34a89c7dc6f47a8bf2eb29eb
exploit
-
bugzilla.redhat.com
/show_bug.cgi?id=849734
patch
-
openwall.com
/lists/oss-security/2012/08/20/13
mailing-list, patch
-
ubuntu.com
/usn/USN-1572-1
vendor-advisory
-
ubuntu.com
/usn/USN-1567-1
vendor-advisory
-
ubuntu.com
/usn/USN-1577-1
vendor-advisory
-
ubuntu.com
/usn/usn-1529-1
vendor-advisory
- kernel.org /pub/linux/kernel/v3.x/ChangeLog-3.4.5
-
secunia.com
/advisories/50732
third-party-advisory
- git.kernel.org /?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=9ab4233dd08036fe34a89c7dc6f47a8bf2eb29eb
-
securityfocus.com
/bid/55151
vdb-entry
-
secunia.com
/advisories/50633
third-party-advisory
-
secunia.com
/advisories/55055
third-party-advisory
Sources
- CVE List CVE-2012-3511
- NVD CVE-2012-3511
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.