Public bug reported:

Environment
- Host: Windows, VirtualBox 7.2.2 r170484 (Qt6.8.0).
- Guest: Ubuntu, kernel 6.17.0-41-generic (#41-Ubuntu, PREEMPT(voluntary)), 
Guest Additions 7.2.2 r170484 (vboxguest and vboxsf built as out-of-tree 
modules, so the kernel is tainted OE), graphics VMSVGA (vmwgfx), 8 vCPUs, 40 GB 
RAM, no hardware virtualisation exposed to the guest.
- The guest runs long compile and test jobs (make -j4, meson, fuzzers) and, at 
the time of the crash, a User-Mode Linux guest process.

What happened
After 12893 s of uptime the guest hit an oops and kdump captured a vmcore. The 
first fault in the saved dmesg:

    BUG: ENTRY_TRAMPOLINE stack guard page was hit at 000000003153c119 (stack 
is 0000000078c755d9..0000000048ff3f16)
    Oops: stack guard page: 0000 [#1] SMP NOPTI

Then the same page fault repeats at irqentry_enter+0x15 with RSP
dropping 0xf0 each time (exc_page_fault -> asm_exc_page_fault ->
irqentry_enter), RAX = 0000001000010000 where irqentry_enter reads the
current task through the per-CPU slot and dereferences [rax+0x2c], until
the stack is used up. The last frame is asm_sysvec_apic_timer_interrupt
entered from user mode (RSP 00007ffc92e97620) on CPU 6.

Also at boot of the same session (15.9 s after boot, CPU 1, while the
udev worker was loading vboxguest):

    WARNING: CPU: 1 PID: 406 at kernel/rcu/tree_plugin.h:826
rcu_sched_clock_irq+0x3b5/0x3c0

with a trace through tick_nohz_handler, hrtimer_interrupt and
sysvec_apic_timer_interrupt.

What I checked
- No out-of-memory kill, no disk-full or I/O error in the journal before the 
crash (35 GB of RAM free after the reboot).
- Host and guest Guest Additions are the same build, 7.2.2 r170484.
- An earlier crash the same day, ~19 hours earlier, left no trace at all in the 
guest journal (the log ends in the middle of normal activity), so it looks like 
the VM was powered off from outside.

Questions
- Is this a known problem of VirtualBox 7.2.2 with 6.17 guests, and does a 
newer 7.2.x fix it?
- Is the garbage per-CPU "current" value (GS base) after a timer interrupt 
something the hypervisor can cause?

I can provide the full dmesg of the crash (about 135 KB) if it helps. I
can test an older kernel (6.17.0-23, 6.14) and a newer VirtualBox.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2178335

Title:
  Ubuntu 6.17.0-41 guest oops in VirtualBox 7.2.2: "ENTRY_TRAMPOLINE
  stack guard page was hit", then a page-fault loop in irqentry_enter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2178335/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to