Hello @Jil
required package kernel-devel gcc
you can run
sudo /sbin/vboxconfig
and it will report if there any missing package
it will also till you if you need to sign your kernal
required command to sign your kernal which will also given from the previous command
sudo mkdir -p /var/lib/shim-signed/mok
sudo openssl req -nodes -new -x509 -newkey rsa:2048 -outform DER -addext "extendedKeyUsage=codeSigning" -keyout /var/lib/shim-signed/mok/MOK.priv -out /var/lib/shim-signed/mok/MOK.der
sudo mokutil --import /var/lib/shim-signed/mok/MOK.der
reboot your system then enroll the key
it also recommended to add the user that you run the virtualbox from to vboxusers group as it does not detect usb if you did not
sudo usermod -a -G vboxusers <username>
Edit :
rerun sudo /sbin/vboxconfig
again after install the dependacy or enroll the key and after virtualbox update or kernel update
hope that help and have a nice day