Re:Local privilege escalation vulnerabilities in Linux
by Gigachad on Thursday November 05, 2026 @03:43AM
(#50376753)
This is what the Rust advocates have been trying to say for a decade now. But C enthusiasts would always chime in that those bugs were just caused by careless devs and a real C programmer is fine.
[ Parent
| on HN ]
Re:Local privilege escalation vulnerabilities in Linux
by AdamN on Thursday November 05, 2026 @03:57AM
(#50376858)
A 'real' C programmer probably is fine .... but that's like 1% of the population of developers outputting C programs.
And now you have AI that's learned from the other 99% so nothing's changing anytime soon.
Re:Local privilege escalation vulnerabilities in Linux
by raincole on Thursday November 05, 2026 @03:58AM
(#50376865)
The problem is most drivers believe they are above average drivers.
Re:Local privilege escalation vulnerabilities in Linux
by kleiba2 on Thursday November 05, 2026 @04:05AM
(#50376921)
And almost all of them could be correct.
Re:Local privilege escalation vulnerabilities in Linux
by jonplackett on Thursday November 05, 2026 @04:12AM
(#50376959)
At least 49.999 percent of them anyway
Re:Local privilege escalation vulnerabilities in Linux
by kleiba2 on Thursday November 05, 2026 @05:40AM
(#50377571)
Are you sure?
Re:Local privilege escalation vulnerabilities in Linux
by hxorr on Friday November 06, 2026 @10:40PM
(#50401412)
You are confusing mean and median
Re:Local privilege escalation vulnerabilities in Linux
by AdamN on Friday November 06, 2026 @05:14AM
(#50390473)
Lake Wobegon, where all the children are above average :-)
Re:Local privilege escalation vulnerabilities in Linux
by dbdr on Thursday November 05, 2026 @04:05AM
(#50376913)
I would hope writing C code for the Linux kernel qualifies you as a real C programmer. And yet, here we are. Being good, careful, and extensively reviewed by others helps, but is clearly not enough.
Re:Local privilege escalation vulnerabilities in Linux
by rybosworld on Thursday November 05, 2026 @06:21AM
(#50377853)
> A 'real' C programmer probably is fine .... but that's like 1% of the population of developers outputting C programs.
The idea that there's a small subset of C programmers who can wrangle the language into obeying them perfectly is obviously, a fantasy.
Re:Local privilege escalation vulnerabilities in Linux
by perlgeek on Thursday November 05, 2026 @05:47AM
(#50377623)
Rust eliminates some bug classes, but we don't even know yet how many of these vulns would've been prevented by using Rust.
It's also possible that we'd need even more architectural changes to avoid such bugs.
The idea of a microkernel suddenly becomes more appealing...
Re:Local privilege escalation vulnerabilities in Linux
by saagarjha on Thursday November 05, 2026 @08:54AM
(#50379079)
We have a pretty good idea of this actually, people have been classifying bugs into memory safety issues, etc for a while even pre-AI.
Re:Local privilege escalation vulnerabilities in Linux
by klooney on Thursday November 05, 2026 @10:32AM
(#50380379)
It's worth checking in on the vulns for uutils- lots of stuff! Interacting with the world outside of the compiler has lots of details. No use after frees afaik though.
Re:Local privilege escalation vulnerabilities in Linux
by imtringued on Thursday November 05, 2026 @09:09AM
(#50379256)
Yes but even if you swipe the Rust magic wand and somehow reduce the vulnerabilities by 99%, you are still left with 20 critical vulnerabilities per year.
There is something about kernels that make them easy targets and it's not just the language.