GNOME freezes after login

linux-firmware and amd-ucode package for Ryzen processors was just discussed in the german forum.

The conclusion is, neither amd-ucode nor linux-firmware contain relevant microcode for AMD desktop processors. Microcode updates for Ryzen desktop CPUs typically comes through UEFI/BIOS updates.

Check the links in this post to follow up.

Therefore it is unlikely that any of these two packages can break your CPU.