CVE-2013-1798
published 2013-03-22CVE-2013-1798: The ioapic_read_indirect function in virt/kvm/ioapic.c in the Linux kernel through 3.8.4 does not properly handle a certain combination of invalid…
PriorityP425medium6.2CVSS 2.0
AVAACHAuNCCINAC
EPSS
1.35%
68.8th percentile
The ioapic_read_indirect function in virt/kvm/ioapic.c in the Linux kernel through 3.8.4 does not properly handle a certain combination of invalid IOAPIC_REG_SELECT and IOAPIC_REG_WINDOW 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.
Affected
12 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 |
| linux | linux_kernel | >= 0 < 4.4.0-177.207 | 4.4.0-177.207 |
| linux | linux_kernel | >= 0 < 4.15.0-96.97 | 4.15.0-96.97 |
CVSS provenance
nvdv2.06.2MEDIUMAV:A/AC:H/Au:N/C:C/I:N/A:C
osv6.2MEDIUM
vendor_debian6.2MEDIUM
vendor_redhat6.2MEDIUM
vendor_ubuntu6.2MEDIUM
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.
GHSA
GHSA-2r7v-v86r-776v: The ioapic_read_indirect function in virt/kvm/ioapic
ghsa_unreviewed·2022-05-17
CVE-2013-1798 [MEDIUM] CWE-20 GHSA-2r7v-v86r-776v: The ioapic_read_indirect function in virt/kvm/ioapic
The ioapic_read_indirect function in virt/kvm/ioapic.c in the Linux kernel through 3.8.4 does not properly handle a certain combination of invalid IOAPIC_REG_SELECT and IOAPIC_REG_WINDOW 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.
OSV
Kernel Live Patch Security Notice
osv·2020-04-09·CVSS 6.2
CVE-2013-1798 [MEDIUM] Kernel Live Patch Security Notice
Kernel Live Patch Security Notice
Andrew Honig reported a flaw in the way KVM (Kernel-based Virtual
Machine) emulated the IOAPIC. A privileged guest user could exploit
this flaw to read host memory or cause a denial of service (crash
the host). (CVE-2013-1798)
It was discovered that the KVM implementation in the Linux kernel,
when paravirtual TLB flushes are enabled in guests, the hypervisor in
some situations could miss deferred TLB flushes or otherwise mishandle
them. An attacker in a guest VM could use this to expose sensitive
information (read memory from another guest VM). (CVE-2019-3016)
Al Viro discovered that the vfs layer in the Linux kernel contained
a use- after-free vulnerability. A local attacker could use this to
cause a denial of service (system crash) or possibly expose
Kernel
KVM: x86: Protect ioapic_read_indirect() from Spectre-v1/L1TF attacks
kernel_security·2019-12-11·CVSS 6.2
CVE-2013-1798 [MEDIUM] KVM: x86: Protect ioapic_read_indirect() from Spectre-v1/L1TF attacks
KVM: x86: Protect ioapic_read_indirect() from Spectre-v1/L1TF attacks
This fixes a Spectre-v1/L1TF vulnerability in ioapic_read_indirect().
This function contains index computations based on the
(attacker-controlled) IOREGSEL register.
Fixes: a2c118bfab8b ("KVM: Fix bounds checking in ioapic indirect register reads (CVE-2013-1798)")
Signed-off-by: Nick Finco
Signed-off-by: Marios Pomonis
Reviewed-by: Andrew Honig
Cc: [email protected]
Reviewed-by: Jim Mattson
Signed-off-by: Paolo Bonzini
OSV
CVE-2013-1798: The ioapic_read_indirect function in virt/kvm/ioapic
osv·2013-03-22·CVSS 6.2
CVE-2013-1798 [MEDIUM] CVE-2013-1798: The ioapic_read_indirect function in virt/kvm/ioapic
The ioapic_read_indirect function in virt/kvm/ioapic.c in the Linux kernel through 3.8.4 does not properly handle a certain combination of invalid IOAPIC_REG_SELECT and IOAPIC_REG_WINDOW 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.
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: Fix bounds checking in ioapic indirect register reads (CVE-2013-1798)
kernel_security·2013-02-20·CVSS 6.2
CVE-2013-1798 [MEDIUM] KVM: Fix bounds checking in ioapic indirect register reads (CVE-2013-1798)
KVM: Fix bounds checking in ioapic indirect register reads (CVE-2013-1798)
If the guest specifies a IOAPIC_REG_SELECT with an invalid value and follows
that with a read of the IOAPIC_REG_WINDOW KVM does not properly validate
that request. ioapic_read_indirect contains an
ASSERT(redir_index
Signed-off-by: Marcelo Tosatti
Ubuntu
Kernel Live Patch Security Notice
vendor_ubuntu·2020-04-09·CVSS 6.2
CVE-2013-1798 [MEDIUM] Kernel Live Patch Security Notice
Title: Kernel Live Patch Security Notice
Summary: Several security issues were fixed in the kernel.
Andrew Honig reported a flaw in the way KVM (Kernel-based Virtual
Machine) emulated the IOAPIC. A privileged guest user could exploit
this flaw to read host memory or cause a denial of service (crash
the host). (CVE-2013-1798)
It was discovered that the KVM implementation in the Linux kernel,
when paravirtual TLB flushes are enabled in guests, the hypervisor in
some situations could miss deferred TLB flushes or otherwise mishandle
them. An attacker in a guest VM could use this to expose sensitive
information (read memory from another guest VM). (CVE-2019-3016)
Al Viro discovered that the vfs layer in the Linux kernel contained
a use- after-free vulnerability. A local attacker could use t
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2013-06-14·CVSS 6.2
CVE-2013-1798 [MEDIUM] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the kernel.
Andrew Honig reported a flaw in the way KVM (Kernel-based Virtual Machine)
emulated the IOAPIC. A privileged guest user could exploit this flaw to
read host memory or cause a denial of service (crash the host).
(CVE-2013-1798)
An information leak was discovered in the Linux kernel's rcvmsg path for
ATM (Asynchronous Transfer Mode). A local user could exploit this flaw to
examine potentially sensitive information from the kernel's stack memory.
(CVE-2013-3222)
An information leak was discovered in the Linux kernel's recvmsg path for
ax25 address family. A local user could exploit this flaw to examine
potentially sensitive information from the kernel's stack memory.
(CVE-2013-3223)
An informat
Ubuntu
Linux kernel (EC2) vulnerabilities
vendor_ubuntu·2013-06-14·CVSS 6.2
CVE-2013-1798 [MEDIUM] Linux kernel (EC2) vulnerabilities
Title: Linux kernel (EC2) vulnerabilities
Summary: Several security issues were fixed in the kernel.
Andrew Honig reported a flaw in the way KVM (Kernel-based Virtual Machine)
emulated the IOAPIC. A privileged guest user could exploit this flaw to
read host memory or cause a denial of service (crash the host).
(CVE-2013-1798)
An information leak was discovered in the Linux kernel's rcvmsg path for
ATM (Asynchronous Transfer Mode). A local user could exploit this flaw to
examine potentially sensitive information from the kernel's stack memory.
(CVE-2013-3222)
An information leak was discovered in the Linux kernel's recvmsg path for
ax25 address family. A local user could exploit this flaw to examine
potentially sensitive information from the kernel's stack memory.
(CVE-2013-3223)
An in
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
Red Hat
kernel: kvm: out-of-bounds access in ioapic indirect register reads
vendor_redhat·2013-03-20·CVSS 6.2
CVE-2013-1798 [MEDIUM] kernel: kvm: out-of-bounds access in ioapic indirect register reads
kernel: kvm: out-of-bounds access in ioapic indirect register reads
The ioapic_read_indirect function in virt/kvm/ioapic.c in the Linux kernel through 3.8.4 does not properly handle a certain combination of invalid IOAPIC_REG_SELECT and IOAPIC_REG_WINDOW 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.
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-1798: linux - The ioapic_read_indirect function in virt/kvm/ioapic.c in the Linux kernel throu...
vendor_debian·2013·CVSS 6.2
CVE-2013-1798 [MEDIUM] CVE-2013-1798: linux - The ioapic_read_indirect function in virt/kvm/ioapic.c in the Linux kernel throu...
The ioapic_read_indirect function in virt/kvm/ioapic.c in the Linux kernel through 3.8.4 does not properly handle a certain combination of invalid IOAPIC_REG_SELECT and IOAPIC_REG_WINDOW 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.
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)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2013-1798 kernel: kvm: out-of-bounds access in ioapic indirect register reads [fedora-all]
bugzilla·2013-03-20·CVSS 6.2
CVE-2013-1798 [MEDIUM] CVE-2013-1798 kernel: kvm: out-of-bounds access in ioapic indirect register reads [fedora-all]
CVE-2013-1798 kernel: kvm: out-of-bounds access in ioapic indirect register reads [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 not
Bugzilla
CVE-2013-1798 kernel: kvm: out-of-bounds access in ioapic indirect register reads
bugzilla·2013-03-01·CVSS 6.2
CVE-2013-1798 [MEDIUM] CVE-2013-1798 kernel: kvm: out-of-bounds access in ioapic indirect register reads
CVE-2013-1798 kernel: kvm: out-of-bounds access in ioapic indirect register reads
Description of the problem:
If the guest specifies a IOAPIC_REG_SELECT with an invalid value and follows
that with a read of the IOAPIC_REG_WINDOW KVM does not properly validate
that request. ioapic_read_indirect contains an
ASSERT(redir_index < IOAPIC_NUM_PINS), 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.
Discussion:
Statement:
This issue did not affect the versions of Linux kernel as shipped with Red Hat
Enterprise Linux 5 and
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=a2c118bfab8bc6b8bb213abfc35201e441693d55http://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://packetstormsecurity.com/files/157233/Kernel-Live-Patch-Security-Notice-LSN-0065-1.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.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=917017https://github.com/torvalds/linux/commit/a2c118bfab8bc6b8bb213abfc35201e441693d55http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=a2c118bfab8bc6b8bb213abfc35201e441693d55http://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://packetstormsecurity.com/files/157233/Kernel-Live-Patch-Security-Notice-LSN-0065-1.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.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=917017https://github.com/torvalds/linux/commit/a2c118bfab8bc6b8bb213abfc35201e441693d55
2013-03-22
Published