CVE-2012-2390: Medium severity linux kernel vulnerability

Published May 23, 2012
·
Updated

Description of problem: When called for anonymous (non-shared) mappings, hugetlbreservepages() does a resvmapalloc(). It depends on code in hugetlbfs's vmops->close() to release that allocation.

However, in the mmap() failure path, we do a plain unmapregion() without the removevma() which actually calls vmops->close().

An unprivileged local user could use this flaw to crash the system.

References: http://www.spinics.net/lists/linux-mm/msg34763.html

Proposed upstream fix: https://lkml.org/lkml/2012/5/21/385

Other sources

Memory leak in mm/hugetlb.c in the Linux kernel before 3.4.2 allows local users to cause a denial of service (memory consumption or system crash) via invalid MAPHUGETLB mmap operations.

Launchpad

Affected Software

10 affected componentsFixes available
Linux Linux Kernel<=3.4.1
Linux Linux Kernel=3.4
Linux Linux Kernel=3.4-rc1
Linux Linux Kernel=3.4-rc2
Linux Linux Kernel=3.4-rc3
Linux Linux Kernel=3.4-rc4
Linux Linux Kernel=3.4-rc5
Linux Linux Kernel=3.4-rc6
Linux Linux Kernel=3.4-rc7
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.21-16.12.22-1

Event History

May 23, 2012
Data Sourced
via Red Hat·10:18 AM
DescriptionSeverityAffected Software
Jun 13, 2012
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·09:58 PM
Description
Sep 20, 2024
Data Sourced
via Ubuntu·12:49 AM
RemedyDescriptionSeverityAffected Software
Feb 23, 2025
Data Sourced
via Debian·01:17 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2012-2390?

CVE-2012-2390 is considered a high severity vulnerability due to its potential to cause denial of service.

2

How do I fix CVE-2012-2390?

To fix CVE-2012-2390, update your Linux kernel to version 5.10.223-1 or later, such as 6.1.119-1.

3

Which Linux kernel versions are affected by CVE-2012-2390?

CVE-2012-2390 affects Linux kernel versions up to and including 3.4.1.

4

What type of vulnerability is CVE-2012-2390?

CVE-2012-2390 is a memory management vulnerability that can allow for resource exhaustion.

5

Can CVE-2012-2390 be exploited remotely?

CVE-2012-2390 does not appear to be directly exploitable remotely, but it can lead to denial of service in local scenarios.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203