Kernel error for VirtualBox shared folders

Takashi, It seems that the memcpy error in vboxsf found at commit a8f014ec6a214c94ed6a9ff5ba8904a5cadd42a6 Author: Kees Cook <keescook@chromium.org> Date: Thu Jul 20 08:15:06 2023 -0700 vboxsf: Use flexible arrays for trailing string member has not been included in the openSUSE 6.5 kernels. The symptom is an inability to load shared folders in VirtualBox. The dmesg log reports [ 48.379016] memcpy: detected field-spanning write (size 1652) of single field "pLoggerInt->afGroups" at /home/abuild/rpmbuild/BUILD/VirtualBox-7.0.10/modules_build_dir/default/vboxdrv/common/log/log.c:2934 (size 4) Thanks for looking into this. BTW, my hone-build kernels for mainline HEAD work just fine as they have this fix. Larry

On 9/20/23 18:40, Larry Finger wrote:
Even if mounting may work, there's also reports that read()ing files from vboxsf fails and the calling tool gets "Killed": https://bugzilla.suse.com/show_bug.cgi?id=1215463 This also sees to happen since kernel 6.5. Have a nice day, Berny

On 9/21/23 09:25, Takashi Iwai wrote:
Takashi, No, your kernel is fine. Apparently, some configuration difference between my home-rolled mainline kernel and the official openSUSE releases managed to let my system run vboxsf, but there was still a problem in the Oracle code that has now been patched. Thanks for your attention, and sorry for the noise. :) Larry

On 9/20/23 18:40, Larry Finger wrote:
Even if mounting may work, there's also reports that read()ing files from vboxsf fails and the calling tool gets "Killed": https://bugzilla.suse.com/show_bug.cgi?id=1215463 This also sees to happen since kernel 6.5. Have a nice day, Berny

On 9/21/23 09:25, Takashi Iwai wrote:
Takashi, No, your kernel is fine. Apparently, some configuration difference between my home-rolled mainline kernel and the official openSUSE releases managed to let my system run vboxsf, but there was still a problem in the Oracle code that has now been patched. Thanks for your attention, and sorry for the noise. :) Larry
participants (4)
-
Bernhard Voelker
-
Larry Finger
-
Larry Len Rainey
-
Takashi Iwai