you def. want to block updates for the nvidia driver 580.142. Probably open a nvidia bug report. Then retry when a newer 580.* driver will be available.
I assume you use a GUI to update the system? Then you have to add an excludepkgs line to /etc/dnf/dnf.conf
check if there is already an excludepkgs line and extend the arguments if needed
this will add excludepkgs to the dnf config and overwrite any existing list!
sudo dnf config-manager setopt excludepkgs=xorg-x11-drv-nvidia\*
remove with
sudo dnf config-manager unsetopt excludepkgs
It’s possible that the 580.126.18 driver kernel modules will not compile with the upcoming 7.0 kernel versions without a patch.