[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] sanitize memory on system reset
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [RFC] sanitize memory on system reset |
Date: |
Thu, 13 Jun 2013 11:22:56 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 |
Hi,
Am 13.06.2013 08:09, schrieb Peter Lieven:
> I was thinking if it would be a good idea to zeroize all memory
> resources on system reset and
> madvise dontneed them afterwards.
The current way of not zeroing memory has led to discovery of some
firmware bugs that we wouldn't have found if QEMU defaulted to zeroing.
> This would avoid system reset attacks
> in case the attacker
> has only access to the console of a vServer but not on the physical host
> and it would shrink
> RSS size of the vServer siginificantly.
Apart from the guest issue Stefan brought up (so far by definition we do
a hard reset, so guests cannot assume soft reset semantics, but we
should keep our options open), would not zeroing while marking pages as
unused be an option? E.g., -reset-memory=DEADBEEF or some other
command-line-specifiable pattern, absence would mean current behavior.
Regards,
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
- Re: [Qemu-devel] [RFC] sanitize memory on system reset, (continued)
- Re: [Qemu-devel] [RFC] sanitize memory on system reset, Anthony Liguori, 2013/06/13
- Re: [Qemu-devel] [RFC] sanitize memory on system reset, Paolo Bonzini, 2013/06/13
- Re: [Qemu-devel] [RFC] sanitize memory on system reset, Christian Borntraeger, 2013/06/14
- Re: [Qemu-devel] [RFC] sanitize memory on system reset, Alexander Graf, 2013/06/14
- Re: [Qemu-devel] [RFC] sanitize memory on system reset, Paolo Bonzini, 2013/06/14
- Re: [Qemu-devel] [RFC] sanitize memory on system reset, Peter Lieven, 2013/06/17
- Re: [Qemu-devel] [RFC] sanitize memory on system reset, H. Peter Anvin, 2013/06/14
- Re: [Qemu-devel] [RFC] sanitize memory on system reset, Peter Lieven, 2013/06/13
- Re: [Qemu-devel] [RFC] sanitize memory on system reset, Markus Armbruster, 2013/06/13
- Re: [Qemu-devel] [RFC] sanitize memory on system reset, Peter Lieven, 2013/06/13
Re: [Qemu-devel] [RFC] sanitize memory on system reset,
Andreas Färber <=