Linux is fine.
If you wanna avoid LLM's all up in your kernel then leave, Linus has put his foot down on this months back and the kernel is knee deep in llm's, and powering much of the ecosystem.
If operating systems need verification the linux ecosystem seems well placed to avoid this with LFS, Gentoo, Toybox and many more being kits to build your own.
If Linux does get drowned in twats and turns into some kinda IBM powered Steam machine then the BSD's are waiting.