CVE-2013-1796: Buffer Overflow

Published Mar 1, 2013
·
Updated

Description of the problem: If the guest sets the GPA of the timepage 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.

Other sources

The kvmsetmsrcommon function in arch/x86/kvm/x86.c in the Linux kernel through 3.8.4 does not ensure a required timepage alignment during an MSRKVMSYSTEMTIME 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.

— Launchpad

Affected Software

10 affected componentsFixes available
Linux Linux kernel<=3.8.4
Linux Linux kernel=3.8.0
Linux Linux kernel=3.8.1
Linux Linux kernel=3.8.2
Linux Linux kernel=3.8.3
debian/linux
3.2.41-2+deb7u23.2.41-2
debian/linux-2.6
2.6.32-48squeeze3
debian/linux<3.2.41-2
3.2.41-2
debian/linux<3.2.41-2
3.2.41-2
debian/linux<3.2.41-2
3.2.41-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 3.2.41-2+deb7u2Fixed in 3.2.41-2
  2. Upgrade

    Upgrade debian/linux-2.6 to a version that resolves this vulnerability.

    Fixed in 2.6.32-48squeeze3
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 3.2.41-2

Event History

Mar 1, 2013
Data Sourced
01:18 PM
DescriptionSeverityAffected Software
Mar 18, 2013
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Mar 22, 2013
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Data Sourced
via OSV·11:59 AM
DescriptionAffected Software
Feb 13, 2023
Data Sourced
12:27 AM
Weakness
Data Sourced
via NVD·12:27 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 11, 2023
Data Sourced
via Red Hat·10:10 PM
DescriptionSeverityAffected Software
Nov 21, 2024
Updated
via NVD·01:50 AM
RemedyAffected Software
Apr 11, 2025
Updated
via NVD·12:51 AM
Affected Software
Jun 16, 2026
Updated
via NVD·11:52 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2013-1796?

CVE-2013-1796 is considered a moderate severity vulnerability that affects data integrity in the Linux kernel.

2

How can I fix CVE-2013-1796?

To fix CVE-2013-1796, upgrade to a patched version of the Linux kernel such as 5.10.223-1, 5.10.226-1, or any version later than 3.8.4.

3

Which versions of the Linux kernel are affected by CVE-2013-1796?

CVE-2013-1796 affects Linux kernel versions up to and including 3.8.4 and specific earlier versions such as 3.8.0 to 3.8.3.

4

What type of vulnerability is CVE-2013-1796?

CVE-2013-1796 is a memory handling vulnerability that can lead to incorrect memory writes in the Linux kernel.

5

Is CVE-2013-1796 exploitable in a virtualized environment?

Yes, CVE-2013-1796 is exploitable in virtualized environments that utilize KVM.

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