Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 519397 - KVM: MMU: make __kvm_mmu_free_some_pages handle empty list (upstream backport)
KVM: MMU: make __kvm_mmu_free_some_pages handle empty list (upstream backport)
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm (Show other bugs)
5.5
All Linux
low Severity medium
: rc
: ---
Assigned To: Eduardo Habkost
Lawrence Lim
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-26 09:14 EDT by Marcelo Tosatti
Modified: 2014-03-25 21:01 EDT (History)
6 users (show)

See Also:
Fixed In Version: kvm-83-108.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-03-30 03:55:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
KVM_MMU_make_kvm_mmu_free_some_pages_handle_empty_list.patch (947 bytes, text/plain)
2009-08-26 09:14 EDT, Marcelo Tosatti
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0271 normal SHIPPED_LIVE Important: kvm security, bug fix and enhancement update 2010-03-29 09:19:48 EDT

  None (edit)
Description Marcelo Tosatti 2009-08-26 09:14:14 EDT
Created attachment 358710 [details]
KVM_MMU_make_kvm_mmu_free_some_pages_handle_empty_list.patch

commit 25ed49c02cc195d437bf5832df123fe5a8583271
Author: Izik Eidus <ieidus@redhat.com>
Date:   Tue Jul 28 15:26:58 2009 -0300

KVM: MMU: make __kvm_mmu_free_some_pages handle empty list

First check if the list is empty before attempting to look at list
entries.

Signed-off-by: Izik Eidus <ieidus@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Comment 5 lihuang 2009-08-27 11:28:43 EDT
Hi Marcelo
   Do we have test case for this fix ?

  Thanks
  Lijun Huang
Comment 6 Marcelo Tosatti 2009-08-27 12:12:32 EDT
Lijun,

Its not very trivial to reproduce / don't have a ready testcase.

Just checking it introduces no regressions should be OK.

Izik, do you agree?
Comment 7 Izik Eidus 2009-08-27 12:36:49 EDT
Yes, it would be hard to triggered
This bug fix is more against malicoues usage of kvm.

I belive checking against regressions should be enaougth..
Comment 8 lihuang 2009-08-27 22:03:37 EDT
Ok i will run the test. Thank you . Marcelo and Izik :)
Comment 12 errata-xmlrpc 2010-03-30 03:55:40 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0271.html

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