Lot of people are using this as an indictment against Windows. The fact is code will have bugs and vulnerabilities, even the most defensively coded Rust code.
The important thing is having a good software cycle where you can address these vulnerabilities swiftly and effectively. Linux does not have some security silver bullet under its sleeve and needs to be treated with as much due diligence as Windows- because it’s code all the same.