Skip to content

Commit

Permalink
qemu: apply patch for CVE-2017-17381
Browse files Browse the repository at this point in the history
More details at [1].

[1] http://www.openwall.com/lists/oss-security/2017/12/05/2

(cherry picked from commit d72974a)
  • Loading branch information
andir authored and adisbladis committed Dec 5, 2017
1 parent b5fb6a5 commit 9e635ec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/applications/virtualization/qemu/default.nix
Expand Up @@ -56,7 +56,12 @@ stdenv.mkDerivation rec {

patches = [ ./no-etc-install.patch ]
++ optional nixosTestRunner ./force-uid0-on-9p.patch
++ optional pulseSupport ./fix-hda-recording.patch;
++ optional pulseSupport ./fix-hda-recording.patch
++ [ (fetchpatch {
name = "qemu-CVE-2017-17381.patch";
url = "https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git/patch/?id=758ead31c7e17bf17a9ef2e0ca1c3e86ab296b43";
sha256 = "17yw4bqsbywdrbmrikr94yjnfsg853bf4i3k4y3k169387da2yc5"; })
];

hardeningDisable = [ "stackprotector" ];

Expand Down

0 comments on commit 9e635ec

Please sign in to comment.