@@ -62,7 +62,12 @@ stdenv.mkDerivation rec {
6262
6363 patches = [ ./no-etc-install.patch ]
6464 ++ optional nixosTestRunner ./force-uid0-on-9p.patch
65− ++ optional pulseSupport ./fix-hda-recording.patch;
65+ ++ optional pulseSupport ./fix-hda-recording.patch
66+ ++ [ (fetchpatch {
67+ name = "qemu-CVE-2017-15118.patch";
68+ url = "http://git.qemu.org/?p=qemu.git;a=patch;h=51ae4f8455c9e32c54770c4ebc25bf86a8128183";
69+ sha256 = "0f9i096dz3h1i8g92y99vak23rjs1shf7prlcxqizsz0fah7wx7h"; })
70+ ];
6671
6772 hardeningDisable = [ "stackprotector" ];
6873