Bug 1078201 (CVE-2014-0142) - CVE-2014-0142 qemu: crash by possible division by zero
Summary: CVE-2014-0142 qemu: crash by possible division by zero
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2014-0142
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1079311 1079312 1079313 1079314 1079315 1086710 1087112 1087126 1087140 1108461
Blocks: 1066967 1086694
TreeView+ depends on / blocked
 
Reported: 2014-03-19 11:40 UTC by Prasad Pandit
Modified: 2023-05-12 20:53 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-27 13:06:08 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:0420 0 normal SHIPPED_LIVE Moderate: qemu-kvm security update 2014-04-22 21:39:52 UTC
Red Hat Product Errata RHSA-2014:0421 0 normal SHIPPED_LIVE Moderate: qemu-kvm-rhev security update 2014-04-22 21:39:32 UTC
Red Hat Product Errata RHSA-2014:0434 0 normal SHIPPED_LIVE Moderate: qemu-kvm-rhev security update 2014-04-24 21:35:56 UTC
Red Hat Product Errata RHSA-2014:0435 0 normal SHIPPED_LIVE Moderate: qemu-kvm-rhev security update 2014-04-24 21:35:47 UTC
Red Hat Product Errata RHSA-2014:0674 0 normal SHIPPED_LIVE Moderate: rhev-hypervisor6 3.4.0 security, bug fix, and enhancement update 2014-06-09 18:35:12 UTC

Description Prasad Pandit 2014-03-19 11:40:32 UTC
Qemu block drivers for parallels image and formats used by Bocsh are vulnerable
to a crash caused by possible division by zero error, in seek_to_sector routine.
It could occur if 's->tracks' & 's->extent_size' fields are 0. These are used
to derive 'index' and 'offset' values in seek_to_sector() routine.

An user able to alter the Qemu disk image could use this flaw to crash the
Qemu instance resulting in DoS.

Upstream fixes:
---------------
parallels: Sanity check for s->tracks
  -> http://git.qemu.org/?p=qemu.git;a=commit;h=9302e863aa8baa5d932fc078967050c055fa1a7f

bochs: Check extent_size header field
  -> http://git.qemu.org/?p=qemu.git;a=commit;h=8e53abbc20d08ae3ec30c2054e1161314ad9501d

Comment 1 Prasad Pandit 2014-03-21 10:27:24 UTC
Statement:

This issue affects the versions of kvm package as shipped with Red Hat
Enterprise Linux 5.

This issue affects the versions of qemu-kvm package as shipped with Red Hat
Enterprise Linux 6.

Comment 5 Prasad Pandit 2014-03-25 13:08:15 UTC
Acknowledgement:

These issues were discovered by Kevin Wolf of Red Hat Inc.

Comment 6 Prasad Pandit 2014-04-11 11:20:45 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1086710]

Comment 10 errata-xmlrpc 2014-04-22 17:40:52 UTC
This issue has been addressed in following products:

  RHEV-H and Agents for RHEL-6

Via RHSA-2014:0421 https://rhn.redhat.com/errata/RHSA-2014-0421.html

Comment 11 errata-xmlrpc 2014-04-22 17:41:44 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2014:0420 https://rhn.redhat.com/errata/RHSA-2014-0420.html

Comment 12 errata-xmlrpc 2014-04-24 17:37:04 UTC
This issue has been addressed in following products:

  OpenStack 3 for RHEL 6

Via RHSA-2014:0435 https://rhn.redhat.com/errata/RHSA-2014-0435.html

Comment 13 errata-xmlrpc 2014-04-24 17:38:07 UTC
This issue has been addressed in following products:

  OpenStack 4 for RHEL 6

Via RHSA-2014:0434 https://rhn.redhat.com/errata/RHSA-2014-0434.html

Comment 14 Fedora Update System 2014-05-01 22:26:13 UTC
qemu-1.6.2-4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 errata-xmlrpc 2014-06-09 14:37:22 UTC
This issue has been addressed in following products:

  RHEV-H and Agents for RHEL-6

Via RHSA-2014:0674 https://rhn.redhat.com/errata/RHSA-2014-0674.html


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