🔴 CVE-2026-31431 – "Copy Fail": 🧩 What Is It? 9 Years Hidden, 732 Bytes to Root Disclosed April 29, 2026 — here's what every DevSecOps engineer and cloud architect needs to know. 📊 Severity CVSS 3.1: 7.8 (HIGH) Local attack vector, low privileges required, no user interaction needed A public PoC is available and reliable across multiple major Linux distributions Added to CISA's KEV catalog 🌍 Affected Scope Virtually all Linux distributions running kernels released from 2017 until patched — Ubuntu, Amazon Linux 2023, RHEL 10.1, SUSE 16, Debian, Fedora, and Arch Linux. ☁️ Why This Is Especially Dangerous in Cloud / Kubernetes In container deployments, the vulnerability may facilitate container escape scenarios. Docker, LXC, and Kubernetes grant container processes access to AF_ALG by default if algif_aead is loaded on the host kernel. Its reliability, stealth (in-memory-only), and cross-platform reach make it particularly dangerous in cloud, CI/CD, and Kubernetes environments running untrusted code. 🔍 How Was It Found? Surfaced by Xint Code in about an hour of scan time against the Linux crypto/ subsystem — one operator prompt, no manual harnessing. Offensive AI is now capable of autonomously finding kernel-grade bugs. The discovery-to-exploitation window is shrinking fast. 🛡️ Immediate Actions "echo "install algif_aead /bin/false" > /etc/modprobe.d/disable-algif.conf rmmod algif_aead 2>/dev/null || true lsof | grep AF_ALG # check exposure" This does not affect dm-crypt/LUKS, kTLS, IPsec/XFRM, OpenSSL, GnuTLS, NSS, or SSH. It may affect apps using the afalg engine or binding AEAD/skcipher/hash sockets directly. Patch: update to a kernel including upstream commit a664bf3d603d. FCEB agencies must apply fixes by May 15, 2026. 🔎 Exploitation Detection AF_ALG loading 300+ seconds after boot is suspicious — normal loading happens at startup. A corrupted /usr/bin/su may produce malformed auth.log entries with a missing invoking username. 🏗️ Architectural Takeaway If your isolation story is "containers on a shared host kernel," the threat model needs a hardware or VM boundary, not just namespaces. Treat any container RCE as a potential host compromise and enforce rapid node recycling. 📌 Patch Status (4/5/26) Debian has released a patched downstream kernel; Red Hat Enterprise Linux has not yet done so. Check your vendor's security tracker. TL;DR: Disable algif_aead now, patch when your distro ships the fix, and revisit your threat model for shared-kernel workloads. Track advisories: CERT-EU · Red Hat Security · Ubuntu Security · CISA KEV #Linux #Kubernetes #DevSecOps #CVE #CyberSecurity #CloudSecurity #RHEL #Containers #KernelSecurity #CopyFail
CVE-2026-31431 Linux Kernel Vulnerability Exploited by Offensive AI
More Relevant Posts
-
🚨 CVE-2026-31431 (Copy Fail): A Critical Linux Kernel Vulnerability Affecting Most Servers I recently received a security alert from Laravel Forge about a serious vulnerability in the Linux kernel. After reviewing the details, I decided to share a clear summary because this affects nearly every Linux administrator and DevOps engineer. What is Copy Fail? CVE ID: CVE-2026-31431 Severity: CVSS 7.8 (High) Type: Local Privilege Escalation (LPE) Affected: Almost all major Linux distributions with kernels built since 2017 (Ubuntu, Debian, RHEL, Amazon Linux, SUSE, Rocky, AlmaLinux, etc.) An unprivileged local user can exploit it with a tiny 732-byte Python script (using only standard library) to: Write 4 controlled bytes into the page cache of any readable file Target setuid binaries like /usr/bin/su Gain full root access in seconds The exploit is highly portable and works across distributions without modification. It also has strong potential for container escapes in multi-tenant environments like Kubernetes, CI runners, and shared hosting. ❓ What You Should Do 1.Update your kernel and reboot (the patch requires a reboot to take effect). 2.Temporary mitigation (until patched): 3.Check your kernel version Recommendation: Run this check on all your production, staging, and CI servers today. Even with automatic security updates enabled, don’t forget the reboot. Why This Matters This vulnerability is especially dangerous in shared environments (CI/CD pipelines, containers, multi-user servers). It reminds us that OS-level security and timely patching remain foundational skills in DevOps and SRE work. I’ve already audited and patched my own servers. Staying proactive with infrastructure security is one of my top priorities. Useful Resources: Official Page: https://copy.fail Technical Deep Dive: Xint.io Blog Ubuntu Advisory: https://lnkd.in/dXJwB3Tz #Linux #Kernel #Security #CVE #DevOps #SRE #CyberSecurity #SysAdmin
To view or add a comment, sign in
-
-
🚨 Critical Vulnerability: Copy Fail (CVE-2026-31431) — A 9-year-old Linux Kernel bug that lets anyone become Root in seconds. This vulnerability was discovered by Xint's AI-assisted scanning, which took only about 1 hour to scan the Linux crypto subsystem 😱. This is a clear sign that Kernel Security is entering a new era where AI can find vulnerabilities way faster. And that means defenders — and even us sysadmins — need to keep up with that pace too.. On April 29, 2026, the Xint research team (Theori) disclosed a critical Linux Kernel vulnerability that's been hiding since 2017. It's nicknamed "Copy Fail," carries a CVSS Score of 7.8 (High), and here's the scary part — the exploit works without any Race Condition, no need to find any Kernel Offset. Just a 732-byte Python script and you've got Root 😱. —————— 🧠 So what's the root cause? The issue lies in the Linux Kernel's Crypto subsystem called AF_ALG (algif_aead), which is an interface that lets userspace call Cryptographic Operations through a Socket. —————— 🐳 Why does this hit Kubernetes / Containers so hard? This is what makes this vulnerability way scarier than your typical Local Privilege Escalation (LPE) — because the Linux Page Cache is shared at the Host Kernel level. It's not isolated by Namespace or Container. —————— 🎯 Who's affected? 📍 Any system running Linux Kernel from 2017 onward (that's almost everything!) Ubuntu, RHEL, Debian, Amazon Linux, SUSE, Fedora, Arch, and more 📍 Every version of Kubernetes Clusters running on unpatched Nodes Especially clusters running multi-tenant workloads kube-proxy DaemonSet is a prime target since it runs as Privileged on every Node 📍 CI/CD Runners (GitHub Actions, GitLab Runner, Jenkins) Anyone who submits a PR can escalate to Root on the runner 📍 Cloud Environments running untrusted code or resources Multi-tenant SaaS, Shared Hosting, Container-as-a-Service —————— 🛡️ How to protect yourself: ✅ 1. Patch your Kernel immediately (top priority!) ✅ 2. Disable the algif_aead module (if you can't patch yet) ✅ 3. Use a Custom Seccomp Profile that blocks AF_ALG (for Kubernetes) ✅ 4. Reduce Node-Sharing Risk —————— 📊 Patch status by distro (as of May 1, 2026) ✅ Debian (sid/unstable, forky): Patched ⏳ RHEL 8/9, Fedora, SUSE, Amazon Linux: Patch in progress ❌ Ubuntu (LTS), Debian (stable/bookworm): Not yet patched ✅ Upstream Linux Kernel: Fixed —————— Over the past 2-3 days, PoC scripts have been popping up everywhere, so attackers don't need to spend much time writing their own exploit scripts. And with AI making things even easier, I'd strongly encourage everyone to stay vigilant and protect the systems you're running and managing. —————— 🔗 References: Official Disclosure: https://copy.fail/ Kubernetes PoC: https://lnkd.in/gN9KAWRt #Linux #Kubernetes #Security #CVE202631431 #CopyFail #DevOps #CloudNative #SRE
To view or add a comment, sign in
-
-
The GitHub repository breach tied to a poisoned developer extension highlights how modern supply chain attacks are increasingly targeting build ecosystems instead of production systems directly. Many Linux workloads inherit risk long before deployment. According to reporting around the incident, the malicious extension enabled exfiltration of internal repositories and operational data from a trusted developer environment. Security researchers also noted the broader trend of attackers targeting highly trusted tooling embedded inside CI/CD pipelines. For Linux infrastructure teams, this changes where defensive visibility is needed. Exposure often appears in: - self-hosted runners - ephemeral container builds - package caching systems - automated deployment jobs - Kubernetes GitOps pipelines - secrets mounted into CI containers Once a poisoned dependency or tool enters the pipeline, Linux systems downstream may consume compromised artifacts without obvious indicators. Many container images inherit vulnerable or malicious dependencies indirectly. From a system hardening perspective, this is worth reviewing. In practical terms, it is a good time to review: - SBOM generation and verification workflows - provenance validation for container images - controls around third-party GitHub Actions - package pinning versus floating dependency versions - isolated build runners for sensitive projects - secret injection practices during builds - logging around artifact publication events Operationally, supply chain security is becoming inseparable from Linux platform security. Article: https://lnkd.in/eW3a7CXt #Linux #InfrastructureSecurity #DevSecOps #SupplyChainSecurity
To view or add a comment, sign in
-
CVE-2026-31431 “Copy Fail” — a Linux LPE worth your attention this week If you run Linux in production — especially multi-tenant Kubernetes — don’t let this one slip past your queue. A logic flaw in the kernel’s AEAD crypto module (algif_aead) lets an unprivileged local user write 4 controlled bytes into the page cache of any readable file. Chained with AF_ALG sockets and splice(), an attacker rewrites setuid binaries like /usr/bin/su in memory. No disk modification — so on-disk integrity tooling won’t see it. Outcome: root. Discovered by Xint; affects roughly every Linux kernel from 2017 through the recent upstream fix. • Even when algif_aead isn’t loaded, the kernel autoloads it on demand the moment any process — including an unprivileged pod with no caps — opens an AF_ALG AEAD socket. Loaded ≠ attack surface. • Container escape is real: a foothold in an unprivileged container can corrupt a base-layer binary shared with a privileged co-tenant on the same node, then pivot through it. • CVSS scoring divergence is informative — Amazon Linux lists it as 5.5 (local-only lens); Microsoft scores 7.8 (cluster blast radius). Score your own environment, not the lowest published number. • Wiz is upfront that current detection signals are biased toward early PoCs and likely to be evaded as exploits evolve. Don’t anchor your detection strategy on the first IoCs. Mitigations (priority order) 1. Patch the kernel (mainline commit a664bf3d603d) once your distro ships it. Ubuntu LTS, RHEL, Amazon Linux were still rolling out as of May 1. 2. If unpatched, block the module:echo "install algif_aead /bin/false" > /etc/modprobe.d/disable-algif.conf && rmmod algif_aead 3. Restrict AF_ALG socket creation via seccomp on workloads. 4. AKS: upgrade node images to 202604.13.0 / 202604.24.0, or apply the mitigation DaemonSet from the AKS advisory (Azure/AKS#5753). Mariner 2.0 and Windows nodes are not affected. 5. Amazon Linux 2 / 2023: kernels currently show Pending Fix — track ALAS and apply the modprobe mitigation in the interim. References: Wiz technical writeup + distro patch matrix: https://lnkd.in/dyvr7Q8F Amazon Linux ALAS entry: https://lnkd.in/djnpGdxi Azure AKS bulletin (AKS-2026-0003): https://lnkd.in/dqdqDsdm #Linux #Kubernetes #CloudSecurity #VulnerabilityManagement #DevSecOps
To view or add a comment, sign in
-
Copy Fail is not a “drop everything” internet-wide event. It is a local privilege-escalation bug, not a wormable remote exploit. But it does change the economics of compromise: once an attacker gets any foothold on a Linux host, the path to root becomes much more reliable. That is why this matters. Researchers showed a deterministic 4-byte page-cache write and a 732-byte exploit that worked on the Ubuntu, Amazon Linux, RHEL, and SUSE versions they tested. Ubuntu is also warning that containerized deployments may face escape scenarios, although no public container-escape PoC had been published as of April 30. For a mature infrastructure team, this is easier to contain than the headline suggests. On Ubuntu, there is already a mitigation that disables algif_aead; many applications should fall back to userspace crypto, and unloading the module can avoid a reboot in some cases. But Canonical also warns of compatibility risk, and some running applications may still need a reboot. The real business issue is scale. Enterprise estates are not one clean fleet; they are a mix of distros, golden images, maintenance windows, and exceptions. As of May 1, Amazon Linux still shows Pending Fix, SUSE’s overall state is Pending, and Debian shows only some branches fixed. That is why I would worry less about standardized cloud fleets and more about long-lived edge and industrial environments. Not because every embedded Linux device is automatically exposed, but because these estates patch slowly and exposure lingers. SUSE’s affected list already includes Linux Micro and Real Time lines, which is a useful reminder that this reaches well beyond classic servers. #Linux #CyberSecurity #Cloud #RiskManagement https://lnkd.in/e-zEuFkG
To view or add a comment, sign in
-
CVE-2026-31431 (“Copy Fail”): Why Every Linux, Kubernetes, and DevOps Team Should Pay Attention Right Now CVE-2026-31431 (“Copy Fail”) is one of the more critical Linux kernel privilege escalation vulnerabilities disclosed recently. What makes this different is not just the vulnerability itself, but how reliably it can be exploited across modern Linux environments. This issue exists in the Linux crypto subsystem and involves unsafe interaction between: • AF_ALG sockets • splice() syscall • page cache handling Under specific conditions, an attacker can manipulate the in-memory behavior of privileged binaries such as sudo or su without modifying the file on disk and escalate to root. No file change. No hash mismatch. Minimal forensic footprint. Why this matters operationally This is not typically a remote exploit on its own. The real risk comes from what happens after initial access: Internet → vulnerable app / exposed service → low-privileged shell → kernel exploit → root This turns any minor foothold into full system compromise. Affected scope Broadly impacts Linux kernels from: 4.14 through 6.x (and early 7.x) Across major distributions: • Ubuntu • Debian • RHEL / Rocky / AlmaLinux • Amazon Linux • SUSE • Fedora • Arch • WSL2 Important: Do not rely on kernel version alone. Most vendors backport fixes always verify installed packages and running kernel after reboot. Why DevOps and Kubernetes environments are at higher risk Containers share the host kernel. If a container is compromised and the host kernel is vulnerable: container access → host root becomes feasible High-risk environments: • Kubernetes nodes • Docker hosts • CI/CD runners (Jenkins, GitLab) • Bastion hosts • Multi-user Linux systems Common mistakes that make this exploitable • Running privileged containers • Exposing docker.sock • Using hostPath mounts without control • Running containers as root • Weak SSH posture on bastion hosts • Delayed kernel patching and no reboot • Lack of seccomp / AppArmor / SELinux enforcement • Excessive capabilities (especially SYS_ADMIN) This vulnerability doesn’t create risk alone it amplifies existing operational gaps. What should be done immediately • Patch kernel packages across all environments • Reboot systems to activate patched kernels • Prioritize Kubernetes nodes, CI/CD runners, and bastion hosts • Audit container configurations (privileged, hostPath, root user) • Remove unnecessary Docker socket exposure • Enforce runtime security controls (seccomp, AppArmor, SELinux) • Monitor abnormal syscall activity and privilege escalation behavior Key takeaway In modern infrastructure, low-privilege access should now be treated as a potential full-root compromise scenario. Kernel vulnerabilities like this reinforce that containers are not security boundaries and patch latency is a real risk factor. #Linux #DevOps #Kubernetes #CloudSecurity #CyberSecurity #SRE #PlatformEngineering #LinuxSecurity #CVE202631431 #Containers #CloudNative
To view or add a comment, sign in
-
-
A compromised VS Code extension reportedly gave attackers access to roughly 3,800 internal GitHub repositories. The incident is another reminder that developer tooling itself has become part of the software supply chain attack surface. Many Linux build environments trust these tools implicitly. The reported intrusion path matters because VS Code extensions often inherit broad local access to terminals, repositories, SSH credentials, cloud CLIs, and CI/CD workflows. GitHub stated the malicious extension was removed and impacted secrets were rotated after detection. For Linux environments, the operational concern is less about a single compromised workstation and more about what trusted developer endpoints can reach downstream. That includes: - container build systems - GitHub Actions runners - deployment pipelines - package publishing workflows - infrastructure-as-code repositories - Kubernetes configuration stores In many environments, developer workstations quietly become privileged infrastructure nodes. For Linux administrators and infrastructure teams, this has practical implications. In practical terms, it is a good time to review: - extension allowlists for developer environments - SSH agent exposure on Linux workstations - GitHub token scopes and expiration policies - CI/CD runner isolation - package signing and artifact verification - provenance checks for internally published containers - audit visibility around developer tooling installs Supply chain defense increasingly depends on controlling trust relationships inside the engineering workflow, not just patching exposed servers. Article: https://lnkd.in/eW3a7CXt #LinuxSecurity #DevSecOps #SupplyChainSecurity #OpenSourceSecurity
To view or add a comment, sign in
-
🚨 Copy Fail: 732 Bytes to Root on Every Major Linux Distribution In April 2026, security researchers disclosed a critical Linux kernel vulnerability named “Copy Fail” (CVE-2026-31431) — a flaw so powerful that it allows any unprivileged user to gain root access using a tiny script. This bug affects almost every Linux distribution released since 2017, making it one of the most widespread and dangerous privilege escalation vulnerabilities in recent years. 🔍 What is Copy Fail? Copy Fail is a logic flaw in the Linux kernel’s cryptographic subsystem. It allows attackers to: Write controlled data into the page cache Modify read-only files in memory Execute privileged binaries with injected code Gain root (UID 0) access 👉 In simple words: A normal user can silently modify how system files behave without changing them on disk, then execute them as root. ⚠️ Why This Vulnerability is Dangerous 1. 🔓 Works Everywhere Same exploit works on Ubuntu, RHEL, SUSE, Amazon Linux, etc. No need for version-specific tweaks No compilation required 2. ⚡ 100% Reliable (No Race Conditions) Unlike older bugs like Dirty COW: No timing attack needed No crash risk Straightforward execution 3. 🧠 Extremely Small Exploit Only ~732 bytes Python script required Uses standard libraries (no dependencies) 4. 🕵️ Stealthy Attack Modifies memory (page cache), not disk File integrity tools (AIDE, Tripwire) detect nothing 🧠 Root Cause (Simplified) The bug is caused by a combination of: AF_ALG (Linux crypto interface) splice() (zero-copy file transfer) Faulty handling of scatter-gather lists What goes wrong? splice() passes file pages directly from kernel memory These pages are mistakenly treated as writable A crypto function (authencesn) writes beyond bounds Result → 4-byte overwrite in page cache 👉 That tiny overwrite is enough to: Modify a setuid binary (like /usr/bin/su) Inject code Execute it as root ⚙️ How the Exploit Works (High-Level) Open crypto socket (AF_ALG) Load target file into memory (via splice) Trigger controlled write into page cache Modify a privileged binary (e.g., su) Execute it → root shell ✔ No disk modification ✔ No alerts ✔ Immediate privilege escalation 🧨 Real Impact 💻 Affected Systems All major Linux distros since 2017 Cloud servers Containers / Kubernetes environments ☁️ Even Worse: Container Escape Page cache is shared across system Attack can break out of containers Compromise entire host 🤖 AI Discovered It This is one of the first major vulnerabilities discovered with AI-assisted analysis. Researchers used an AI tool called Xint Code It found this bug in ~1 hour 👉 This shows: AI is becoming a powerful tool for vulnerability discovery. 🛠️ Fix & Mitigation ✅ Official Fix Kernel patch removes unsafe “in-place” crypto operation Separates read and write memory regions
To view or add a comment, sign in
-
-
The adoption of Rust in the Linux kernel is aimed at reducing future vulnerability classes rather than just fixing individual bugs. This represents a proactive shift in how kernel security is approached. The article notes that instead of continuously patching memory-related flaws, Rust helps eliminate them at the source. By enforcing safe coding patterns, it reduces the likelihood of introducing new vulnerabilities during development. This is a long-term strategy rather than an immediate fix. Operators may not see immediate changes, but over time, kernel reliability and security posture should improve. However, legacy code remains a factor, meaning traditional risks still exist alongside newer protections. This creates a transitional period where both old and new risk models coexist. Most environments run a mix of legacy and modern components at any given time. For Linux administrators and infrastructure teams, this has practical implications. In practical terms, it is a good time to review: - Long-term upgrade strategies for kernel versions - Risk exposure from legacy components - Dependency on vendor or distribution kernel timelines - Internal policies for adopting newer, more secure builds Article: https://lnkd.in/eRGmt6zD #LinuxAdmins #KernelDevelopment #InfrastructureSecurity #OpenSource #DevOps
To view or add a comment, sign in
-
Reproducible builds expose inconsistencies between source code and compiled binaries in Debian packages. This creates a mechanism to detect software supply chain tampering at build time. The article highlights that reproducibility ensures “the same source code always produces the same binary output.” Any deviation signals environmental influence, injected code, or build-time manipulation. This is particularly relevant where build environments include: - timestamps - file ordering - compiler variations In real systems, many binaries are built in centralized pipelines or by upstream maintainers. If those environments are compromised, the resulting packages can differ from expected outputs without obvious signs. This affects: - package managers like APT - internal build systems - container image layers derived from Debian Most teams never compare rebuilt packages against upstream binaries. From a system hardening perspective, this is worth reviewing. In practical terms, it is a good time to review: - Build environment consistency in CI/CD pipelines - Deterministic build configurations for internal packages - Use of reproducibility testing tools - Controls around compiler and dependency versions Article: https://lnkd.in/eqaZ2KYu #DevSecOps #Linux #InfrastructureSecurity
To view or add a comment, sign in