qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 00/21] block: Handle failure for potentially


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v4 00/21] block: Handle failure for potentially large allocations
Date: Fri, 8 Aug 2014 10:23:23 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Am 07.08.2014 um 20:34 hat Max Reitz geschrieben:
> On 24.06.2014 17:36, Kevin Wolf wrote:
> >A not too small part of the recent CVEs were DoS scenarios by letting
> >qemu abort with too large memory allocations. We generally "fixed" these
> >cases by setting some limits on values read from image files that
> >influence the size of allocations.
> >
> >Because we still need to allow reading large images, this works only to
> >a certain degree and we still can get fairly large allocations, which
> >are not unthinkable to fail on some machines.
> >
> >This series converts potentially large allocations to g_try_malloc() and
> >friends and handles failure gracefully e.g. by returning -ENOMEM. This
> >may cause hot-plug of a new disk or individual requests to fail, but the
> >VM as a whole can keep running.
> 
> Ping – is there anything missing here? This series does contain one
> patch from me, so I'm naturally interested in seeing this series
> getting merged. ;-)

Whoops, thanks for the reminder. I completely forgot about this series.
Applied it to the block branch now.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]