CVE-2013-1796
published 2013-03-22CVE-2013-1796: The kvm_set_msr_common function in arch/x86/kvm/x86.c in the Linux kernel through 3.8.4 does not ensure a required time_page alignment during an…
PriorityP424medium6.8CVSS 2.0
AVAACHAuNCCICAC
EPSS
0.95%
57.7th percentile
The kvm_set_msr_common function in arch/x86/kvm/x86.c in the Linux kernel through 3.8.4 does not ensure a required time_page alignment during an MSR_KVM_SYSTEM_TIME operation, which allows guest OS users to cause a denial of service (buffer overflow and host OS memory corruption) or possibly have unspecified other impact via a crafted application.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 3.2.41-2 (bookworm) | linux 3.2.41-2 (bookworm) |
| linux | linux_kernel | <= 3.8.4 | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 3.2.41-2 | 3.2.41-2 |
| linux | linux_kernel | >= 0 < 3.2.41-2 | 3.2.41-2 |
| linux | linux_kernel | >= 0 < 3.2.41-2 | 3.2.41-2 |
| linux | linux_kernel | >= 0 < 3.2.41-2 | 3.2.41-2 |
CVSS provenance
nvdv2.06.8MEDIUMAV:A/AC:H/Au:N/C:C/I:C/A:C
osv6.8MEDIUM
vendor_debian6.8MEDIUM
vendor_redhat6.8MEDIUM
vendor_ubuntu1.9LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2013-05-02·CVSS 1.9
CVE-2012-6548 [LOW] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the kernel.
Mathias Krause discovered an information leak in the Linux kernel's UDF
file system implementation. A local user could exploit this flaw to examine
some of the kernel's heap memory. (CVE-2012-6548)
Mathias Krause discovered an information leak in the Linux kernel's ISO
9660 CDROM file system driver. A local user could exploit this flaw to
examine some of the kernel's heap memory. (CVE-2012-6549)
An integer overflow was discovered in the Direct Rendering Manager (DRM)
subsystem for the i915 video driver in the Linux kernel. A local user could
exploit this flaw to cause a denial of service (crash) or potentially
escalate privileges. (CVE-2013-0913)
Andrew Honig discovered a flaw in guest OS ti
Ubuntu
Linux kernel (Quantal HWE) vulnerabilities
vendor_ubuntu·2013-05-01·CVSS 1.9
CVE-2012-6548 [LOW] Linux kernel (Quantal HWE) vulnerabilities
Title: Linux kernel (Quantal HWE) vulnerabilities
Summary: Several security issues were fixed in the kernel.
Mathias Krause discovered an information leak in the Linux kernel's UDF
file system implementation. A local user could exploit this flaw to examine
some of the kernel's heap memory. (CVE-2012-6548)
Mathias Krause discovered an information leak in the Linux kernel's ISO
9660 CDROM file system driver. A local user could exploit this flaw to
examine some of the kernel's heap memory. (CVE-2012-6549)
An integer overflow was discovered in the Direct Rendering Manager (DRM)
subsystem for the i915 video driver in the Linux kernel. A local user could
exploit this flaw to cause a denial of service (crash) or potentially
escalate privileges. (CVE-2013-0913)
Andrew Honig discovered a flaw
Ubuntu
Linux kernel (EC2) vulnerabilities
vendor_ubuntu·2013-04-25·CVSS 1.9
CVE-2012-6542 [LOW] Linux kernel (EC2) vulnerabilities
Title: Linux kernel (EC2) vulnerabilities
Summary: Several security issues were fixed in the kernel.
Mathias Krause discovered an information leak in the Linux kernel's
getsockname implementation for Logical Link Layer (llc) sockets. A local
user could exploit this flaw to examine some of the kernel's stack memory.
(CVE-2012-6542)
Mathias Krause discovered information leaks in the Linux kernel's Bluetooth
Logical Link Control and Adaptation Protocol (L2CAP) implementation. A
local user could exploit these flaws to examine some of the kernel's stack
memory. (CVE-2012-6544)
Mathias Krause discovered information leaks in the Linux kernel's Bluetooth
RFCOMM protocol implementation. A local user could exploit these flaws to
examine parts of kernel memory. (CVE-2012-6545)
Mathias Krause dis
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2013-04-19·CVSS 1.9
CVE-2012-6542 [LOW] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the kernel.
Mathias Krause discovered an information leak in the Linux kernel's
getsockname implementation for Logical Link Layer (llc) sockets. A local
user could exploit this flaw to examine some of the kernel's stack memory.
(CVE-2012-6542)
Mathias Krause discovered information leaks in the Linux kernel's Bluetooth
Logical Link Control and Adaptation Protocol (L2CAP) implementation. A
local user could exploit these flaws to examine some of the kernel's stack
memory. (CVE-2012-6544)
Mathias Krause discovered information leaks in the Linux kernel's Bluetooth
RFCOMM protocol implementation. A local user could exploit these flaws to
examine parts of kernel memory. (CVE-2012-6545)
Mathias Krause discovere
Red Hat
kernel: kvm: buffer overflow in handling of MSR_KVM_SYSTEM_TIME
vendor_redhat·2013-03-20·CVSS 6.8
CVE-2013-1796 [MEDIUM] kernel: kvm: buffer overflow in handling of MSR_KVM_SYSTEM_TIME
kernel: kvm: buffer overflow in handling of MSR_KVM_SYSTEM_TIME
The kvm_set_msr_common function in arch/x86/kvm/x86.c in the Linux kernel through 3.8.4 does not ensure a required time_page alignment during an MSR_KVM_SYSTEM_TIME operation, which allows guest OS users to cause a denial of service (buffer overflow and host OS memory corruption) or possibly have unspecified other impact via a crafted application.
Statement: This issue did not affect the versions of Linux kernel as shipped with Red Hat
Enterprise Linux 5 and Red Hat Enterprise MRG as they did not provide support
for the KVM subsystem.
Package: kernel (Red Hat Enterprise Linux 5) - Not affected
Package: kvm (Red Hat Enterprise Linux 5) - Affected
Package: realtime-kernel (Red Hat Enterprise MRG 2) - Not affected
Debian
CVE-2013-1796: linux - The kvm_set_msr_common function in arch/x86/kvm/x86.c in the Linux kernel throug...
vendor_debian·2013·CVSS 6.8
CVE-2013-1796 [MEDIUM] CVE-2013-1796: linux - The kvm_set_msr_common function in arch/x86/kvm/x86.c in the Linux kernel throug...
The kvm_set_msr_common function in arch/x86/kvm/x86.c in the Linux kernel through 3.8.4 does not ensure a required time_page alignment during an MSR_KVM_SYSTEM_TIME operation, which allows guest OS users to cause a denial of service (buffer overflow and host OS memory corruption) or possibly have unspecified other impact via a crafted application.
Scope: local
bookworm: resolved (fixed in 3.2.41-2)
bullseye: resolved (fixed in 3.2.41-2)
forky: resolved (fixed in 3.2.41-2)
sid: resolved (fixed in 3.2.41-2)
trixie: resolved (fixed in 3.2.41-2)
GHSA
GHSA-xr82-v4c6-wp6r: The kvm_set_msr_common function in arch/x86/kvm/x86
ghsa_unreviewed·2022-05-17
CVE-2013-1796 [MEDIUM] CWE-119 GHSA-xr82-v4c6-wp6r: The kvm_set_msr_common function in arch/x86/kvm/x86
The kvm_set_msr_common function in arch/x86/kvm/x86.c in the Linux kernel through 3.8.4 does not ensure a required time_page alignment during an MSR_KVM_SYSTEM_TIME operation, which allows guest OS users to cause a denial of service (buffer overflow and host OS memory corruption) or possibly have unspecified other impact via a crafted application.
OSV
CVE-2013-1796: The kvm_set_msr_common function in arch/x86/kvm/x86
osv·2013-03-22·CVSS 6.8
CVE-2013-1796 [MEDIUM] CVE-2013-1796: The kvm_set_msr_common function in arch/x86/kvm/x86
The kvm_set_msr_common function in arch/x86/kvm/x86.c in the Linux kernel through 3.8.4 does not ensure a required time_page alignment during an MSR_KVM_SYSTEM_TIME operation, which allows guest OS users to cause a denial of service (buffer overflow and host OS memory corruption) or possibly have unspecified other impact via a crafted application.
Kernel
Merge remote-tracking branch 'upstream/master' into queue
kernel_security·2013-03-21·CVSS 6.8
CVE-2013-1796 [MEDIUM] Merge remote-tracking branch 'upstream/master' into queue
Merge remote-tracking branch 'upstream/master' into queue
Merge reason:
From: Alexander Graf
"Just recently this really important patch got pulled into Linus' tree for 3.9:
commit 1674400aaee5b466c595a8fc310488263ce888c7
Author: Anton Blanchard samba.org>
Date: Tue Mar 12 01:51:51 2013 +0000
Without that commit, I can not boot my G5, thus I can't run automated tests on it against my queue.
Could you please merge kvm/next against linus/master, so that I can base my trees against that?"
* upstream/master: (653 commits)
PCI: Use ROM images from firmware only if no other ROM source available
sparc: remove unused "config BITS"
sparc: delete "if !ULTRA_HAS_POPULATION_COUNT"
KVM: Fix bounds checking in ioapic indirect register reads (CVE-2013-1798)
KVM: x86: Convert MSR_KVM_SYSTEM_TIME to
Kernel
Merge git://git.kernel.org/pub/scm/virt/kvm/kvm
kernel_security·2013-03-19·CVSS 6.8
CVE-2013-1796 [MEDIUM] Merge git://git.kernel.org/pub/scm/virt/kvm/kvm
Merge git://git.kernel.org/pub/scm/virt/kvm/kvm
Pull kvm fixes from Marcelo Tosatti.
* git://git.kernel.org/pub/scm/virt/kvm/kvm:
KVM: Fix bounds checking in ioapic indirect register reads (CVE-2013-1798)
KVM: x86: Convert MSR_KVM_SYSTEM_TIME to use gfn_to_hva_cache functions (CVE-2013-1797)
KVM: x86: fix for buffer overflow in handling of MSR_KVM_SYSTEM_TIME (CVE-2013-1796)
KVM: x86: fix deadlock in clock-in-progress request handling
KVM: allow host header to be included even for !CONFIG_KVM
Kernel
KVM: x86: fix for buffer overflow in handling of MSR_KVM_SYSTEM_TIME (CVE-2013-1796)
kernel_security·2013-03-11·CVSS 6.8
CVE-2013-1796 [MEDIUM] KVM: x86: fix for buffer overflow in handling of MSR_KVM_SYSTEM_TIME (CVE-2013-1796)
KVM: x86: fix for buffer overflow in handling of MSR_KVM_SYSTEM_TIME (CVE-2013-1796)
If the guest sets the GPA of the time_page so that the request to update the
time straddles a page then KVM will write onto an incorrect page. The
write is done byusing kmap atomic to get a pointer to the page for the time
structure and then performing a memcpy to that page starting at an offset
that the guest controls. Well behaved guests always provide a 32-byte aligned
address, however a malicious guest could use this to corrupt host kernel
memory.
Tested: Tested against kvmclock unit test.
Signed-off-by: Andrew Honig
Signed-off-by: Marcelo Tosatti
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2013-1796 kernel: kvm: buffer overflow in handling of MSR_KVM_SYSTEM_TIME [fedora-all]
bugzilla·2013-03-20·CVSS 6.8
CVE-2013-1796 [MEDIUM] CVE-2013-1796 kernel: kvm: buffer overflow in handling of MSR_KVM_SYSTEM_TIME [fedora-all]
CVE-2013-1796 kernel: kvm: buffer overflow in handling of MSR_KVM_SYSTEM_TIME [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
Please note: t
Bugzilla
CVE-2013-1796 kernel: kvm: buffer overflow in handling of MSR_KVM_SYSTEM_TIME
bugzilla·2013-03-01·CVSS 6.8
CVE-2013-1796 [MEDIUM] CVE-2013-1796 kernel: kvm: buffer overflow in handling of MSR_KVM_SYSTEM_TIME
CVE-2013-1796 kernel: kvm: buffer overflow in handling of MSR_KVM_SYSTEM_TIME
Description of the problem:
If the guest sets the GPA of the time_page so that the request to update the
time straddles a page then KVM will write onto an incorrect page. The
write is done byusing kmap atomic to get a pointer to the page for the time
structure and then performing a memcpy to that page starting at an offset
that the guest controls. Well behaved guests always provide a 32-byte aligned
address, however a malicious guest could use this to corrupt host kernel
memory.
Acknowledgements:
Red Hat would like to thank Andrew Honig of Google for reporting this issue.
Discussion:
Statement:
This issue did not affect the versions of Linux kernel as shipped with Red Hat
Enterprise Linux 5 and Red Hat Ente
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=c300aa64ddf57d9c5d9c898a64b36877345dd4a9http://lists.opensuse.org/opensuse-security-announce/2013-05/msg00018.htmlhttp://lists.opensuse.org/opensuse-security-announce/2013-06/msg00005.htmlhttp://lists.opensuse.org/opensuse-security-announce/2013-07/msg00018.htmlhttp://rhn.redhat.com/errata/RHSA-2013-0727.htmlhttp://rhn.redhat.com/errata/RHSA-2013-0744.htmlhttp://rhn.redhat.com/errata/RHSA-2013-0746.htmlhttp://rhn.redhat.com/errata/RHSA-2013-0928.htmlhttp://rhn.redhat.com/errata/RHSA-2013-1026.htmlhttp://www.mandriva.com/security/advisories?name=MDVSA-2013:176http://www.openwall.com/lists/oss-security/2013/03/20/9http://www.securityfocus.com/bid/58607http://www.ubuntu.com/usn/USN-1805-1http://www.ubuntu.com/usn/USN-1808-1http://www.ubuntu.com/usn/USN-1809-1http://www.ubuntu.com/usn/USN-1812-1http://www.ubuntu.com/usn/USN-1813-1https://bugzilla.redhat.com/show_bug.cgi?id=917012https://github.com/torvalds/linux/commit/c300aa64ddf57d9c5d9c898a64b36877345dd4a9http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=c300aa64ddf57d9c5d9c898a64b36877345dd4a9http://lists.opensuse.org/opensuse-security-announce/2013-05/msg00018.htmlhttp://lists.opensuse.org/opensuse-security-announce/2013-06/msg00005.htmlhttp://lists.opensuse.org/opensuse-security-announce/2013-07/msg00018.htmlhttp://rhn.redhat.com/errata/RHSA-2013-0727.htmlhttp://rhn.redhat.com/errata/RHSA-2013-0744.htmlhttp://rhn.redhat.com/errata/RHSA-2013-0746.htmlhttp://rhn.redhat.com/errata/RHSA-2013-0928.htmlhttp://rhn.redhat.com/errata/RHSA-2013-1026.htmlhttp://www.mandriva.com/security/advisories?name=MDVSA-2013:176http://www.openwall.com/lists/oss-security/2013/03/20/9http://www.securityfocus.com/bid/58607http://www.ubuntu.com/usn/USN-1805-1http://www.ubuntu.com/usn/USN-1808-1http://www.ubuntu.com/usn/USN-1809-1http://www.ubuntu.com/usn/USN-1812-1http://www.ubuntu.com/usn/USN-1813-1https://bugzilla.redhat.com/show_bug.cgi?id=917012https://github.com/torvalds/linux/commit/c300aa64ddf57d9c5d9c898a64b36877345dd4a9
2013-03-22
Published