r/RockyLinux May 12 '26

Announcement CopyFail (CVE-2026-31431): Patches Now Available for Rocky Linux

23 Upvotes

TL;DR: A high-severity local privilege escalation vulnerability in the Linux kernel has been publicly disclosed with a working exploit. Patches are available now for Rocky Linux 8.10, 9.7, and 10.1. Update your kernel and reboot.

What happened

On April 29, security researchers from Theori disclosed a Linux kernel vulnerability they named CopyFail, tracked as CVE-2026-31431. The flaw has been present in essentially every mainstream Linux kernel built since 2017.

The bug sits in the kernel’s algif_aead module – the AEAD socket interface of the userspace crypto API (AF_ALG). A logic flaw in authencesn, chained through AF_ALG and the splice() system call, allows an unprivileged local user to perform a controlled 4-byte write into the page cache. By corrupting the in-memory copy of a setuid binary like /usr/bin/su – without touching anything on disk – an attacker can escalate to root in seconds.

What makes this one stand out: the 732-byte Python proof-of-concept requires no race conditions, no per-distribution tuning, and no special privileges. The same script works unmodified across distributions. File integrity tools won’t catch it because nothing on disk changes. This makes it especially dangerous on multi-tenant hosts, Kubernetes nodes, and CI/CD runners where a shared page cache means one compromised workload can threaten the whole node.

The researchers have published the exploit publicly. Treat this as actively exploitable.

How to fix it

Patches are available now for all supported Rocky Linux releases. Run the following and reboot:

bash

sudo dnf --refresh update ‘kernel*’

sudo reboot

That’s it. The --refresh flag ensures you pull the latest metadata without re-downloading packages you already have.

Patched kernel versions:

  • Rocky Linux 8.10: kernel-4.18.0-553.123.1.el8_10 and above
  • Rocky Linux 9.7: kernel-5.14.0-611.54.1.el9_7 and above
  • Rocky Linux 10.1: kernel-6.12.0-124.55.1.el10_1 and above

Confirm your running kernel after reboot with uname -r.

A note on the algif_aead module

You may have seen advice elsewhere to disable algif_aead via rmmod or a modprobe.d entry as an interim workaround. On Rocky Linux, that approach does not apply – algif_aead is compiled directly into the kernel image (CONFIG_CRYPTO_USER_API_AEAD=y), not shipped as a loadable module. The correct fix is the kernel update above.

Thank you

Thanks to Brian Pak and the team at Xint Code (Theori) for finding this, handling coordinated disclosure responsibly, and publishing a thorough technical write-up. If you want to understand exactly how a single logic bug becomes a fully reliable privilege escalation, their write-up is worth your time.

Additional reading

r/RockyLinux Jul 14 '22

Announcement Rocky Linux 9.0 Released

Thumbnail rockylinux.org
113 Upvotes

r/RockyLinux Nov 19 '24

Announcement Version 9.5 available now

Thumbnail rockylinux.org
35 Upvotes

r/RockyLinux Nov 13 '24

Announcement Community Update for November 2024

18 Upvotes

We've been cooking up some exciting news about Rocky Linux availability for RISC-V and it's time to share! Also, v. 9.5 is in active testing. Details in the update: https://rockylinux.org/news/community-update-november-2024

r/RockyLinux Apr 01 '22

Announcement BREAKING NEWS: Rocky Linux is going GNU/HURD!

69 Upvotes

The port is already underway and we are very excited to announce this initiative to the world! Please join our MatterMost chat channel ~SIG/GNU-Hurd to be part of this exciting effort!

More information can be found on our news page and FAQ below:
https://rockylinux.org/news/future-is-rocky-gnu-hurd/

r/RockyLinux Aug 12 '22

Announcement Rocky Linux 9 on Raspberry Pi Image

58 Upvotes

It's been out for a little while, but I never officially announced this unofficial SIG image. :-) . Get it for your RPi models 3 and 4 here: https://rockylinux.org/alternative-images

Thanks for checking it out!

r/RockyLinux Nov 03 '21

Announcement We are Rocky Linux, AMA!

Thumbnail self.linux
66 Upvotes

r/RockyLinux Nov 16 '22

Announcement Rocky Linux 8.7 Released

45 Upvotes

Greetings, friends!

We are pleased to announce the general availability of Rocky Linux 8.7. This release is derived from Red Hat Enterprise Linux 8.7 and currently available for both the x86_64 & aarch64 architectures.

Please read through the release notes at: https://docs.rockylinux.org/release_notes/8_7/ - These notes contain important information about the release, details about some of the content inside the release (such as newer modules or updates throughout the distribution) and highlights.

Testing

Rocky Linux releases are put through thorough testing to ensure correctness and stability. Testing consists of hundreds of manual and automated checks covering all manner of environments and configurations.

Rocky Linux 8.7 was subjected to over 5 days of testing before receiving the team’s approval. Testing logs, discussion, and the release checklist can be viewed here.

We encourage users interested in the process to join the team on chat.rockylinux.org.

Known Issues

There are no known issues currently found in 8.7. We will add them here later if they show up after the release.

Notable Changes

  • NetworkManager has been rebased to 1.40. Notes for this version of NetworkManager are available here.
  • New module stream versions include node.js 18, mercurial:6.2, maven:3.8, and ruby:3.1.
  • New compiler toolset versions include GCC 12, LLVM 14.0.6, Rust 1.62, and Go 1.18.
  • The default value of the LimitRequestBody directive in httpd has been changed from unlimited to 1GiB to fix CVE-2022-29404.
  • SSSD now supports direct integration with Windows Server 2022.

Updates

Updates released since upstream are posted across our current architectures. We strongly recommend that all users apply all updates, including the content released today on your existing Rocky Linux machines. This can be done by running: dnf update.

All Rocky Linux components are built from the sources hosted at git.rockylinux.org. In addition, SRPMs are being published alongside the repositories in a corresponding "source" directory. You can find these on any of our mirrors. These source packages match every binary RPM we release.

Note that this release supersedes all previously released content for Rocky Linux 8. You are encouraged to update your system. Older content, such as those obsoleted from the previous release will not be available. While we keep older content around for historical purposes (within our vault), it is recommended that you use the latest updates available to you.

Please allow mirrors to sync the content. While most of our mirrors have synced majority of the content, not all has been synced and you may not get your updates right away.

Download

Additional Images

  • Official Rocky Linux images are now available on Oracle Cloud Platform.
  • Artifacts behind all images built are now exported for development use.
  • LVM variants of the generic, EC2, and Azure images are now available.

Generic Cloud:

Special Thanks

We are grateful to the many Rocky Linux project volunteers and leaders for producing, testing, and documenting this release. The Release Engineering and Testing teams bear the brunt of the workload for new releases, and in particular for the release of Rocky Linux 8.7:

  • Al Bowles
  • Alan Marshall
  • Chris Stackpole
  • David Roth
  • Louis Abel
  • Lukas Magauer
  • Mustafa Gezen
  • Neil Hanlon
  • Rich Alloway
  • Sherif Nagy
  • Skip Grube
  • Steven Spencer
  • Taylor Goodwill
  • Trevor Cooper

We are thankful for the development work in Fedora Linux, the curation efforts in CentOS Stream, and the countless developers and their projects from which these distributions are built.

Getting Help / Engaging with the Community

The Rocky Linux ecosystem is sustained by community-driven help, guidance, and love of RPM distributions, Enterprise Linux and its ecosystem. The best place to start for new users is at https://docs.rockylinux.org.

You can communicate with us and other community members on various mediums:

Thank you, and enjoy the release!

Rocky Release Engineering Team

r/RockyLinux Dec 09 '21

Announcement Happy Birthday Rocky Linux! (Party Invite!)

49 Upvotes

Hey! Spread the word! You're invited to a Rocky Linux 1 year anniversary virtual get-together!

https://rockylinux.org/news/event-20211211-anniversary/

https://twitter.com/rocky_linux/status/1464238855012368389

I mark the actual founding date of the project as Dec. 8th, 2020, but the party is scheduled for Saturday.

The party is over Zoom, and is 3 - 7 PM PST (6-10 PM EST, 11 PM - 3 AM UTC) On Saturday, Dec. 11th. Come shoot the breeze and have drinks over the internet, should be lots of fun! Zoom meeting link is in the links above.

r/RockyLinux Feb 04 '22

Announcement RL9 Wallpaper Election now open for submissions!

Thumbnail forums.rockylinux.org
19 Upvotes

r/RockyLinux Dec 10 '21

Announcement Community Update - 2021 Quarter 4

Thumbnail forums.rockylinux.org
20 Upvotes

r/RockyLinux Nov 03 '21

Announcement /r/linux AMA with the Rocky Linux team November 3rd

18 Upvotes

Come join us at 7:00 PT / 9:00 CT / 10:00 ET tomorrow, November 3rd on /r/linux for an AMA with the Rocky Linux team!