#1141114 virtualbox: vboxvideo fails to compile on Linux kernel 7.0+ (causes boot hang)

Package:
virtualbox
Source:
virtualbox
Submitter:
Krzysztof Radzikwowski
Date:
2026-06-29 21:17:03 UTC
Severity:
normal
Tags:
#1141114#5
Date:
2026-06-29 21:00:25 UTC
From:
To:
Hi,

During boot attempts with kernel version 7.0.12+kali-amd64, the guest system hangs and triggers RCU CPU stalls because VirtualBox Guest Additions fails to compile.

Specifically, the compilation of the vboxvideo graphics driver module fails with:
vbox_fb.c:215:10: error: ‘struct fb_ops’ has no member named ‘fb_debug_enter’
vbox_fb.c:216:10: error: ‘struct fb_ops’ has no member named ‘fb_debug_leave’

This is because Linux Kernel 7.0 removed the fb_debug_enter and fb_debug_leave members from struct fb_ops.

I have attached a DEP-3-compliant patch to wrap these definitions in conditional macros RTLNX_VER_MAX(7,0,0). Please apply this patch to the VirtualBox package.

Thank you!