CVE-2013-1943: Input Validation

Published Apr 10, 2013
·
Updated

A check for valid userspace memory was found missing in kvmsetmemoryregion() 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 accessok() 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.

Upstream fixes: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fa3d315a4ce2c0891cdde262562e710d95fba19e https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9e3bb6b6f6a0c535eb053fbf0005a8e79e053374

Acknowledgements:

This issue was discovered by Michael S. Tsirkin of Red Hat.

Other sources

The KVM subsystem in the Linux kernel before 3.0 does not check whether kernel addresses are specified during allocation of memory slots for use in a guest's physical address space, which allows local users to gain privileges or obtain sensitive information from kernel memory via a crafted application, related to arch/x86/kvm/pagingtmpl.h and virt/kvm/kvmmain.c.

Launchpad

Affected Software

6 affected componentsFixes available
Linux Linux kernel<3.0
redhat Enterprise Linux=5.0
redhat Enterprise Linux Eus=6.2
redhat Enterprise Linux Eus=6.3
Canonical Ubuntu Linux=10.04
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.22-1

Event History

Apr 10, 2013
Data Sourced
via Red Hat·10:47 AM
DescriptionSeverityAffected Software
Jul 16, 2013
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Data Sourced
via NVD·02:08 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:01 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·12:57 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2013-1943?

CVE-2013-1943 is considered to have a high severity due to its potential to allow unauthorized access to kernel memory.

2

How do I fix CVE-2013-1943?

To fix CVE-2013-1943, upgrade to the appropriate patched version of the Linux kernel or affected distribution as specified in the advisory.

3

What versions are affected by CVE-2013-1943?

CVE-2013-1943 affects Linux kernel versions up to 3.0 and specific versions of Red Hat Enterprise Linux and Ubuntu.

4

What vulnerabilities does CVE-2013-1943 exploit?

CVE-2013-1943 exploits the lack of proper validation for userspace memory in the kvm_set_memory_region() function.

5

Is there a workaround for CVE-2013-1943?

There are no reliable workarounds for CVE-2013-1943; the best mitigation is to apply the security updates promptly.

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