Very Old Kernels in grub boot menu

Hi,
I clean installed Fedora 37 some time ago. Only today I noticed that the grub entries and the kernel that I boot with is an old fedora 37 one.

me@fedora-pc:~$ cat /etc/os-release 
NAME="Fedora Linux"
VERSION="39 (Workstation Edition)"
ID=fedora
VERSION_ID=39
VERSION_CODENAME=""
PLATFORM_ID="platform:f39"
PRETTY_NAME="Fedora Linux 39 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:39"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f39/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=39
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=39
SUPPORT_END=2024-05-14
VARIANT="Workstation Edition"
VARIANT_ID=workstation



me@fedora-pc:~$ uname -a 
Linux fedora-pc 6.1.9-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Feb  2 00:21:48 UTC 2023 x86_64 GNU/Linux


me@fedora-pc:~$ sudo dnf list | grep "^kernel"
[sudo] password for me: 
Sorry, try again.
[sudo] password for me: 
kernel.x86_64                                                                            6.1.9-200.fc37                                                   @updates                                            
kernel.x86_64                                                                            6.5.11-300.fc39                                                  @updates                                            
kernel.x86_64                                                                            6.5.12-300.fc39                                                  @updates                                            
kernel-core.x86_64                                                                       6.1.9-200.fc37                                                   @updates                                            
kernel-core.x86_64                                                                       6.5.11-300.fc39                                                  @updates                                            
kernel-core.x86_64                                                                       6.5.12-300.fc39                                                  @updates                                            
kernel-devel.x86_64                                                                      6.5.10-300.fc39                                                  @updates                                            
kernel-devel.x86_64                                                                      6.5.11-300.fc39                                                  @updates                                            
kernel-devel.x86_64                                                                      6.5.12-300.fc39                                                  @updates                                            
kernel-devel-matched.x86_64                                                              6.5.12-300.fc39                                                  @updates                                            
kernel-headers.x86_64                                                                    6.5.4-300.fc39                                                   @fedora                                             
kernel-modules.x86_64                                                                    6.1.9-200.fc37                                                   @updates                                            
kernel-modules.x86_64                                                                    6.5.11-300.fc39                                                  @updates                                            
kernel-modules.x86_64                                                                    6.5.12-300.fc39                                                  @updates                                            
kernel-modules-core.x86_64                                                               6.5.11-300.fc39                                                  @updates                                            
kernel-modules-core.x86_64                                                               6.5.12-300.fc39                                                  @updates                                            
kernel-modules-extra.x86_64                                                              6.1.9-200.fc37                                                   @updates                                            
kernel-modules-extra.x86_64                                                              6.5.11-300.fc39                                                  @updates                                            
kernel-modules-extra.x86_64                                                              6.5.12-300.fc39                                                  @updates                                            
kernel-srpm-macros.noarch                                                                1.0-20.fc39                                                      @fedora                                             
kernel-cross-headers.x86_64                                                              6.5.4-300.fc39                                                   fedora                                              
kernel-debug.x86_64                                                                      6.5.12-300.fc39                                                  updates                                             
kernel-debug-core.x86_64                                                                 6.5.12-300.fc39                                                  updates                                             
kernel-debug-devel.x86_64                                                                6.5.12-300.fc39                                                  updates                                             
kernel-debug-devel-matched.x86_64                                                        6.5.12-300.fc39                                                  updates                                             
kernel-debug-modules.x86_64                                                              6.5.12-300.fc39                                                  updates                                             
kernel-debug-modules-core.x86_64                                                         6.5.12-300.fc39                                                  updates                                             
kernel-debug-modules-extra.x86_64                                                        6.5.12-300.fc39                                                  updates                                             
kernel-debug-modules-internal.x86_64                                                     6.5.12-300.fc39                                                  updates                                             
kernel-debug-uki-virt.x86_64                                                             6.5.12-300.fc39                                                  updates                                             
kernel-doc.noarch                                                                        6.5.12-300.fc39                                                  updates                                             
kernel-headers.i686                                                                      6.5.4-300.fc39                                                   fedora                                              
kernel-modules-internal.x86_64                                                           6.5.12-300.fc39                                                  updates                                             
kernel-rpm-macros.noarch                                                                 205-20.fc39                                                      fedora                                              
kernel-tools.x86_64                                                                      6.5.4-300.fc39                                                   fedora                                              
kernel-tools-libs.x86_64                                                                 6.5.4-300.fc39                                                   fedora                                              
kernel-tools-libs-devel.x86_64                                                           6.5.4-300.fc39                                                   fedora                                              
kernel-uki-virt.x86_64                                                                   6.5.12-300.fc39                                                  updates                                             
kernelshark.x86_64                                                                       1:2.2.0-4.fc39                                                   fedora

Since fedora by default does not ever remove the currently booted kernel it seems you somehow are keeping the F37 kernel as default.

What is the output of sudo grub2-editenv - list and cat /etc/dnf/dnf.conf as well as cat /etc/default/grub