LWN.net Logo

kernel: multiple vulnerabilities

Package(s):kernel CVE #(s):CVE-2012-2123 CVE-2012-2121 CVE-2012-2119
Created:April 24, 2012 Updated:June 1, 2012
Description: From the Red Hat bugzilla [1], [2], [3]:

[1] Reported by Steve Grubb, if a process increases permissions using fcaps all of the dangerous personality flags which are cleared for suid apps should also be cleared. Thus programs given priviledge with fcaps will continue to have address space randomization enabled even if the parent tried to disable it to make it easier to attack. (CVE-2012-2123)

[2] Currently we do not validate the vector length before calling get_user_pages_fast(), host stack could be easily overflowed by malicious guest driver who gives us a descriptors with length greater than MAX_SKB_FRAGS.

A privileged guest user could use this flaw to induce stack overflow on the host with attacker non-controlled data (some bits can be guessed, as it will be pointers to kernel memory) but with attacker controlled length. (CVE-2012-2119)

[3] KVM uses memory slots to track and map guest regions of memory. When device assignment is used, the pages backing these slots are pinned in memory using get_user_pages and mapped into the iommu. The problem is that when a memory slot is destroyed the pages for the associated memory slot are neither unpinned nor unmapped from the iommu.

The problem is that those pages are now never unpinned and continue to have an increased reference count. This is therefore a potential page leak from the kvm kernel module. (CVE-2012-2121)

Alerts:
Fedora FEDORA-2012-6386 2012-04-24
Fedora FEDORA-2012-6406 2012-04-26
Debian DSA-2469-1 2012-05-10
Red Hat RHSA-2012:0670-01 2012-05-15
Ubuntu USN-1445-1 2012-05-17
Red Hat RHSA-2012:0676-01 2012-05-21
CentOS CESA-2012:0676 2012-05-21
Ubuntu USN-1448-1 2012-05-21
Scientific Linux SL-kvm-20120522 2012-05-22
Oracle ELSA-2012-0676 2012-05-22
Ubuntu USN-1452-1 2012-05-25
Ubuntu USN-1453-1 2012-05-25
Ubuntu USN-1455-1 2012-05-29
Ubuntu USN-1457-1 2012-05-31
Ubuntu USN-1459-1 2012-05-31
Ubuntu USN-1460-1 2012-05-31
Ubuntu USN-1470-1 2012-06-12
Ubuntu USN-1471-1 2012-06-12
Ubuntu USN-1472-1 2012-06-12
Ubuntu USN-1473-1 2012-06-13
Ubuntu USN-1474-1 2012-06-13
Red Hat RHSA-2012:0743-01 2012-06-18
Ubuntu USN-1476-1 2012-06-15
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
openSUSE openSUSE-SU-2012:0781-1 2012-06-22
Oracle ELSA-2012-2021 2012-06-23
Oracle ELSA-2012-2021 2012-06-23
SUSE SUSE-SU-2012:0789-1 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:0812-1 2012-07-03
Ubuntu USN-1514-1 2012-08-10
Ubuntu USN-1529-1 2012-08-10
Ubuntu USN-1530-1 2012-08-10
Ubuntu USN-1577-1 2012-09-21
openSUSE openSUSE-SU-2012:1439-1 2012-11-05
SUSE SUSE-SU-2013:0786-1 2013-05-14
Debian DSA-2668-1 2013-05-14

(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