First published: Wed May 23 2012(Updated: )
Description of problem: When called for anonymous (non-shared) mappings, hugetlb_reserve_pages() does a resv_map_alloc(). It depends on code in hugetlbfs's vm_ops->close() to release that allocation. However, in the mmap() failure path, we do a plain unmap_region() without the remove_vma() which actually calls vm_ops->close(). An unprivileged local user could use this flaw to crash the system. References: <a href="http://www.spinics.net/lists/linux-mm/msg34763.html">http://www.spinics.net/lists/linux-mm/msg34763.html</a> Proposed upstream fix: <a href="https://lkml.org/lkml/2012/5/21/385">https://lkml.org/lkml/2012/5/21/385</a>
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | <=3.4.1 | |
Linux Kernel | =3.4 | |
Linux Kernel | =3.4-rc1 | |
Linux Kernel | =3.4-rc2 | |
Linux Kernel | =3.4-rc3 | |
Linux Kernel | =3.4-rc4 | |
Linux Kernel | =3.4-rc5 | |
Linux Kernel | =3.4-rc6 | |
Linux Kernel | =3.4-rc7 | |
debian/linux | 5.10.223-1 5.10.234-1 6.1.123-1 6.1.128-1 6.12.17-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2012-2390 is considered a high severity vulnerability due to its potential to cause denial of service.
To fix CVE-2012-2390, update your Linux kernel to version 5.10.223-1 or later, such as 6.1.119-1.
CVE-2012-2390 affects Linux kernel versions up to and including 3.4.1.
CVE-2012-2390 is a memory management vulnerability that can allow for resource exhaustion.
CVE-2012-2390 does not appear to be directly exploitable remotely, but it can lead to denial of service in local scenarios.