Error running sudo dnf update

This is the same issue as Cant install kernel package - #2 by alciregi

The problem occurs because kernel-6.2.14 isn’t available in the repos anymore.
You can solve the issue by removing previous (unused) kernel-core and kernel-modules packages.

So, in your case, start with sudo dnf remove kernel-modules-core-6.2.14