qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] xen/disk: don't leak stack data via response ring


From: Michael Tokarev
Subject: Re: [Qemu-devel] xen/disk: don't leak stack data via response ring
Date: Sat, 23 Sep 2017 19:05:28 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

28.06.2017 01:04, Stefano Stabellini wrote:
> Rather than constructing a local structure instance on the stack, fill
> the fields directly on the shared ring, just like other (Linux)
> backends do. Build on the fact that all response structure flavors are
> actually identical (aside from alignment and padding at the end).
> 
> This is XSA-216.
> 
> Reported by: Anthony Perard <address@hidden>
> Signed-off-by: Jan Beulich <address@hidden>
> Signed-off-by: Stefano Stabellini <address@hidden>
> Acked-by: Anthony PERARD <address@hidden>

Reportedly, after this patch, HVM DomUs running with qemu-system-i386
(note i386, not x86_64), are leaking memory and host is running out of
memory rather fast.  See for example https://bugs.debian.org/871702

I've asked for details, let's see...

For one, I've no idea how xen hvm works, and whenever -i386 version
can be choosen in config or how.

Thanks,

/mjt



reply via email to

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