Re:Linux Kernel Security Done Right
by touisteur on Tuesday August 03, 2021 @06:07PM
(#28054822)
The 'update all the things all the time, maybe there will be regressions, but hey vendors should fix' em' is maybe hearable from a cloud-continuous-delivery standpoint, but not everyone can and should do that. And getting fixes also comes its lot of new features with their unchecked security surfaces, enabled by default...
What I'm also hearing here is 'vendors shouldn't work on their branch but contribute to main/stable branches' and I'm here wondering how you can ever ship anything tested (since it's part of the subject) with this lack of control of branch history. Starting from something you know works, and increasingly upgrade/fix is the only manageable way to ship something as complex and untested as upstream Linux.
The solution is 'add 4 guys to your team and fix our coders' bugs before they ship'? So, fun coding and good PR for some, drudge of shitbugs and abuse on lkml for others.
Re:Linux Kernel Security Done Right
by petergeoghegan on Wednesday August 04, 2021 @01:20AM
(#28057522)
> This "upstream first" approach to product kernel development and testing is extremely efficient. Google has been successfully doing this with Chrome OS and Android for a while now, and is hardly alone in the industry.
This seems to be conflating testing a product against an upstream kernel and making your stable Linux distribution use an upstream kernel. A huge number of open source projects and vendors already do the first thing without any difficulty. I believe that doing the second thing is much rarer. Do Google do both things?
Re:Linux Kernel Security Done Right
by juangacovas on Wednesday August 04, 2021 @01:11AM
(#28057490)
I used to put main kernels compiled for a very standard distro, on production, and manually updated twice a month after testing a bit each release.
* One time I dodged a data corruption bug with a default, common filesystem, that obviously got rapidly patched.
* Last time and very recently, main kernel introduced a bug that made NFS just don't work for clients trying to connect, until a patch was released and applied for those servers.
On the other hand, also saw a vendor mainstream bogus update that rendered the boxes unpingable after a reboot. Could patch before a reboot was needed so day saved.
You're almost never safe. But I agree some testing helps. Anyway not everyone has the infra and/or resources.
Re:Linux Kernel Security Done Right
by tester756 on Tuesday August 03, 2021 @05:26PM
(#28054434)
Feel free to start with asking engineers more security related questions, cuz you know - poorly performing algo can be rewritten meanwhile leak cannot be reverted
What I'm also hearing here is 'vendors shouldn't work on their branch but contribute to main/stable branches' and I'm here wondering how you can ever ship anything tested (since it's part of the subject) with this lack of control of branch history. Starting from something you know works, and increasingly upgrade/fix is the only manageable way to ship something as complex and untested as upstream Linux.
The solution is 'add 4 guys to your team and fix our coders' bugs before they ship'? So, fun coding and good PR for some, drudge of shitbugs and abuse on lkml for others.
This seems to be conflating testing a product against an upstream kernel and making your stable Linux distribution use an upstream kernel. A huge number of open source projects and vendors already do the first thing without any difficulty. I believe that doing the second thing is much rarer. Do Google do both things?
You're almost never safe. But I agree some testing helps. Anyway not everyone has the infra and/or resources.