r/linuxadmin • • Apr 29 '26

Copy Fail — 732 Bytes to Root any Linux distribution shipped since 2017

https://copy.fail/
194 Upvotes

80 comments sorted by

View all comments

106

u/deeseearr Apr 29 '26

"CVE-2026-31431" if you're one of those people who would rather actual know what the problem is instead of seeing the fancy logo and press-release-friendly name. There are several detailed discussions of the exact flaw that was exploited and it was found by a human researcher who knew what they were looking for -- This isn't an AI doomsday bug.

The issue was fixed about a month ago. Patch your stuff.

23

u/rmullins_reddit Apr 30 '26

It might be fixed at that level but its not in vendor patches yet. both redhat and AWS Linux both show no fix yet as of this comment.

5

u/libertyprivate Apr 30 '26

Block the kmod and call it a day?

1

u/your_mind_aches May 01 '26

Do you have a pastable command?

4

u/libertyprivate May 01 '26

It was released as the workaround in the official release

echo "install algif_aead /bin/false" > /etc/modprobe.d/disable-algif-aead.conf ; rmmod algif_aead 2>/dev/null

4

u/rmullins_reddit May 01 '26

Note that this command doesn't work on redhat because its a builtin module.

Redhat has released a separate mitigation that requires a kernel bootline argument. Details are on their cve listing.

2

u/libertyprivate May 01 '26

For redhat: edit your grub (or whatever you use to load your kernel) configuration to have one of the following arguments: initcall_blacklist=algif_aead_init initcall_blacklist=af_alg_init initcall_blacklist=crypto_authenc_esn_module_init

(Note: I don't use redhat, but redhat published this)

1

u/your_mind_aches May 01 '26

Wait so, it wouldn't work on Fedora either, right?

2

u/mishrashutosh May 02 '26

fedora doesn't use old kernels that are vulnerable. afaik all supported versions of fedora are currently on 6.19 or later kernel.

10

u/mlrhazi Apr 29 '26

hmmm I just did yum update on a RHEL8 server and the python script still works after that! so not fixed yet?

13

u/deeseearr Apr 29 '26

I usually check with the vendor instead.  Saves a lot of time that way.

https://access.redhat.com/security/cve/cve-2026-31431

6

u/mlrhazi Apr 29 '26

so not fixed.

7

u/mlrhazi Apr 29 '26

to clarify, am saying that when you say:

> The issue was fixed about a month ago. Patch your stuff.

Well... not really! how do I fix my stuff? replace vendor provided kernel with my own?

→ More replies (18)

-1

u/ult_avatar Apr 30 '26

you can apparently rmmod the offending module

5

u/egbur Apr 30 '26

that's not a fix, the module can be loaded again. And in RHEL-based distros it's likely builtin so the only way to disable it entirely is via kernel boot args

1

u/ult_avatar Apr 30 '26

you can write a .conf file into modprobe.d

install <module_name> /bin/true

for any module, that disables it completly

5

u/egbur Apr 30 '26

not if the module is builtin

→ More replies (3)

0

u/[deleted] Apr 30 '26

[deleted] — view deleted comment

1

u/WillChangeIPNext May 08 '26

Got into my systems how? Certainly not through this local privilege escalation.

→ More replies (1)

2

u/samamanjaro Apr 30 '26

lol typical dismissive and flippant comment

-1

u/Wartz Apr 30 '26

Basically some "AI first security team" is trying to drum up marketing for themselves by memeing on an already fixed bug that doesn't necessarily cause much stir, as high level as it is.

Its fucking stupid. I hate the AI world.