Skip to content

eBPF-based security platform

ci: enable the AF_ALG aead user API for the CVE-2026-31431 test

John Fastabendb386021b7922
diff --git a/testing/kernel/kernel-ci.conf b/testing/kernel/kernel-ci.conf
index ec170b81..e2645b2d 100644
--- a/testing/kernel/kernel-ci.conf
+++ b/testing/kernel/kernel-ci.conf
@@ -49,6 +49,17 @@ CONFIG_CRYPTO_RSA=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_MLDSA=y
CONFIG_CRYPTO_SHA512=y
+# AF_ALG and the aead user API, with the authencesn(hmac(sha256),cbc(aes))
+# chain its reproducer drives, so the CVE-2026-31431 mitigation test
+# (t3115) exercises the algif_aead path the shield blocks instead of an
+# absent one. The hardened profile keeps this surface off (blacklist.conf);
+# the CI kernel is non-deployable and enables it for the test alone. [S]
+CONFIG_CRYPTO_USER_API=y
+CONFIG_CRYPTO_USER_API_AEAD=y
+CONFIG_CRYPTO_AUTHENC=y
+CONFIG_CRYPTO_HMAC=y
+CONFIG_CRYPTO_CBC=y
+CONFIG_CRYPTO_AES=y
CONFIG_TCG_TPM=y
CONFIG_TCG_TIS_CORE=y
CONFIG_TCG_TIS=y