Bug 1284847 (CVE-2015-7513) - CVE-2015-7513 Kernel: kvm: divide by zero issue leads to DoS
Summary: CVE-2015-7513 Kernel: kvm: divide by zero issue leads to DoS
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2015-7513
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1296142 1296143
Blocks: 1284848
TreeView+ depends on / blocked
 
Reported: 2015-11-24 10:47 UTC by Adam Mariš
Modified: 2021-02-17 04:41 UTC (History)
28 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A divide-by-zero flaw was discovered in the Linux kernel built with KVM virtualization support(CONFIG_KVM). The flaw occurs in the KVM module's Programmable Interval Timer(PIT) emulation, when PIT counters for channel 1 or 2 are set to zero(0) and a privileged user inside the guest attempts to read these counters. A privileged guest user with access to PIT I/O ports could exploit this issue to crash the host kernel (denial of service).
Clone Of:
Environment:
Last Closed: 2016-05-20 11:29:34 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2015-11-24 10:47:48 UTC
Linux kernel built with the KVM virtualisation support(CONFIG_KVM) is vulnerable to a divide by zero issue. It occurs in the KVM module's Programmable Interval Timer(PIT) emulation, when PIT counters for channel 1 or 2 are set to zero(0) and a privileged user inside guest attempts to read those.

A privileged guest user with access to PIT I/O ports, could use this issue to crash the host kernel resulting in DoS.

Upstream patch:
---------------
  -> https://git.kernel.org/linus/0185604c2d82c560dab2f2933a18f797e74ab5a8

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2016/01/07/2
  -> http://wiki.osdev.org/Programmable_Interval_Timer
  -> http://www.osdever.net/bkerndev/Docs/pit.htm

Comment 2 Martin Prpič 2016-01-06 12:40:30 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1296142]

Comment 3 Prasad Pandit 2016-01-07 10:39:57 UTC
Statement:

This issue does not affect the versions of the kernel package as shipped with
Red Hat Enterprise Linux 5 and Red Hat Enterprise MRG 2.

This issue affects the versions of Linux kernel as shipped with
Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7.

This has been rated as having Moderate security impact and is not currently
planned to be addressed in future updates. For additional information, refer
to the Red Hat Enterprise Linux Life Cycle:
https://access.redhat.com/support/policy/updates/errata/

Comment 4 Fedora Update System 2016-01-20 21:52:48 UTC
kernel-4.3.3-301.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2016-01-26 18:23:43 UTC
kernel-4.3.3-303.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2016-02-01 06:24:08 UTC
kernel-4.3.4-200.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.