LWN.net Logo

kernel: multiple vulnerabilities

Package(s):kernel CVE #(s):CVE-2012-1146 CVE-2012-1179
Created:March 19, 2012 Updated:June 1, 2012
Description: From the Red Hat bugzilla [1], [2]:

1) There is an issue when memcg unregisters events that were attached to the same eventfd:

- On the first call mem_cgroup_usage_unregister_event() removes all events attached to a given eventfd, and if there were no events left, thresholds->primary would become NULL;

- Since there were several events registered, cgroups core will call mem_cgroup_usage_unregister_event() again, but now kernel will oops, as the function doesn't expect that threshold->primary may be NULL.

2) In some cases it may happen that pmd_none_or_clear_bad() is called with the mmap_sem hold in read mode. In those cases the huge page faults can allocate hugepmds under pmd_none_or_clear_bad() and that can trigger a false positive from pmd_bad() that will not like to see a pmd materializing as trans huge.

A privileged user in the KVM guest can use this flaw to crash the host. An unprivileged local user could use this flaw to crash the system.

Alerts:
Fedora FEDORA-2012-3712 2012-03-17
Ubuntu USN-1407-1 2012-03-27
Ubuntu USN-1406-1 2012-03-27
Ubuntu USN-1405-1 2012-03-27
Fedora FEDORA-2012-3715 2012-03-26
Ubuntu USN-1421-1 2012-04-12
Ubuntu USN-1422-1 2012-04-12
openSUSE openSUSE-SU-2012:0540-1 2012-04-20
SUSE SUSE-SU-2012:0554-1 2012-04-23
SUSE SUSE-SU-2012:0554-2 2012-04-26
Ubuntu USN-1431-1 2012-04-30
Ubuntu USN-1433-1 2012-04-30
Ubuntu USN-1440-1 2012-05-08
Ubuntu USN-1458-1 2012-05-31
Red Hat RHSA-2012:0743-01 2012-06-18
CentOS CESA-2012:0743 2012-06-19
Scientific Linux SL-kern-20120619 2012-06-19
Oracle ELSA-2012-2020 2012-06-21
Oracle ELSA-2012-0743 2012-06-21
Oracle ELSA-2012-2021 2012-06-23
Oracle ELSA-2012-2021 2012-06-23
Red Hat RHSA-2012:1042-01 2012-06-26
openSUSE openSUSE-SU-2012:0799-1 2012-06-28
Oracle ELSA-2012-2022 2012-07-02
Oracle ELSA-2012-2022 2012-07-02
Oracle ELSA-2012-0862 2012-07-02
openSUSE openSUSE-SU-2012:1439-1 2012-11-05

(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds