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

6 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
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1

Event History

Mar 1, 2013
Data Sourced
via Red Hat·01:18 PM
DescriptionSeverityAffected Software
Mar 22, 2013
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:01 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·12:50 AM
RemedyDescriptionSeverityAffected Software
Apr 24, 2025
Data Sourced
via Debian·02:00 AM
DescriptionAffected Software

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