dnf5 has replaced dnf as the default package manager in currently supported Fedora versions and the forthcoming RHEL 11 (as currently seen in ELN). kpatch-dnf needs to be ported to the libdnf5 API (python3-libdnf5 package) in order to support these releases.
See also: fedora-eln/eln#206