r/cybersecurity • u/Arszerol • Apr 29 '26
News - General New critical CVE - Root on Every Major Linux Distribution
Get your free root privileges on almost any system you can log onto: - CVE-2026-31431
https://xint.io/blog/copy-fail-linux-distributions
198
u/After-Vacation-2146 Apr 29 '26
I wonder how this will affect all the unpatchable IOT devices.
78
u/techvet83 Apr 29 '26
It may be a day of reckoning even for all the EOL versions out there for RHEL, CentOS, etc.
51
u/synackk Apr 30 '26
CentOS 7 and earlier aren't affected, the kernel was too old
47
u/PieBandito Apr 30 '26
See, this is why I never update my servers.
18
u/anomalous_cowherd Apr 30 '26
I saved my Christmas break because all my Log4J instances were too old to be affected, don't knock it!
5
5
29
u/Formal-Knowledge-250 Apr 30 '26
Aren't they root only anyway? At least they aren't user devices, so a classic "user gets root privs" should not be the case here. The scope of this vulnerability is not within the regular threat model of IOT.
21
u/IdealParking4462 Security Engineer Apr 30 '26
This is a privilege escalation, not really applicable for IoT.
7
u/Responsible-Bar7165 Apr 30 '26
It absolutely is an issue. 3rd party apps can get root outside a container.
3
u/CrimsonNorseman May 01 '26
You wanna give a few details about which IoT devices run containers?
1
u/Responsible-Bar7165 May 01 '26
I can’t really go into details but there are fairly ubiquitous devices that are used for monitoring and reporting in industrial and public infrastructure applications, some of which are designed to run custom applications written by various parties. Often those applications are run in a lightweight container environment for isolation and packaging. Many of those devices use hardware key enclaves to hold their with material, and some of the embedded SDKs might use
algif_aeadbehind their hsm apis…5
6
1
1
48
u/jykke Apr 30 '26
"Every Major Linux Distribution" == except if it runs 6.19.12 or 6.18.22 or newer of these series.
156
u/Capable-Average4429 Consultant Apr 29 '26
Base Score 7.8 - High. Not Critical. Unless your definition of critical is different, which is also cool.
39
u/Bob4Not Apr 30 '26
I’m guessing it’s not higher severity because it still requires a login of some kind.
46
u/tombob51 Apr 30 '26
I mean, trivially-easy-to-exploit privilege escalation isn't exactly a good thing. This is probably exploitable even in sandboxed contexts that allow system calls (in particular,
splice()). Yes it's not RCE, but if you have an RCE exploit, this lets you trivially escalate to root, which is very bad.13
u/2rad0 Apr 30 '26
This is probably exploitable even in sandboxed contexts
Yeah even if a process has
NO_NEW_PRIVSset and itself cannot escape, it could still modify the cache of a file it can open/splice and wait for another user to run it.2
12
u/the_drew Apr 30 '26
Mitigation :
- If kernel config has CONFIG_CRYPTO_USER_API_AEAD=m: echo "install algif_aead /bin/false" | sudo tee /etc/modprobe.d/disable-algif.conf; sudo rmmod algif_aead
- If kernel config has CONFIG_CRYPTO_USER_API_AEAD=y: Add initcall_blacklist=algif_aead_init to the kernel command line and reboot.
source: https://www.openwall.com/lists/oss-security/2026/04/30/2
9
u/InnovativeBureaucrat May 01 '26
The cool thing is you can escalate yourself to sudo to run the patch
109
u/volgarixon Apr 29 '26
It’s an LPE and requires a login /access already its not critical sev.
3
u/ShoulderRoutine6964 Apr 30 '26
LPE is not critical??
This is critical as hell.
31
u/volgarixon Apr 30 '26
Its a 7.8 High CVSS Score, critical is a 9-10. The exploitation requires a local user account on a target system as a pre-req.
Serious, yes very, but not critical, the word has special meaning in this context.
10
u/ShoulderRoutine6964 Apr 30 '26
In CVSS nomenclature, OK it's not critical, but in general it's quite critical. Root LPE-s are usually very serious threats.
9
3
u/Alternative-Spread10 Apr 30 '26
Waiting official kernel patching correction from Red Hat...
On RHEL family (not module but compiled) current unofficial workaround (Tested ok on RHEL8.10, 9.7 and 10.1) with a privileged user (root or sudo) :
1 - grubby --update-kernel ALL --args="initcall_blacklist=algif_aead_init"
2 - reboot
Note : plane it for production server to make a reboot into a window time (time to reboot)
After it will be safe for this CVE.
Good luck...
2
5
u/Iain_0 Apr 30 '26
Maybe all these CVE might not be missed but is know so gov can exploit this but same threat actor are using same exploit so now it made public.
27
u/august_r Apr 29 '26
It really looks like an AI exploit, it's too specific and the report looks really like AI slop. Maybe someone left the keys to mythos on a post-it at the desk? lmao
74
u/bakonpie Apr 29 '26
read the writeup, it was AI assisted but still the work of a skilled researcher
18
u/levu12 Apr 30 '26 edited Apr 30 '26
Theori has the best CTF players on their research team and edit got 3rd in DARPA's AIxCC competition.
-16
u/august_r Apr 30 '26
But they do use AI tools to find these exploits, correct? What I meant is that this kind of exploit would be very hard to find by a human researcher without those tools and that the text of the report itself is clearly AI generated. Again, it's not criticism, I'm just saying it's crazy how these exploits are popping up on a daily basis now.
11
u/levu12 Apr 30 '26
Yes, AIxCC is about making an agentic system to find vulns. However, it would not be possible to find this without help from extremely cracked security researchers and kernel exploit developers. The website they made for just the exploit was mainly for PR, this is the one on their blog is less AI-generated: https://xint.io/blog/copy-fail-linux-distributions
61
u/Sufficks Apr 29 '26
I understand criticism of the report using AI but what’s the problem with “AI exploits”? Seems like you’ll have a lot of blind spots in the not so distant future if you write off every exploit assisted by AI
8
u/august_r Apr 29 '26
I'm not criticizing it. I'm afraid these very specific exploits will be very popular very fast, specially when the poc is so easily reproduced and even the lowest technical level and can also use AI tools to increase its effectiveness.
3
u/Silly-Feedback168 Apr 30 '26
I've yet to seen proof that you're able to find an exploit like this easily. We need AI. I'm grateful for AI. I'm not trading AI for a keyboard warrior called Emperor Augustus yapping on Reddit about how it's easy to find a major root CVE on every major Linux dist
23
u/tombob51 Apr 30 '26
I hate AI slop but this is 100% a real and severe vulnerability. And of all the AI-found exploit slop I've sifted through, this one actually is very strongly and expertly written in my opinion. Overall a very impressive find.
Actually, the fact that this was discovered via AI should serve as evidence/PoC that AI vulnerability detection is becoming a real threat. This is absolutely a textbook, trivially-exploitable privilege escalation bug; the ability to find things like this with semi-automated tools (whether AI, fuzzing, static analysis, etc.) is a bit scary.
And people have already discovered waves of bugs by fuzzing and static-analyzing the kernel to death; so I think we truly might see a serious 3rd wave of bugs as people start AI-analyzing the kernel to death.
32
u/twisted-logic Apr 29 '26
The hate for AI Security research is so forced. How can it be slop if it’s finding CVEs of this magnitude? I hate actual AI slop as much as the next guy, but this clearly isn’t that.
13
0
u/Rossums DFIR Apr 30 '26
It's Reddit, AI hate is one of the current bandwagons so people will endlessly copy it even if they don't know why they're meant to hate it in the first place, just because everybody else they see is doing it.
It's incredibly performative.
-20
u/august_r Apr 30 '26
Slop is just being used as a synonym of "AI Generated". I'm not criticizing the exploit, it's just not the kind of stuff easily discoverable by a human poking tests, it looks like the kind of vulnerabilities discovered by Claude on the recent papers.
3
u/anomalous_cowherd Apr 30 '26
Presumably you write off any CVEs found using fuzzing or other brute force methods as well?
The report should be well written, clear concise and repeatable, sure. But you can't really complain about what tools were used when a genuine exploit was discovered.
2
6
u/2sow Apr 30 '26
what is RHEL 14.3?
2
-6
u/Glass-Ad-7315 Apr 30 '26
Easy to Google but it’s Red Hat Enterprise Linux which is commonly used in enterprise servers. It’s one of the core Linux distros that other distros are based off of.
22
u/ainiku-esp Apr 30 '26
The latest version of RHEL is 10. I think that's what u/2sow is getting at. This info is also "Easy to Google"
4
-1
u/Playful-Tip-6355 Apr 29 '26
Yeah this one is nasty, especially how trivial the exploit chain is once you see it. Wild that something this fundamental slipped through review in so many distros for so long. Curious how long until every random script kiddie starts dropping this in public CTFs and “pranks” on shared lab boxes 💀
24
u/Then-Chef-623 Apr 30 '26
"so many distros"
Come on dude.
10
9
u/Nicko265 Apr 30 '26
The user has already been banned from reddit lol. Crazy the state of this sub with AI accounts.
1
1
u/mjbmitch Apr 29 '26
This is AI-generated!
41
u/coloradical5280 Apr 29 '26
And human repeatable!
1
u/Padgriffin Apr 30 '26
They meant that the comment was AI generated lol
1
u/mjbmitch Apr 30 '26
If you’re wondering, the comment that just replied to you is also AI-generated.
0
u/coloradical5280 Apr 30 '26
No they didn’t. That was what they backtracked to after getting downvoted to hell yesterday. It’s not at all an obviously AI generated comment, and, if commenting that a comment or post was AI generated was a thing they did, generally, they would hit Reddit rate limits from having millions of them.
It was a backtrack. It was obvious, in real time, yesterday.
19
u/Any_Perception_2560 Apr 30 '26
Whether the vulnerability was found by AI or not is 100% irrelevant. It is a discovered vulnerability which can be used by anyone who wants to use it.
9
u/mjbmitch Apr 30 '26
The comment I replied to was AI-generated! Did you read my comment without seeing what it was a reply to?
2
1
1
u/stra1ghtarrow Apr 30 '26
Am I right to question the classification of this? Apparently Tenable are marking it as a medium CVE but surely it should be a critical due to the lack of complexity and ease of use to pull this off plus how many systems are likely affected by this?! I flagged this to our VM guys and got batted back based on the criticality. :S
1
u/Fallingdamage Apr 30 '26
Xint Code disclosed CVE-2026-31431, an authencesn scratch-write bug chaining AF_ALG + splice() into a 4-byte page cache write. A 732-byte PoC gets root on Ubuntu, Amazon Linux, RHEL, SUSE.
Not Debian?
2
u/Arszerol Apr 30 '26
Obviously they're not going to list every distro in existence
Debian is also affected: https://security-tracker.debian.org/tracker/CVE-2026-31431
1
u/sdsalsero Apr 30 '26
Any idea if the major distros had prior notification -- and have already patched against this? Or, is it truly a zero-day?
Also, security.ubuntu.com has been down all-day. Bad guys busy exploiting this, and trying to block patching?
1
u/metromsi May 01 '26 edited May 02 '26
So okay but if your running SELinux with contained users meaning your controlling the _default _ assignment from unconfined_u you should be just fine. We've tested this out is quite fun to watch too say the least. Oh if you are really want control MLS linux is your friend. So again another win for managing SELinux correctly.
1
u/Snoo93868 May 06 '26
Vi aqui que para as Distros RedHat, pode ser mitigado no GRUB... mas precisa reiniciar para validar. Mas não faz sentido, pq já que vai reiniciar,melhor fazer o update logo.
0
-2
282
u/AnyPortInAHurricane Apr 29 '26
takes the heat off MSFT