DLPX-97124 Add algif_aead modprobe disable to delphix-platform for CVE-2026-31431 (Copy Fail)#559
Merged
david-mendez1 merged 1 commit intoMay 5, 2026
Conversation
4ebc336 to
613a4b3
Compare
prakashsurya
approved these changes
May 5, 2026
prakashsurya
left a comment
Contributor
There was a problem hiding this comment.
code changes looks reasonable to me, but we should definitely verify the functionality works as intended.. I don't recall the specific details w.r.t. this file, and how it should be formatted, etc..
can you perhaps copy this file to an existing release VM, and verify it works like we want before landing?
Contributor
Author
Copied the file and tested. Updated the |
nealquigley
approved these changes
May 5, 2026
lyriclake
approved these changes
May 5, 2026
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
CVE-2026-31431 ("Copy Fail") is a critical Linux kernel local privilege
escalation vulnerability (CVSS 7.8) that allows an unprivileged local
user to gain root by corrupting the page cache of setuid binaries via the
algif_aeadmodule in the AF_ALG crypto API. It has known public exploitsand is listed in CISA's Known Exploited Vulnerabilities catalog.
Ubuntu released a mitigation via USN-8226-1, which updates the
kmodpackage to version
31+20240202-2ubuntu7.2. That version's postinstscript creates
/etc/modprobe.d/disable-algif_aead.conf, blocking themodule from loading. However, engines built from the release branch use an
older apt mirror snapshot (
kmod 31+20240202-2ubuntu7.1) that predatesUSN-8226-1, so the mitigation file is absent and those engines remain
vulnerable.
No upstream kernel fix is available yet for Ubuntu 24.04 LTS — all
Delphix kernel repos (
linux-kernel-aws,linux-kernel-generic,linux-kernel-azure,linux-kernel-oracle,linux-kernel-gcp) stillcarry the vulnerable
crypto/algif_aead.c.Solution
Add
/etc/modprobe.d/disable-algif_aead.confdirectly todelphix-platformunderfiles/common/etc/modprobe.d/, containing:This ensures the
algif_aeadmodule is blocked at image build time,independent of which
kmodpackage version is present in the apt mirrorsnapshot used during the build. The fix applies to all platforms (the file
lives under
files/common/) and aligns with the mitigation contentalready deployed on develop-branch engines via
kmod 31+20240202-2ubuntu7.2.The comment in the file notes that this should be re-evaluated once an
updated kernel containing the upstream fix
(
git.kernel.org/stable/c/a664bf3d603d) is deployed.Testing Done
Manually created
/etc/modprobe.d/disable-algif_aead.confon a release-branchengine (
dm-release.dlpxdc.co,kmod 31+20240202-2ubuntu7.1) and confirmedthe module is blocked:
The
install algif_aead /bin/falserule is correctly intercepting the loadrequest and returning a non-zero exit code, preventing the module from being
inserted.