Bug 649920 (CVE-2010-3881) - CVE-2010-3881 kvm: arch/x86/kvm/x86.c: reading uninitialized stack memory
Summary: CVE-2010-3881 kvm: arch/x86/kvm/x86.c: reading uninitialized stack memory
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2010-3881
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 649832 649840 649929 649931
Blocks: Rhel6KvmTier1
TreeView+ depends on / blocked
 
Reported: 2010-11-04 19:59 UTC by Petr Matousek
Modified: 2023-05-11 15:48 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-19 09:15:51 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0998 0 normal SHIPPED_LIVE Low: kvm security and bug fix update 2010-12-20 17:36:54 UTC
Red Hat Product Errata RHSA-2011:0883 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2011-06-21 23:52:55 UTC

Description Petr Matousek 2010-11-04 19:59:06 UTC
Description of problem:
Structures kvm_vcpu_events, kvm_debugregs, kvm_pit_state2 and kvm_clock_data are copied to userland with some padding and reserved fields unitialized.  It leads to leaking of contents of kernel stack memory.

Reference:
http://www.spinics.net/lists/kvm/msg44130.html
http://git.kernel.org/?p=virt/kvm/kvm.git;a=commit;h=831d9d02f9522e739825a51a11e3bc5aa531a905

Acknowledgements:

Red Hat would like to thank Vasiliy Kulikov of Openwall for reporting this issue.

Comment 1 Petr Matousek 2010-11-04 20:00:02 UTC
Statement:

This issue did not affect the version of Linux kernel as shipped with Red Hat
Enterprise Linux 3, 4 and Red Hat Enterprise MRG as they did not include
support for Kernel-based Virtual Machine (KVM). A future kernel update in Red
Hat Enterprise Linux 5 may address this flaw.

Comment 3 Eugene Teo (Security Response) 2010-11-22 13:25:03 UTC
Upstream commit:
http://git.kernel.org/linus/97e69aa62f8b5d338d6cff49be09e37cc1262838

Comment 4 errata-xmlrpc 2010-12-20 17:36:59 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2010:0998 https://rhn.redhat.com/errata/RHSA-2010-0998.html

Comment 5 errata-xmlrpc 2011-06-21 23:53:31 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6.0.Z - Server Only

Via RHSA-2011:0883 https://rhn.redhat.com/errata/RHSA-2011-0883.html


Note You need to log in before you can comment on or make changes to this bug.