CVE-2013-1798: Input Validation

Published Mar 1, 2013
·
Updated

Description of the problem: If the guest specifies a IOAPICREGSELECT with an invalid value and follows that with a read of the IOAPICREGWINDOW KVM does not properly validate that request. ioapicreadindirect contains an ASSERT(redirindex < IOAPICNUMPINS), but the ASSERT has no effect in non-debug builds. In recent kernels this allows a guest to cause a kernel oops by reading invalid memory. In older kernels (pre-3.3) this allows a guest to read from large ranges of host memory.

Acknowledgements:

Red Hat would like to thank Andrew Honig of Google for reporting this issue.

Other sources

The ioapicreadindirect function in virt/kvm/ioapic.c in the Linux kernel through 3.8.4 does not properly handle a certain combination of invalid IOAPICREGSELECT and IOAPICREGWINDOW operations, which allows guest OS users to obtain sensitive information from host OS memory or cause a denial of service (host OS OOPS) 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.25-1

Event History

Mar 1, 2013
Data Sourced
via Red Hat·01:28 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 16, 2025
Data Sourced
via Debian·01:59 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2013-1798?

CVE-2013-1798 has a medium severity rating due to the potential for an attacker to exploit the invalid value in the IOAPIC_REG_SELECT.

2

How do I fix CVE-2013-1798?

To fix CVE-2013-1798, upgrade to a patched version of the Linux kernel, specifically versions 5.10.223-1, 5.10.226-1, 6.1.119-1, 6.1.123-1, 6.12.11-1, or 6.12.12-1.

3

Which versions of Linux Kernel are affected by CVE-2013-1798?

CVE-2013-1798 affects Linux Kernel versions 3.8.0 up to and including 3.8.4.

4

What is the nature of the vulnerability in CVE-2013-1798?

CVE-2013-1798 is a vulnerability that allows improper validation of an IOAPIC read request, potentially leading to unexpected system behavior.

5

Who can exploit CVE-2013-1798?

An attacker who has access to the guest environment can exploit CVE-2013-1798 by sending an invalid IOAPIC_REG_SELECT value.

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