News for hackers. Stuff that matters.
Re:The Dirty Pipe Vulnerability by sublimefire on Monday March 07, 2022 @08:43AM (#30587623)
An example that needs to be in the textbooks. A detailed explanation and a timeline along with the code snippets. It succinctly shows you the complexities involved. Kudos to Max for putting it all into the post.

> Blaming the Linux kernel (i.e. somebody else’s code) for data corruption must be the last resort.

^^^ I can only image the stress levels at this point.

Re:The Dirty Pipe Vulnerability by xcambar on Monday March 07, 2022 @08:46AM (#30587651)
The magic for me was the two little C programs that demonstrated the bug.

Circa 10 lines of C. Beautiful.

Re:The Dirty Pipe Vulnerability by rmetzler on Tuesday March 08, 2022 @04:52AM (#30598245)
Yes, being able to replicate the issue in a small piece of code is a very good thing.

First it helps to triage whether the bug is in your own code or in other code.

You also then can use it like the author and find the commit which introduced the bug.

And you can use it as a test case to verify if the bug is closed.

Re:The Dirty Pipe Vulnerability by moltke on Monday March 07, 2022 @09:02AM (#30587882)
I've personally found bugs in unpopular kernel APIs. I spent days thinking it was my code until I went and read the Linux implementation.
Re:The Dirty Pipe Vulnerability by girvo on Monday March 07, 2022 @05:26PM (#30594197)
ESP-IDF has so many bugs that it’s often the first thing to blame when we hit issues, even if it is our code after all haha
Re:The Dirty Pipe Vulnerability by misnome on Monday March 07, 2022 @10:36AM (#30588985)
Yes, this is an extremely well written and to the point writeup.
Re:The Dirty Pipe Vulnerability by deutschew on Monday March 07, 2022 @03:02PM (#30592641)
usually I dont read too deeply into CVE because they are too complex but this article made me go holy sh-

wish more would be written like this

Re:The Dirty Pipe Vulnerability by healsjnr1 on Monday March 07, 2022 @06:43PM (#30594815)
This reminds if some time direct working on crypto toolkits.

Every few months, someone would always come up with a reason why "bad entropy" was the cause of a bug.

It never was, but it felt like a thing we had to go through, to get to the real cause.