Kernel compromised, restoring os?

ok so remove it like this:

sudo pacman -R linux518-rt-nvidia linux518-nvidia linux515-rt-nvidia linux518 linux515-rt linux518-rt

then install the 518:
sudo mhwd-kernel -i linux518
reboot and select the 518 in the grub menu and see if you can boot with it normally

just tried right now, deletion of the three prior kernels went fine, reinstalling linux 518 went fine, but when booting on it still the same “failed to load kernel modules”…
Oh well doesnt matter i guess still got one that works

so your system doesnt work with the 5.18… so uninstall it:
sudo mhwd-kernel -r linux518
and install the 5.10 as a backup kernel:
sudo mhwd-kernel -i linux510
again reboot and select the 5.10 in grub and see if it works with it

ok so i just tried with the 510 and everything seemed fine at first but there was an issue connecting to internet, not any wireless network was displayed… i dont rlly have time to look into that with you rn nor installing another backup kernel so for now i’ll just go with the one that works and i’ll see that again later when i got time.
Thank you very much again for your help have a nice day mate

ok so it could be that the network issue is fixed in 5.15 … so you have a functioning kernel, the 5.15 so use it…