Mitigating "Copy Fail" and "Dirty Frag" vulnerabilities on DietPi

Please read this info about mitigating CVE-2026-31431 aka “Copy Fail” on DietPi:

There was a third related flaw reported. Fragnesia: pocs/fragnesia at main · v12-security/pocs · GitHub

https://github.com/v12-security/pocs/tree/main/fragnesia#mitigation

Mitigation

Same as dirtyfrag.

All versions affected by dirtyfrag are affected.

Any versions without this patch: netdev - [PATCH net] net: skbuff: preserve shared-frag marker during coalescing, so Linux kernels before May 13 2026.

So I guess if you have the patch you are also safe from that bug.

Never ending story :smile:.

I don’t think so (unless you blacklisted the kernel modules, of course): It affects the same kernel modules, but the patch for Dirty Frag does not fix Fragnesia. Our Linux 7.0 and 6.18 builds do ship with the modules, since they were patched to mitigate Dirty Frag (and Copy Fail).

It mentions:

Any versions without this patch: netdev - [PATCH net] net: skbuff: preserve shared-frag marker during coalescing, so Linux kernels before May 13 2026.

The problem is: I do not see this patch in any upstream branch, so this sentence is contradicting. If the linked patch is needed, all Linux branches are vulnerable, and it would be a premature disclosure. Basically raised here: What happened to the information embargo? · Issue #5 · v12-security/pocs · GitHub

But in another issue, people have a hard time to replicate it on kernel versions which have Dirty Frag patched, also since there seems to be at least one bug in the test/exploit program. We need to have a close eye on this, and Linux commits. There was a Linux release 4 hours ago, but it does not contain the patch mentioned in the Fragnesia repo.