this post was submitted on 22 Oct 2024
227 points (100.0% liked)

Linux

5217 readers
5 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 3 weeks ago (3 children)

Could someone please explain to a non-tech expert?

[–] [email protected] 95 points 3 weeks ago (2 children)

In the last 10 years there has been a seemingly noteworthy uptick in hardware bugs in both intel and amd CPUs. Security researchers find and figure out potential attack vectors that rely on these bugs (ex. Specter/Meltdown). Then operating systems have to put workarounds in their kernel code to ensure that these hypothetical attack vectors are accounted for, at the cost of performance and more complicated code.

Linus is saying how annoyed he is with all this extra work they have to do, resulting in worse performance, all to plug vulnerabilities that we've never actually seen any real attackers use. He's saying instead we should just write the code how it should be, and if the hardware is insecure, let it be the hardware company's problem when customers don't use the hardware.

The problem is, customers will continue to use the hardware and companies who need a secure OS (all of them) will opt to not use Linux if it doesn't plug these holes.

[–] [email protected] 3 points 3 weeks ago

Plus a lot of these bugs don't get fixed, because they exist to allow the processors to "look ahead" for improved performance, at least on unmitigated benchmark tests.

[–] [email protected] 2 points 3 weeks ago

we should just write the code how it should be

Notably, that's not what he says. He didn't say in general. He said "for once, [after this already long discussion], let's push back here". (Literally "this time we push back")

who need a secure OS (all of them) will opt to not use Linux if it doesn’t plug these holes

I'm not so sure about that. He's making a fair assessment. These are very intricate attack vectors. Security assessment is risk assessment either way. Whether you're weighing a significant performance loss against low risk potentially high impact attack vectors or assess the risk directly doesn't make that much of a difference.

These are so intricate and unlikely to occur, with other firmware patches in line, or alternative hardware, that there's alternative options and acceptable risk.

[–] [email protected] 7 points 3 weeks ago

This is about Spectre, not about buggy hardware implementations.

Spectre is a fundamental flaw in speculative execution that means it can leak information, so it's a security vulnerability. Apparently Intel has been imposing draconian requirements on software to work around the issue rather than fixing it in hardware, which is obviously what they should do, but is not at all trivial.

[–] [email protected] -4 points 3 weeks ago (1 children)

hardware is like your computer, stuff like the cpu and ram. software is like the programs on that computer. linus torvalds makes a program that has to deal with the details of the computer (the linux kernel). as such, they have to work around problems in the hardware.

[–] [email protected] 8 points 3 weeks ago (1 children)

Thanks for the unappreciated ELI2

[–] [email protected] 4 points 3 weeks ago (1 children)
[–] [email protected] 4 points 3 weeks ago (1 children)

I'm a graybeard software engineer with 30+ years of experience.

I appreciated your explanation.

[–] [email protected] 3 points 3 weeks ago

Me too; it's BECAUSE I'm so old that I appreciate a general rooting what this is all about.