On Wed, Jul 29, 2026 at 01:48:25PM -0400, Peter Xu wrote:
> So to me, it's much simpler we say migration stream must be
> trusted, and I expect dest QEMU can allocate any buffer it needs, until it
> eats the whole system memory.  I really don't see much real risk..

It's not risk due to migration, specifically. But making qemu
drink up terabytes from the guest would be problematic, right?

Putting qemu in a cgroup with restricted total memory
would be one way to prevent this class of security issue,
and a robust one.

But that, in turn, is impossible if qemu insists on allocating
unlimited memory at the drop of a hat.

However, migration is hardly the worst offender here, and I am
not at all sure we need to start with it if we even want
to address this limitation.

-- 
MST


Reply via email to