This report questions `dirtyfrag`'s vulnerability on Gentoo Linux, specifically kernel 6.18.25-gentoo on x86_64. The exploit failed with `rc=1`. This indicates varying exploitability across Linux distributions and kernel versions. For security product vendors, this highlights the challenge of ensuring consistent exploit efficacy across a fragmented Linux ecosystem. Customers require clear vulnerability matrices and reliable exploit performance. Inconsistent results, like this Gentoo case, create uncertainty and increase validation overhead for security teams, impacting adoption of security tools that rely on specific exploit chains.
after some research i think its related to this it must be loaded and activated for the exploit to work : ``` $ grep CONFIG_AF_RXRPC /boot/config-$(uname -r) # CONFIG_AF_RXRPC is not set ``` it must be : ``` $ grep CONFIG_AF_RXRPC /boot/config-$(uname -r) CONFIG_AF_RXRPC=m CONFIG_AF_RXRPC_IPV6=y ```
mschilli87
• May 8, 2026
I don't think so. [According to the README, the RXRPC part is only required to circumvent an AppArmor policy in Ubuntu](https://github.com/V4bel/dirtyfrag#why-did-you-chain-two-vulnerabilities), which I understand as Gentoo systems without RXRPC are vulnerable as long as they don't come with a similar extra layer via AppArmor or the likes. Worse, at least on my Gentoo system, the ESP parts were configured as built-in, not modules, making the workaround via modprobe impossible. Thus, I had to re-configure, build, and install my kernel and reboot to mitigate. I did not check if this was a default configuration or something I specificially did.
tang-yikai
• May 8, 2026
> Worse, at least on my Gentoo system, the ESP parts were configured as built-in, not modules You may try the ebpf way to mitigate, it's faster and does **not** require a full rebuild of your kernel.
degreaser
• May 8, 2026
Mixed on Gentoo. So far I've had one exploit work and two attempts on other machines failed. Various kernels and emerge states. Mitigation worked on the exploited machine. All are Gentoo Base System release 2.18
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from V4bel/dirtyfrag.
Seems once a host as run the exploit, it won't stop until rebooted. ``` [tdockendorf@OMIT dirtyfrag]$ ./exp dirtyfrag: failed (rc=1) ``` On mitigated host that hadn't been exploited yet.
jine • May 7, 2026
Correct - i can confirm that, exploited hosts / tests the mitigation (removing/disabling esp4 esp6 and rxrpc) do need a reboot. Just removing the kernel modules without rebooting does not affect al...
cambid • May 7, 2026
Can you try to drop the page cache after the exploit? This should work without a reboot. ``` sudo echo 3 > /prox/sys/vm/drop_caches ```
It does not on any of the devices I have tested. But it does not mean they are not affected, just that this specific code does not work for those targets. They might still be vulnerable.
rouault • May 7, 2026
> But it does not mean they are not affected, just that this specific code does not work for those targets the particular exploit contains x86_64 binary code (see https://github.com/V4bel/dirtyfrag...
rollerozxa • May 7, 2026
[Comment thread on HN about it](https://news.ycombinator.com/item?id=48054201). The Linux kernel used by Android may be hardened to make it not possible (I don't know if Copy Fail was ever possible...
Exploitability and compilation on EL7 (CentOS 7.9)
Top Replies
maxpoulin64 • May 7, 2026
That kernel is way too old for that. The bug was introduced in a commit from 2017-01-17, your kernel is from 2013.
flakrat • May 7, 2026
It's true that 3.10 was released in 2013 (with LTS thru 2017 I think). That said, Red Hat does a lot of back porting into their EL kernels and 3.10.0-1160 was released in 2020 (still old) with end ...
maxpoulin64 • May 7, 2026
They usually backport security fixes, not entire features. If it's not essential, it's not backported. I can't see why they would have backported that stuff unless it was breaking something else im...
It's as bad as getting root in a container. You'd still need to chain a container escape exploit. They tend to be easier to pull off with root access, but without a current container escape exploit...
ChrisTX • May 7, 2026
Depends on the setup. Same as with copy.fail, you could use this to corrupt the kernel memory view of any file that can be opened. The NVIDIA container integration for CUDA for instance makes some ...
Percivalll • May 8, 2026
I have tested it on GKE and ACK clusters. All failed. On ACK default node image: user.max_user_namespaces is set 0, so unprivileged user can't use CLONE_NEWUSER unshare. On GKE default node image (...
Yeah. I could touch a file that got root permissions.
neofutur • May 7, 2026
yes here too mitigation : sh -c "printf 'install esp4 /bin/false\ninstall esp6 /bin/false\ninstall rxrpc /bin/false\n' > /etc/modprobe.d/dirtyfrag.conf; rmmod esp4 esp6 rxrpc 2>/dev/null; true" wor...
danielzgtg • May 8, 2026
Tracked at https://bugs.launchpad.net/ubuntu/+source/kmod/+bug/2151831
Frequently Asked Questions
Market intelligence mapped to dirtyfrag (exploit vulnerability).
What is the technical positioning of dirtyfrag (exploit vulnerability)?
Based on our AI analysis of the original developer request, its primary technical positioning is: Vulnerability status on Gentoo Linux
How is the developer community reacting to dirtyfrag (exploit vulnerability)?
Yes, we have tracked 1 direct responses and active debates regarding this specific topic originating from GitHub Issue.
What are the foundational technologies related to dirtyfrag (exploit vulnerability)?
Our proprietary extraction maps dirtyfrag (exploit vulnerability) to adjacent architectural concepts including Gentoo Base System, x86_64, Intel Xeon, GNU/Linux.
Engagement Signals
1
Replies
open
Issue Status
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like x86_64 and GNU/Linux by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.