The dkms
package is for managing drivers. Unfortunately, I think the current version has a bug that is preventing them from being built when new kernels are installed. There is a fix in the pipeline.[1]
For now, you might want to just undo that last update transaction. I think sudo dnf history undo last
might work (assuming you haven’t done other transactions in the interim). Use dnf history list
to see what transactions have been run.