Trying installing guest image to have a share folder between host and VM ware(Ubuntu), here's the logs
Verifying archive integrity... All good.
Uncompressing VirtualBox 6.1.22 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 6.1.22 of VirtualBox Guest Additions...
update-initramfs: Generating /boot/initrd.img-5.15.0-67-generic
Copying additional installer modules ...
Installing additional modules ...
depmod: ERROR: failed to load symbols from /lib/modules/5.15.0-67-generic/updates/dkms/vboxnetflt.ko: Invalid argument
depmod: ERROR: failed to load symbols from /lib/modules/5.15.0-67-generic/updates/dkms/vboxnetadp.ko: Invalid argument
depmod: ERROR: failed to load symbols from /lib/modules/5.15.0-67-generic/updates/dkms/vboxdrv.ko: Invalid argument
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules. This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 5.15.0-67-generic.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what
went wrong
depmod: ERROR: failed to load symbols from /lib/modules/5.15.0-67-generic/updates/dkms/vboxnetflt.ko: Invalid argument
depmod: ERROR: failed to load symbols from /lib/modules/5.15.0-67-generic/updates/dkms/vboxnetadp.ko: Invalid argument
depmod: ERROR: failed to load symbols from /lib/modules/5.15.0-67-generic/updates/dkms/vboxdrv.ko: Invalid argument
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted
Press Return to close this window...
^CSignal caught, cleaning up
Press Return to close this window...
^CSignal caught, cleaning up
Press Return to close this window...