All of lore.kernel.org
 help / color / mirror / Atom feed
* System emulator security boundary policy now enforceable
@ 2026-11-17 10:09 Daniel P. Berrangé
  2026-11-17 10:24 ` Peter Maydell
  2026-11-17 10:32 ` Mark Cave-Ayland
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel P. Berrangé @ 2026-11-17 10:09 UTC (permalink / raw)
  To: qemu-devel

With the latest pull request of mine that is merged, we now have
the mechanism for enforcement of the QEMU security boundary policy
with annotations completed across QOM classes for machine types,
devices and accelerators.

For a bug disclosure affecting a system emulator to be accepted
as a security flaw the reproducer scenario must now pass without
warnings when adding the '-compat insecure-input' flag.

For example:

 $ qemu-system-x86_64 -compat insecure-input=warn
 qemu-system-x86_64: warning: Insecure QOM type tcg-accel accepted by policy

 $ qemu-system-x86_64 -compat insecure-input=warn -machine isapc -device ne2k_isa
 qemu-system-x86_64: warning: Insecure QOM type isapc-machine accepted by policy
 qemu-system-x86_64: warning: Insecure QOM type tcg-accel accepted by policy
 qemu-system-x86_64: -device ne2k_isa: warning: Insecure QOM type ne2k_isa accepted by policy

Alternatively you can have QEMU crash on the first violation

 $ qemu-system-x86_64 -compat insecure-input=reject -machine isapc -device ne2k_isa
 qemu-system-x86_64: Insecure QOM type isapc-machine disabled by policy
 This type does does not provide a security boundary to protect against untrusted data or actions


When triaging an incoming disclosure affecting system emulators
please use this mechanism as the primary guide for whether to
handle it as a security flaw with a CVE assignment request, or
merely a normal public bug.

This mechanism is intended as authoritative, while the security.rst
docs describing virtualization vs non-virtualization use cases are
merely a high level approximation.

With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-17 16:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-17 10:09 System emulator security boundary policy now enforceable Daniel P. Berrangé
2026-11-17 10:24 ` Peter Maydell
2026-11-17 10:35   ` Daniel P. Berrangé
2026-11-17 14:55     ` Marc-André Lureau
2026-11-17 14:57       ` Daniel P. Berrangé
2026-11-17 10:32 ` Mark Cave-Ayland
2026-11-17 16:00   ` Daniel P. Berrangé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.