this post was submitted on 17 May 2024
27 points (70.8% liked)

Linux

48186 readers
1601 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
top 18 comments
sorted by: hot top controversial new old
[–] MrPoopyButthole@lemmy.world 44 points 6 months ago (2 children)

Saying you can solve the existence of bugs in any code repository reeks of bullshit. Anyone who believes this is possible is just ignorant.

[–] pastermil@sh.itjust.works 5 points 6 months ago (1 children)

technically it's possible...

[–] acockworkorange@mander.xyz 21 points 6 months ago (1 children)

Theoretically. I don’t think it’s even technically possible.

[–] nyan@sh.itjust.works 13 points 6 months ago (2 children)

Delete all the code. Then you'll have no bugs.

[–] acockworkorange@mander.xyz 7 points 6 months ago
[–] Goun@lemmy.ml 6 points 6 months ago

Delete all the bugs. Then you'll have no code.

[–] taladar@sh.itjust.works 4 points 6 months ago

While true essentially forking the latest stable version of the kernel to make an LTS branch or a vendor version only multiplies the problem, it also does not contribute to solving it.

[–] 0x0@programming.dev 33 points 6 months ago (2 children)

Random excerpts.

"Any bug has the potential of being a security issue at the kernel level."

Although the programmers examined RHEL 8.8 specifically, this is a general problem. They would have found the same results if they had examined SUSE, Ubuntu, or Debian Linux. Rolling-release Linux distros such as Arch, Gentoo, and OpenSUSE Tumbleweed constantly release the latest updates, but they're not used in businesses.

The proposed fix:

The team advocates for a shift toward using stable kernel branches from kernel.org for better security and bug management.

Woah, someone discovered fire.

[–] seaQueue@lemmy.world 13 points 6 months ago* (last edited 6 months ago)

They're also completely missing the point of distro kernel trees. Stable automatically selects patches from mainline (largely by keyword, and often without kernel developer feedback or involvement) and consequently has a massive amount of code churn and very little validation beyond shipping releases and waiting for regression reports. Distro trees are the buffer where actual testing happens before release. As a long term stable user it really isn't suitable for end user or enterprise consumption unless you have your own in house validation process to test releases for regressions before deployment. Even running stable on client machines (desktops, laptops) leads to a bad time every few weeks when something sneaks in that breaks functionality.

[–] nyan@sh.itjust.works 6 points 6 months ago

Rolling-release Linux distros such as Arch, Gentoo, and OpenSUSE Tumbleweed constantly release the latest updates, but they’re not used in businesses.

So some businesses decided that monolithic releases were more important than being able to get the latest upstream vanilla kernel version, and somehow that's the fault of "all Linux kernel vendors" (including rolling-release distros, since there was no attempt to qualify "all") and not the businesses' decisions about tradeoffs?

[–] bizdelnick@lemmy.ml 17 points 6 months ago

LOL, all Linux vendors = Red Hat.

All generalizations are false.

[–] biribiri11@lemmy.ml 14 points 6 months ago* (last edited 6 months ago)

It’s funny, because there was research done by UC Riverside which specifically figured out LTS branches receive patches for CVEs significantly later than vendor specific branches. Specifically:

Interestingly, we note that the picked CVE patches appear in distributions 74.2 days earlier than LTS on average;

They also conveniently left out the part of Greg KH’s opinion stating that he recommends the use of vendor kernels over stable/LTS branches, too.

I found this particularly funny:

It all comes down to a delicate balancing act between security and stability. Some top Linux kernel developers and CIQ are coming down on the side of security.

Now I know CIQ is “supposedly” different from rocky, but what is CIQ going to do, break bug-for-bug compat and use stable kernels in their supported version of Rocky? This entire article feels like it doesn’t fundamentally understand that not all bugs (especially ones that lead to potential low-ranking CVEs) aren’t worth patching.

[–] DmMacniel@feddit.de 12 points 6 months ago

Atleast you can audit the kernel source and find the issues on a broad scale... Other commercial kernels with closed source (Mach, NT) don't fare so much better.

[–] bloodfart@lemmy.ml 6 points 6 months ago (1 children)

We’re training too many “security” people.

[–] agressivelyPassive@feddit.de 14 points 6 months ago

Rather the wrong ones.

95% seem to be essentially professional box tickers. They don't care about security, but only about process compliance. As long as the scanner finds no CVEs, the app is secure.

I want people who actually know, how I can improve my code. I'm pretty sure I screwed up security stuff, but will never know.

[–] huquad@lemmy.ml 4 points 6 months ago

Turns out the biggest bug of all was keeping the default password.

[–] boredsquirrel@slrpnk.net 3 points 6 months ago
[–] possiblylinux127@lemmy.zip 1 points 6 months ago* (last edited 6 months ago)

Cough, Samsung, cough.

Also I wouldn't run the latest kernel in prod. Use an LTS