diff options
author | Robin Gloster <mail@glob.in> | 2022-07-18 22:44:26 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2022-07-25 17:14:57 +0200 |
commit | b2d221795b355b6646c046077f3a58aedb1efa82 (patch) | |
tree | 48d9f9e7ab3362188e6f954f41c86cab77bf7572 /pkgs/applications/virtualization | |
parent | 208ff30d77c8cb44807702aef266ceb896838c0c (diff) |
qemu: fix CVE-2022-35414
Diffstat (limited to 'pkgs/applications/virtualization')
-rw-r--r-- | pkgs/applications/virtualization/qemu/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/qemu/default.nix b/pkgs/applications/virtualization/qemu/default.nix index fb41e303f5375..c3aa3c49553e5 100644 --- a/pkgs/applications/virtualization/qemu/default.nix +++ b/pkgs/applications/virtualization/qemu/default.nix @@ -121,6 +121,11 @@ stdenv.mkDerivation rec { url = "https://gitlab.com/qemu/qemu/-/commit/f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65.patch"; sha256 = "sha256-8i13wU135h+YxoXFtkXweBN3hMslpWoNoeQ7Ydmn3V4="; }) + (fetchpatch { + name = "CVE-2022-35414.patch"; + url = "https://gitlab.com/qemu-project/qemu/-/commit/418ade7849ce7641c0f7333718caf5091a02fd4c.patch"; + sha256 = "sha256-zQHDXedIXZBnabv4+3TA4z5mY1+KZiPmqUbhaSkGLgA="; + }) ] ++ lib.optional nixosTestRunner ./force-uid0-on-9p.patch; |