Live data from Hacker News

Dirty Frag: Universal Linux LPE

openwall.com

81–90 of 370 posts

Re: Dirty Frag: Universal Linux LPE

#81
post #77
post #60

Earlier quoted context omitted.

I don't think the copy.fail people understood the issue they found, as is evident by the heavy focus on AF_ALG/aead_algif, which is essentially "innocent" as we're seeing here. I think LLMs are great for vulnerability discovery, but you need to not skimp on the legwork and understanding what even you just found there.

Right but without the LLM the bug doesn't get found at all.

Yes, I agree. I'm not the GP poster.

Re: Dirty Frag: Universal Linux LPE

#82

Here's a general question, are these vulnerabilities hitting Linux more than BSDs due to hit being a larger target or because its architecture is less secure by design?

Larger target.

in many ways:

- more people are using it (assuming macos is in its own bucket perhaps) - bigger surface areas (esp NetBSD has in my limited understanding just less stuff that can go boom) - more churn, ie more new stuff than can be buggy released more often.

Of course, because of that, more eyes are on Linux, so I'm not sure where that security tradeoff is.

Re: Dirty Frag: Universal Linux LPE

#83
post #30

Linux is a single user system and should be treated as such. Run your services as root. Don't rely on unix user primitives for security.

This carries the same energy as "People will break into your car no matter what, so just leave your doors unlocked."

The energy here is "so don't leave anything valuable in your car".

Re: Dirty Frag: Universal Linux LPE

#84

"Because the embargo has now been broken, no patches or CVEs exist for these vulnerabilities." link: https://github.com/V4bel/dirtyfrag detailed writeup: https://github.com/V4bel/dirtyfrag/blob/master/assets/write-... importantly: " Copy Fail was the motivation for starting this research. In particular, xfrm-ESP Page-Cache Write in the Dirty Frag vulnerability chain shares the same sink as Copy Fail. However, it is t…

You can't sudo echo and redirect from the non-sudo shell like that. echo 3 | sudo tee /proc/sys/vm/drop_caches or sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches' Also fixed your typo in /proc...

Also try:

     sudo sysctl -w vm.drop_caches=3

Re: Dirty Frag: Universal Linux LPE

#85
If this indeed works on all major distributions, I just continue to be amazed by how irresponsible the maintainers are. We're talking about optional kernel functionality that's presumably useful to something like This feels like the practice of Linux distros back in 1999 when they'd ship default installs with dozens of network services exposed to the internet. Except it's not 1999 anymore.

Re: Dirty Frag: Universal Linux LPE

#86

Here's a general question, are these vulnerabilities hitting Linux more than BSDs due to hit being a larger target or because its architecture is less secure by design?

AFAIU, Linux and the BSDs have basically the same architecture - the BSDs just value secure and simple, understandable code more highly than Linux vs features and performance.

This is really not a correct statement beyond the fact that both are a type of Unix.

Re: Dirty Frag: Universal Linux LPE

#87
post #59
post #22

Earlier quoted context omitted.

Its not the reporter's fault that other people broke the embargo.

They don't have to publish a working exploit as soon as the embargo is broken, though.

Perhaps, but if the exploit code is published folks can double-check that they implemented the mitigations properly.

If there's no PoC, how can you really be sure?

Re: Dirty Frag: Universal Linux LPE

#88

If this indeed works on all major distributions, I just continue to be amazed by how irresponsible the maintainers are. We're talking about optional kernel functionality that's presumably useful to something like This feels like the practice of Linux distros back in 1999 when they'd ship default installs with dozens of network services exposed to the internet. Except it's not 1999 anymore.

> ... but is enabled by default?... why?

We could also wonder why XZ was linked to SSH... But only on systemd-enabled distros (which is a lot of them).

Just... Why?

And then make sure to call to incompetence, instead of malice and say non-sense like "Sure, it only factually affects systemd distros, but this is totally not related to systemd". All I saw though was a systemd backdoor (sorry, exploit).

Now regarding copy.fail that just happened: not all maintainers are irresponsible. And some have, rightfully, bragged that the security measures they preemptively took in their distros made them non vulnerable.

But yup I agree it's madness. Just why. And Ubuntu is a really bad offender: it's as if they did a "yes | .." pipe to configure every single modules as an include directly in the kernel.

"We take security seriously, look we've got the IPsec backdoor (sorry, exploit) modules directly in the kernel". "There's 'sec' in 'IPsec', so we're backdoored (sorry, secure)".

Re: Dirty Frag: Universal Linux LPE

#89
post #48

can this also be used to obtain container escape ?

If your container has setuid binaries and these modules are loaded, yes.

And your containers need to have specific capabilities enabled, which aren't by default on kubernetes and podman.

Re: Dirty Frag: Universal Linux LPE

#90
post #83

Earlier quoted context omitted.

This carries the same energy as "People will break into your car no matter what, so just leave your doors unlocked."

The energy here is "so don't leave anything valuable in your car".

Unfortunately that is not what they proposed. To stretch the automotive analogy too far, you could say: if you invite a carjacker in, their seatbelt is not going to stop them from carjacking you.
Post reply on HN