@@ -33,7 +33,7 @@ QB_MEM:virtclass-mcextend-nftables = "-m 2048"
TEST_SUITES = "ping ssh parselogs ptest"
# Sadly at the moment the full set of ptests is not robust enough and sporadically fails in random places
-PTEST_EXPECT_FAILURE = "1"
+#PTEST_EXPECT_FAILURE = "1"
python () {
if not d.getVar("MCNAME"):
new file mode 100644
@@ -0,0 +1,30 @@
+From 355276751baea8b557e1c850fd6eb044fa11f52a Mon Sep 17 00:00:00 2001
+From: Kai Engert <kaie@kuix.de>
+Date: Thu, 26 Sep 2024 21:22:17 +0200
+Subject: [PATCH] Bug 1899402 - Correctly destroy bulkkey in error scenario.
+ r=jschanck
+
+Differential Revision: https://phabricator.services.mozilla.com/D223837
+
+--HG--
+extra : rebase_source : d06a6bb8d51bb844c814c5ee682a1b24de3e2e69
+
+CVE: CVE-2024-11704
+Upstream-Status: Backport [https://github.com/mozilla/nss/commit/355276751baea8b557e1c850fd6eb044fa11f52a]
+Signed-off-by: Peter Marko <peter.marko@siemens.com>
+---
+ nss/lib/pkcs7/p7decode.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/nss/lib/pkcs7/p7decode.c b/nss/lib/pkcs7/p7decode.c
+index 7a01f3671..02be982f6 100644
+--- a/nss/lib/pkcs7/p7decode.c
++++ b/nss/lib/pkcs7/p7decode.c
+@@ -542,6 +542,7 @@ sec_pkcs7_decoder_start_decrypt(SEC_PKCS7DecoderContext *p7dcx, int depth,
+ * We are done with (this) bulkkey now.
+ */
+ PK11_FreeSymKey(bulkkey);
++ bulkkey = NULL;
+
+ if (decryptobj == NULL) {
+ p7dcx->error = PORT_GetError();
@@ -37,6 +37,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/security/nss/releases/${VERSION_DIR}/src/$
file://CVE-2026-2781.patch \
file://0008-Bug-2083709-Remove-eMudhra-emSign-Root-CA-C1-and-emS.patch \
file://0009-Bug-2084101-Remove-eMudhra-emSign-Root-CA-G3-from-NS.patch \
+ file://CVE-2024-11704.patch \
"
SRC_URI[sha256sum] = "f549cc33d35c0601674bfacf7c6ad683c187595eb4125b423238d3e9aa4209ce"