Red Hat Bugzilla – Bug 950490
CVE-2013-1943 kernel: kvm: missing check in kvm_set_memory_region()
Last modified: 2016-04-26 14:02:50 EDT
A check for valid userspace memory was found missing in kvm_set_memory_region() function. Because of that, memory regions pointing to kernel memory could be registered with KVM and later used when converting guest physical addresses to host virtual ones. Several call sites relied on the validation and were using read/write functions that were missing the access_ok() check when accessing userspace memory.
A local unprivileged user on Red Hat Enterprise Linux 6 system could use this flaw to escalate their privileges on the system.
On Red Hat Enterprise Linux 6.2 EUS and Red Hat Enterprise Linux 6.3 EUS the impact is limited to potential information leak only.
A local user on Red Hat Enterprise Linux 5 system able to write to /dev/kvm could possibly use this flaw to leak kernel memory.
This issue was discovered by Michael S. Tsirkin of Red Hat.
This issue does not affect the versions of Linux kernel as shipped with Red Hat Enterprise MRG 2.
Future kvm updates for Red Hat Enterprise Linux 5 may address this flaw.
This issue was addresses in Red Hat Enterprise Linux 6 via RHSA-2013:0911 (https://rhn.redhat.com/errata/RHSA-2013-0911.html).
Please note that unlike Red Hat Enterprise Linux 6, where a local unprivileged user could use this flaw to escalate their privileges on the system, on Red Hat Enterprise Linux 5, Red Hat Enterprise Linux 6.2 EUS, and Red Hat Enterprise Linux 6.3 EUS the impact is limited to potential information leak only.
This issue has been addressed in following products:
Red Hat Enterprise Linux 6
Via RHSA-2013:0911 https://rhn.redhat.com/errata/RHSA-2013-0911.html