CWE
416 362
Advisory Published
Updated

CVE-2012-3511: Use After Free

First published: Fri Jul 06 2012(Updated: )

A use-after-free flaw has been found in madvise_remove() function in the Linux kernel. madvise_remove() can race with munmap (causing a use-after-free of the vma) or with close (causing a use-after-free of the struct file). An unprivileged local user can use this flaw to crash the system and potentially gain higher privileges. Upstream fix: <a href="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=9ab4233dd08036fe34a89c7dc6f47a8bf2eb29eb">http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=9ab4233dd08036fe34a89c7dc6f47a8bf2eb29eb</a> Introduced in: <a href="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=90ed52ebe48181d3c5427b3bd1d24f659e7575ad">http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=90ed52ebe48181d3c5427b3bd1d24f659e7575ad</a>

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/kernel<0:2.6.18-348.18.1.el5
0:2.6.18-348.18.1.el5
redhat/kernel<0:2.6.32-279.14.1.el6
0:2.6.32-279.14.1.el6
redhat/kernel-rt<0:3.2.33-rt50.66.el6
0:3.2.33-rt50.66.el6
Linux Kernel<=3.4.4
Linux Kernel=3.0-rc1
Linux Kernel=3.0-rc2
Linux Kernel=3.0-rc3
Linux Kernel=3.0-rc4
Linux Kernel=3.0-rc5
Linux Kernel=3.0-rc6
Linux Kernel=3.0-rc7
Linux Kernel=3.0.1
Linux Kernel=3.0.2
Linux Kernel=3.0.3
Linux Kernel=3.0.4
Linux Kernel=3.0.5
Linux Kernel=3.0.6
Linux Kernel=3.0.7
Linux Kernel=3.0.8
Linux Kernel=3.0.9
Linux Kernel=3.0.10
Linux Kernel=3.0.11
Linux Kernel=3.0.12
Linux Kernel=3.0.13
Linux Kernel=3.0.14
Linux Kernel=3.0.15
Linux Kernel=3.0.16
Linux Kernel=3.0.17
Linux Kernel=3.0.18
Linux Kernel=3.0.19
Linux Kernel=3.0.20
Linux Kernel=3.0.21
Linux Kernel=3.0.22
Linux Kernel=3.0.23
Linux Kernel=3.0.24
Linux Kernel=3.0.25
Linux Kernel=3.0.26
Linux Kernel=3.0.27
Linux Kernel=3.0.28
Linux Kernel=3.0.29
Linux Kernel=3.0.30
Linux Kernel=3.0.31
Linux Kernel=3.0.32
Linux Kernel=3.0.33
Linux Kernel=3.0.34
Linux Kernel=3.1
Linux Kernel=3.1-rc1
Linux Kernel=3.1-rc2
Linux Kernel=3.1-rc3
Linux Kernel=3.1-rc4
Linux Kernel=3.1.1
Linux Kernel=3.1.2
Linux Kernel=3.1.3
Linux Kernel=3.1.4
Linux Kernel=3.1.5
Linux Kernel=3.1.6
Linux Kernel=3.1.7
Linux Kernel=3.1.8
Linux Kernel=3.1.9
Linux Kernel=3.1.10
Linux Kernel=3.2
Linux Kernel=3.2-rc2
Linux Kernel=3.2-rc3
Linux Kernel=3.2-rc4
Linux Kernel=3.2-rc5
Linux Kernel=3.2-rc6
Linux Kernel=3.2-rc7
Linux Kernel=3.2.1
Linux Kernel=3.2.2
Linux Kernel=3.2.3
Linux Kernel=3.2.4
Linux Kernel=3.2.5
Linux Kernel=3.2.6
Linux Kernel=3.2.7
Linux Kernel=3.2.8
Linux Kernel=3.2.9
Linux Kernel=3.2.10
Linux Kernel=3.2.11
Linux Kernel=3.2.12
Linux Kernel=3.2.13
Linux Kernel=3.2.14
Linux Kernel=3.2.15
Linux Kernel=3.2.16
Linux Kernel=3.2.17
Linux Kernel=3.2.18
Linux Kernel=3.2.19
Linux Kernel=3.2.20
Linux Kernel=3.3
Linux Kernel=3.3-rc1
Linux Kernel=3.3-rc2
Linux Kernel=3.3-rc3
Linux Kernel=3.3-rc4
Linux Kernel=3.3-rc5
Linux Kernel=3.3-rc6
Linux Kernel=3.3-rc7
Linux Kernel=3.3.1
Linux Kernel=3.3.2
Linux Kernel=3.3.3
Linux Kernel=3.3.4
Linux Kernel=3.3.5
Linux Kernel=3.3.6
Linux Kernel=3.3.7
Linux Kernel=3.3.8
Linux Kernel=3.4
Linux Kernel=3.4.1
Linux Kernel=3.4.2
Linux Kernel=3.4.3
debian/linux
5.10.223-1
5.10.226-1
6.1.123-1
6.1.128-1
6.12.12-1
6.12.13-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2012-3511?

    CVE-2012-3511 is classified as a high-severity vulnerability, as it allows unprivileged local users to crash the system.

  • How do I fix CVE-2012-3511?

    To remediate CVE-2012-3511, update the kernel package to a version that is not vulnerable, such as 0:2.6.18-348.18.1.el5 or 0:2.6.32-279.14.1.el6.

  • Which systems are affected by CVE-2012-3511?

    CVE-2012-3511 affects various versions of the Linux kernel, including specific versions of Red Hat and Debian's kernel packages.

  • Can CVE-2012-3511 be exploited remotely?

    No, CVE-2012-3511 requires local access, meaning an unprivileged user must be physically present on the machine to exploit the vulnerability.

  • What kind of impact can CVE-2012-3511 have on my system?

    Exploitation of CVE-2012-3511 can lead to system crashes and potential denial of service, adversely affecting system stability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203