Skip to content

Commit 9e635ec

Browse files
andiradisbladis
authored andcommittedDec 5, 2017
qemu: apply patch for CVE-2017-17381
More details at [1]. [1] http://www.openwall.com/lists/oss-security/2017/12/05/2 (cherry picked from commit d72974a)
1 parent b5fb6a5 commit 9e635ec

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎pkgs/applications/virtualization/qemu/default.nix

+6-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ stdenv.mkDerivation rec {
5656

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

6166
hardeningDisable = [ "stackprotector" ];
6267

0 commit comments

Comments
 (0)
Please sign in to comment.