[Bug]: VirtualBoxVM crashes inside the host AMD graphics driver when the guest desktop renders images
Les mainteneurs répondent en général sous 6 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 18/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- c
- Domaine
- computer-graphics
Piste de recherche
Start by reading the VMSVGA 3D support code and the VBox.log exception record described in the report, then inspect how guest image surfaces are sent through the host graphics path. The AMD driver is identified as the faulting code, and the payload does not name a VirtualBox source file or failing test. Done means identifying whether VirtualBox can prevent the out-of-bounds driver read or otherwise keep the VM responsive.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Version
7.2.22
Host OS Type
Windows
Host OS name + version
Windows 10 Home 22H2 (build 19045.6466), 64-bit
Host Architecture
x86
Guest OS Type
Linux
Guest Architecture
x86
Guest OS name + version
Kali Linux 2026.2 (64-bit, Debian-based), XFCE 4.20, Xorg at depth 24 (32 bpp effective)
Component
3D Support
What happened?
While a VM runs with VMSVGA + 3D on a Windows 10 host with an AMD Radeon RX 5700 XT (driver 26.10.2 /
32.0.21045.20006; the same fault was first captured on 32.0.21045.16010 at +0xF8B892),
VirtualBoxVM.exe takes a read access violation inside the host AMD user-mode driver, not inside VirtualBox code,
and the VM becomes unresponsive. The Windows dialog shows:
VirtualBoxVM.exe - Application Error
The instruction at 0x00007FFA7623B892 referenced memory at 0x00000021E80F42000.
The memory could not be read.
VirtualBox's own exception filter logs the exception and keeps the process alive but hung, so the guest display
freezes and the VM has to be killed. VBox.log contains the rtR3WinUnhandledXcptFilter record with a full
register dump and a resolved module/offset stack.
The faulting instruction is movzx r8d, byte ptr [rdx+2] at amdxx64.dll+0xF8B892 (a second compiled form of the
same copy exists at +0xF8B88F, movzx ecx, word ptr [rdx]). Both are 24-bit pixel copy helpers called from a row
loop at amdxx64.dll+0x6BD51. In every captured crash the containing private allocation ends exactly at the
faulting address, i.e. an out-of-bounds read of 1-2 bytes past a private PAGE_READWRITE allocation; the page after
it is MEM_RESERVE, which is why the read faults instead of silently succeeding. The same fault reproduces on the
current optional release 32.0.21045.20006 (AMD Software 26.10.2) at amdxx64.dll+0xF8BA12 (word form
+0xF8BA0F), so it is present in the newest driver available for this card.
The two row strides are related in every capture (58 of 58): r15 = ceil4(r14), i.e. the destination row is the
source row rounded up to a 4-byte boundary, so the difference is always exactly 3 bytes. The loop copies the source
row and then a second time for that 3-byte gap, reading from just past the source row - harmless on every row but
the last, where those bytes are past the allocation. Why the source row length itself has that value is not
identified from the logs; that does not change the defect.
Control: with 3D acceleration disabled the same workload produced no fault in 343 cycles, while with 3D enabled the
fault appeared from 49 s (GPU loaded) to 54 min (VM idle, one dialog open) across 58 captures.
Filing here because it is VirtualBox's process that dies and VirtualBox's handler that surfaces it; the faulting
code belongs to the AMD driver. The same report was submitted to AMD through the AMD Bug Report Tool on
2026-11-17, with the same evidence package.
Expected behavior: The guest desktop renders its dialogs and thumbnails and the VM keeps running.
Actual behavior: VirtualBoxVM.exe takes a read access violation inside the host GPU driver; VirtualBox's exception filter hangs the
process and the VM has to be killed.
Attached: amd-vbox-crash-evidence.zip (62 logs, 67 address-space maps, screenshots, scripts) and evidence-crash-video.mp4 - a 33-second recording of one fault with the host VBox.log live on the left and the VM window on the right.
How can we reproduce this?
- Host: Windows 10 19045.6466, AMD RX 5700 XT, driver 32.0.21045.20006 (AMD Software 26.10.2). No integrated GPU is present, so the display path cannot fall back.
- VirtualBox 7.2.22; VM with display controller VMSVGA, "Enable 3D Acceleration" on. Video memory is not critical: the captures were made with 141 MB (51), 179 MB (9) and 256 MB (2), so any value that lets 3D acceleration work is fine. Guest: Kali Linux 2026.2 with XFCE (Xorg at depth 24). The Extension Pack is not required.
- Log in to the guest; the X11 desktop must be up (XFCE, Xorg at depth 24 in our captures). A bare desktop with no windows open is not enough in our experience - the fault needs windows that make the guest generate image surfaces, which step 5 covers.
- Optional, only to get a hit quickly: load the host GPU with a WebGL page (two browser windows, any heavy WebGL demo; measured 76-78% utilisation). CPU load alone also reaches the fault, just slower.
- In the guest, repeatedly open views that force thumbnail/image-surface generation: the file chooser on a folder of images, or the desktop settings -> background folder selector (
Folder: -> Other location...) pointed at a directory of images. The selector/dialog is the reliable trigger; opening the settings window alone is not. - Typically within 1-3 minutes the host shows the Application Error dialog. Timing measured on this machine: with GPU load, 3 of 5 runs faulted within 180 s (68, 75, 76 s), fastest 49 s and 2 min 40 s on the 26.10.2 capture; with CPU-only load, 2-8 minutes; with no host load at all, left running with one dialog open, captures at 51 and 54 minutes.
https://github.com/user-attachments/assets/2fef91c0-75ed-44df-b394-06d301e3ba3f
Did you upload all of your necessary log files, screenshots, etc.?
- Yes, I've uploaded all pertinent files to this issue.
- Langage dominant
- C
- Étoiles
- 1.4k
- Forks
- 219
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de VirtualBox/virtualbox
-
bug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 84/100
VirtualBox/virtualbox#996 ·
Les mainteneurs répondent en général sous 6 jours
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
VirtualBox/virtualbox#979 ·
Les mainteneurs répondent en général sous 6 jours
-
[Bug]: Guest Additions 7.2.20 vboxvideo fails to build on Linux kernel 6.12.113 (drm_fb_helper_restore_fbdev_mode_unlocked: too few arguments)Peut-être pris @Berbe l’a pris il y a 18 jours. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
VirtualBox/virtualbox#918 · 9 commentaires ·
Les mainteneurs répondent en général sous 6 jours
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
VirtualBox/virtualbox#995 ·
Les mainteneurs répondent en général sous 6 jours
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
VirtualBox/virtualbox#994 ·
Les mainteneurs répondent en général sous 6 jours
Toutes les issues de VirtualBox/virtualbox
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
ESPresense/ESPresense#2680 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
ImageMagick/ImageMagick#9134 ·
Les mainteneurs répondent en général sous 1 jour
-
Builder: a structure opened without calculation data shows the Diffraction (fibre) view by defaultOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
FriendsofECCE/ECCE#1245 · 1 commentaire ·
-
Arch: ARM/AArch64 Doc
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
RT-Thread/rt-thread#12082 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
apache/nuttx-apps#4108 · 4 commentaires ·
Les mainteneurs répondent en général sous 1 jour