Bug 1032862 - virtio-rng-egd: repeatedly read same random data-block w/o considering the buffer offset
Summary: virtio-rng-egd: repeatedly read same random data-block w/o considering the bu...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: rc
: ---
Assignee: Amos Kong
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-21 03:52 UTC by Amos Kong
Modified: 2015-05-25 00:07 UTC (History)
10 users (show)

Fixed In Version: qemu-kvm-1.5.3-20.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 09:59:03 UTC
Target Upstream Version:


Attachments (Terms of Use)

Comment 1 Amos Kong 2013-11-21 09:53:51 UTC
Posted a patch to upstream:

http://lists.nongnu.org/archive/html/qemu-stable/2013-11/msg00045.html

Comment 3 Amos Kong 2013-11-25 07:01:52 UTC
Hi Junyi,

  We need a test to verify the data is really random, it might catch this bug.
  eg: generate a lot of numbers from 1 ~ 100,  then check the distribution
  Or using some software to verify it.

Amos

Comment 4 Miroslav Rezanina 2013-11-28 07:37:07 UTC
Fix included in qemu-kvm-1.5.3-20.el7

Comment 6 Shaolong Hu 2014-01-17 08:49:46 UTC
Verified on qemu-kvm-rhev-1.5.3-31.el7.x86_64:

read 100 characters, it's random.

'\x07\xdf\xf8W\x16\xb4)\xb2tndm}\xcb\xb1\xdd\'\xf2\xf3\x1c*\xbb\xe1\xad\xb3"=\xd0G\x83\xe7\x01K|\xacAP\xdc\xcf\xb9\x97\xb4\x85G\x8f!\xd8\xf9\xb9\xcf}\x98&N\x8eg\x10\x98\\\xd6u\xe6H~\xc5\xf9\xc6\x02\xa3t\x17\xbc6\xa0,\xfd\xb3\x87W\xc6\x047\xae\xa3\xbe\x88\xa2M\xd0\x92Q@r\xcc\xfai\x1b\x08^\xb6'

Comment 7 Ludek Smid 2014-06-13 09:59:03 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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