{"id":404969,"date":"2026-04-30T12:50:10","date_gmt":"2026-04-30T12:50:10","guid":{"rendered":"https:\/\/www.newsbeep.com\/nz\/404969\/"},"modified":"2026-04-30T12:50:10","modified_gmt":"2026-04-30T12:50:10","slug":"nine-year-old-linux-kernel-flaw-enables-reliable-local-privilege-escalation-cve-2026-31431","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/nz\/404969\/","title":{"rendered":"Nine-year-old Linux kernel flaw enables reliable local privilege escalation (CVE-2026-31431)"},"content":{"rendered":"<p>Security researchers at Theori have disclosed a high-severity local privilege escalation (LPE) vulnerability (CVE-2026-31431) in the Linux kernel. <\/p>\n<p>The flaw, nicknamed \u201cCopy Fail\u201d, has affected virtually every major Linux distribution shipped since 2017, and a working proof-of-concept (PoC) exploit is <a href=\"https:\/\/github.com\/theori-io\/copy-fail-CVE-2026-31431\/blob\/main\/copy_fail_exp.py\" target=\"_blank\" rel=\"nofollow noopener\">publicly available<\/a>.<\/p>\n<p>About CVE-2026-31431<\/p>\n<p><a href=\"https:\/\/copy.fail\" target=\"_blank\" rel=\"nofollow noopener\">According to<\/a> Theori researchers, CVE-2026-31431 originates from the interaction of three reasonable kernel changes made over several years: the addition of authencesn (an AEAD cryptographic wrapper used by IPsec) in 2011, the introduction of AF_ALG AEAD socket support in 2015, and an in-place optimization added to algif_aead.c in 2017.<\/p>\n<p> It\u2019s a logic bug in the authencesn cryptographic template and allows an unprivileged local user to write 4 controlled bytes into the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Page_cache\" target=\"_blank\" rel=\"nofollow noopener\">page cache<\/a> of any readable file on a Linux system, and use that to gain root. <\/p>\n<p>The <a href=\"https:\/\/xint.io\/blog\/copy-fail-linux-distributions\" target=\"_blank\" rel=\"nofollow noopener\">technical write-up<\/a> is more detailed, of course.<\/p>\n<p>The good news is that CVE-2026-31431 exploitation requires local code execution as a regular user, which means that, by itself, it can\u2019t be exploited remotely. But \u201cchain it with anything that gives you that (web RCE landing in an unprivileged service account, an SSH foothold, a malicious PR on a CI runner) and you\u2019re root,\u201d the researchers pointed out.<\/p>\n<p>The bad news is that unlike the <a href=\"https:\/\/www.helpnetsecurity.com\/2016\/10\/21\/dirty-cow-linux-kernel-zero-day\/\" rel=\"nofollow noopener\" target=\"_blank\">Dirty Cow<\/a> and <a href=\"https:\/\/www.helpnetsecurity.com\/2022\/03\/08\/cve-2022-0847\/\" rel=\"nofollow noopener\" target=\"_blank\">Dirty Pipe<\/a> Linux kernel LPE vulnerabilities, Copy Fail can be exploited without having to win a race condition, and the same exploit will work on many systems.<\/p>\n<p>What to do?<\/p>\n<p>CVE-2026-31431 affects every Linux distribution that uses a kernel that has been released since 2017. <\/p>\n<p>The exploit script is tiny, doesn\u2019t rely on additional software being installed, will work on almost all Linux distributions released since 2017, will work each time it\u2019s run on a vulnerable system, doesn\u2019t change files on disk and won\u2019t be flagged by tools that monitor files for tampering, leaves no forensic trace on disk and, finally, it can break out of container isolation. <\/p>\n<p>For all of these reasons, the researchers advise admins to prioritize patching the vulnerability on multi-tenant Linux systems, CI runners, cloud SaaS running user code, and container clusters first, and then on standard Linux servers and single-user workstations:<\/p>\n<p><a href=\"https:\/\/www.newsbeep.com\/nz\/wp-content\/uploads\/2026\/04\/CopyFail-patching-prioritization-1.webp.webp\"><img decoding=\"async\" src=\"https:\/\/www.newsbeep.com\/nz\/wp-content\/uploads\/2026\/04\/CopyFail-patching-prioritization-1.webp.webp\" class=\"aligncenter\" alt=\"Linux LPE vulnerability CVE-2026-31431\" title=\"Advice on CopyFail patching prioritization advice (Source: Theori)\"\/><\/a><\/p>\n<p class=\"text-center\">CopyFail patching prioritization (Source: Theori)<\/p>\n<p>The researchers verified that Ubuntu 24.04 LTS, Amazon Linux 2023, RHEL 10.1, and SUSE 16 are vulnerable. Openwall Project founder Alexander Peslyak (aka Solar Designer) <a href=\"https:\/\/seclists.org\/oss-sec\/2026\/q2\/291\" target=\"_blank\" rel=\"nofollow noopener\">confirmed<\/a> that the exploit provided worked on Rocky Linux 9.7.<\/p>\n<p>Linux distros have been notified of the existence of the vulnerability in advance, and many have already released kernel packages that include <a href=\"https:\/\/github.com\/torvalds\/linux\/commit\/a664bf3d603dc3bdcf9ae47cc21e0daec706d7a5\" target=\"_blank\" rel=\"nofollow noopener\">the commit<\/a> that patched it. <\/p>\n<p>Admins\/users who, for whatever reason, can\u2019t update their distribution\u2019s kernel package, can temporarilty mitigate the risk by:<\/p>\n<p>Blocking AF_ALG socket creation via seccomp, or<br \/>\nBlacklisting the algif_aead module.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.newsbeep.com\/nz\/wp-content\/uploads\/2025\/10\/1761053168_680_devider.webp.webp\"\/><\/p>\n<p>Subscribe to our breaking news e-mail alert to never miss out on the latest breaches, vulnerabilities and cybersecurity threats. <a href=\"https:\/\/www.helpnetsecurity.com\/newsletter\/\" rel=\"nofollow noopener\" target=\"_blank\">Subscribe here!<\/a><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.newsbeep.com\/nz\/wp-content\/uploads\/2025\/10\/1761053168_680_devider.webp.webp\"\/><\/p>\n","protected":false},"excerpt":{"rendered":"Security researchers at Theori have disclosed a high-severity local privilege escalation (LPE) vulnerability (CVE-2026-31431) in the Linux kernel.&hellip;\n","protected":false},"author":2,"featured_media":404970,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[28037,208625,43748,111,139,69,208626,50848,50847,145,208627,50849,35931],"class_list":["post-404969","post","type-post","status-publish","format-standard","has-post-thumbnail","category-technology","tag-containers","tag-exploit","tag-linux","tag-new-zealand","tag-newzealand","tag-nz","tag-poc","tag-red-hat","tag-suse","tag-technology","tag-theori","tag-ubuntu","tag-vulnerability"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/posts\/404969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/comments?post=404969"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/posts\/404969\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/media\/404970"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/media?parent=404969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/categories?post=404969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/tags?post=404969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}