linuxKernels: ensure hardened kernels remain patched against CVE-2023-32233

This commit is contained in:
Maximilian Bosch 2023-05-13 12:51:56 +02:00
parent 3743a476a5
commit 99c8d675d2
No known key found for this signature in database
GPG key ID: 9A6EEA275CA5BE0A

View file

@ -54,6 +54,11 @@ let
};
kernelPatches = kernel.kernelPatches ++ [
kernelPatches.hardened.${kernel.meta.branch}
] ++ lib.optionals (lib.versionAtLeast version "5.15") [
# Needed as long as hardened kernels are behind the first patch release
# containing the fix for CVE-2023-32233. Can most likely be removed after the
# next hardened kernel update.
kernelPatches.CVE-2023-32233
];
isHardened = true;
};