A bug is a bug, but a patch is a policy: The case for bootable containers
tuananh.net
tuananh.net
What about having several use cases in mind, and give the scores for each of those?
> We must stop litigating which fixes matter and start treating every kernel bug fix as relevant (a bug is a bug). We must stop running patching as a project and bake it into the pipeline so that applying stable fixes is simply what the system does (the patch is the policy).
Ah, so it's simply "apply all the fixes automatically", i.e. "the Chainguard way" but, again, fully automated. Okay?
Or assign one score according to the worst case scenario.
i imagine the same reason they don't score for 1, it takes time that could be allocated elsewhere
tbh i think scoring for multiple scenarios would take more time and be less useful. kernel devs are not implementors, they may have never used docker or built a cut down kernel for an iot device, they just build a general purpose kernel
And not scoring means that the security triage teams everywhere have to spend their time to assess the severity on their own, and in doing so, they mostly duplicate each other's work while deduplication is nigh impossible. Is this a worthwhile trade?
Consider e.g. vehicle recalls: the manufacturer could very well (baring legal requirements and general public's expectation) just leave it to the customers and the repairmen out there to discover and deal with the defects on their own.
> kernel devs are not implementors, they may have never used docker or built a cut down kernel for an iot device, they just build a general purpose kernel
Well that's a pretty condescending look upon the kernel maintainers. Making a successful general-purpose kernel (nevermind making a general-purpose kernel that also has a lot of quite specific affordances for custom scenarios) still requires understanding of how it will be used.
We have to do that anyway because a worst case assessment is almost never worst case or even close.
CVSS is just the wrong tool for the job anyway. It's like assessing individual car parts on dimensions like "steering" and "acceleration" when most parts have no direct relationship to the completed product's high level qualities. And then you construct "worst case" stories that go "well, in the event that you are not steering while accelerating sharply, a fault in this seat cover could make that whole thing worse and cause a fatal crash: CVSS 9.9!"
Glad to hear developers are also pushing back against the madness. I do think just patching known bugs quickly is the best way to go. Alternative might be some kind of AI assisted triage process.
EDIT: CVSS evaluates vulnerabilities in the context of the entire system. It makes no sense to apply it to software components; you just don't know what the solution actually looks like from down there. So it's just an inappropriate method to use in the first place.
IMHO, optimizing your update process and treating whole OS environments like we do containers is good, but there are plenty of environments like stateful services where a rolling reboot can still take months to complete if done in a naive way.
- it talks about Kernel CVEs while talking about a user-space tool (containers).
- with respect to a kernel bug, what's the difference between updating/downgrading a kernel container image (whatever that means) and just doing the same for the kernel installed on the machine? Unlike a whole distro' which is made out of many moving parts with complex (and brittle) interactions, where updating can break things in ways that cannot trivially be rolled back (which makes stateless containers a good idea for user space), the kernel is pretty much a monolith and you can trivially switch between versions (even on a consumer Linux desktop you can use the previous kernel simply by selecting it in the grub list…).
Hint: Maybe firefox should pivot (re-do Firefox OS) to that.
- Installation is slow. REally slow. They blame it on btrfs. But the same for XFS. It took at least 30 min. Why?
- rpm-ostree - same.