qemu: fix CVE-2022-35414

This commit is contained in:
Robin Gloster
2022-07-25 17:14:57 +02:00
parent 208ff30d77
commit b2d221795b
@@ -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;