SorteKanin@feddit.dk to Programming@programming.dev · 4 days agoLinux Kernel TCP Flaw With 9.8 CVSS Score Affects Ubuntu, Red Hat and Other Distributionsthehackernews.comexternal-linkmessage-square35fedilinkarrow-up1146arrow-down10cross-posted to: selfhosted@lemmy.worldlinux@lemmy.mllinux@programming.devprogramming@programming.dev
arrow-up1146arrow-down1external-linkLinux Kernel TCP Flaw With 9.8 CVSS Score Affects Ubuntu, Red Hat and Other Distributionsthehackernews.comSorteKanin@feddit.dk to Programming@programming.dev · 4 days agomessage-square35fedilinkcross-posted to: selfhosted@lemmy.worldlinux@lemmy.mllinux@programming.devprogramming@programming.dev
minus-squarethingsiplay@lemmy.mllinkfedilinkarrow-up5arrow-down1·3 days 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-squarexmo748@programming.devlinkfedilinkarrow-up4·3 days agoClearly, but it’s worth pointing out that this kind of problem isn’t uniquely fixed by “just use Rust”.
minus-squarethingsiplay@lemmy.mllinkfedilinkarrow-up3arrow-down1·3 days agoI never said that only Rust prevents this. I just said using Rust in the Kernel would have prevented this issue.
minus-squarexmo748@programming.devlinkfedilinkarrow-up2·3 days 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-squarethingsiplay@lemmy.mllinkfedilinkarrow-up1·3 days 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.