Are you suggesting proprietary software is safer than open source?
I’m sure there are proprietary systems with fewer memory safety vulnerabilities than Linux (and many others with more).
Now, open code allows anyone with tokens to burn to analyze it for hidden weaknesses. That makes publishing code a risky move unless you've already invested a lot of effort in securing it.
This was always nonsense. It assumes that the eyes know what they're looking at. Most people don't know how to look at code and see attack paths.
* I don't know how useful any of the specific benchmarks on this are, so I'm only saying "seem to be"
It is perfectly valid to have OSes that are more memory safe by default, and are also open source at the same time.