@SorteKanin@feddit.dk to Programming@programming.dev • 2 days agoLinux Kernel TCP Flaw With 9.8 CVSS Score Affects Ubuntu, Red Hat and Other Distributionsthehackernews.comexternal-linkmessage-square35fedilinkarrow-up1145arrow-down10cross-posted to: newsselfhosted@lemmy.worldlinux@lemmy.mlprogramming@programming.dev
arrow-up1145arrow-down1external-linkLinux Kernel TCP Flaw With 9.8 CVSS Score Affects Ubuntu, Red Hat and Other Distributionsthehackernews.com@SorteKanin@feddit.dk to Programming@programming.dev • 2 days agomessage-square35fedilinkcross-posted to: newsselfhosted@lemmy.worldlinux@lemmy.mlprogramming@programming.dev
minus-square@thingsiplay@lemmy.mllinkfedilink5•1 day ago So could have Java, Go, C# or any language with GC. No. Those aren’t allowed in Linux Kernel. With garbage collection Garbage Collection is not usable in an operating system Kernel.
minus-square@xmo748@programming.devlinkfedilink3•1 day agoClearly, but it’s worth pointing out that this kind of problem isn’t uniquely fixed by “just use Rust”.
minus-square@thingsiplay@lemmy.mllinkfedilink2•1 day agoI never said that only Rust prevents this. I just said using Rust in the Kernel would have prevented this issue.
minus-square@xmo748@programming.devlinkfedilink2•20 hours agoFair enough. Don’t you think it simplifies the issue a little bit? How long would it take to rewrite the entire TCP stack in rust?
minus-square@thingsiplay@lemmy.mllinkfedilink1•19 hours agoI don’t think a rewrite in Rust is necessary for everything that has a bug. Instead fixing the bug is probably more secure, before such alternative Rust code is mature enough to replace it.
No. Those aren’t allowed in Linux Kernel.
Garbage Collection is not usable in an operating system Kernel.
Clearly, but it’s worth pointing out that this kind of problem isn’t uniquely fixed by “just use Rust”.
I never said that only Rust prevents this. I just said using Rust in the Kernel would have prevented this issue.
Fair enough. Don’t you think it simplifies the issue a little bit? How long would it take to rewrite the entire TCP stack in rust?
I don’t think a rewrite in Rust is necessary for everything that has a bug. Instead fixing the bug is probably more secure, before such alternative Rust code is mature enough to replace it.