VirtualBox

Opened 6 weeks ago

Closed 6 weeks ago

#22029 closed defect (duplicate)

kernel: UBSAN: array-index-out-of-bounds in /var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/{some of c source file here}

Reported by: mchist Owned by:
Component: other Version: VirtualBox-7.0.14
Keywords: Cc:
Guest type: Windows Host type: Linux

Description (last modified by mchist)

Time by time, when my laptop recovers from the sleep mode, I see the messages like this:

UBSAN: array-index-out-of-bounds in /var/lib/dkms/virtualbox/7.0.14/build/vboxdrv/include/VBox/sup.h:774:36
March 18 13:27:10 ideapad kernel: index 4 is out of range for type 'SUPGIPCPU [1]'

Cannot find a correlation between this message and any event in my system. Last time, March 18th, this message appeared when Windows 10 was working (or may be, was going to the shutdown normally). This message must not appear in the same source file, for example:

journalctl -g "UBSAN: array-index-out-of-bounds"
UBSAN: array-index-out-of-bounds in /var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/common/log/log.c:1791:41
UBSAN: array-index-out-of-bounds in /var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:399:33
UBSAN: array-index-out-of-bounds in /var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/SUPDrvTracer.c:611:40

And even it not must appear in the same line of the same file, for example:

journalctl -b 0 -g "UBSAN: array-index-out-of-bounds"
March 13 11:22:23 ideapad kernel: UBSAN: array-index-out-of-bounds in /var/lib/dkms/virtualbox/7.0.14/build/vboxdrv/SUPDrvGip.c:1956:44
March 13 11:22:23 ideapad kernel: UBSAN: array-index-out-of-bounds in /var/lib/dkms/virtualbox/7.0.14/build/vboxdrv/SUPDrvGip.c:904:43
March 13 11:22:23 ideapad kernel: UBSAN: array-index-out-of-bounds in /var/lib/dkms/virtualbox/7.0.14/build/vboxdrv/SUPDrvGip.c:1392:24
March 13 11:22:23 ideapad kernel: UBSAN: array-index-out-of-bounds in /var/lib/dkms/virtualbox/7.0.14/build/vboxdrv/SUPDrvGip.c:1401:13
March 13 11:22:23 ideapad kernel: UBSAN: array-index-out-of-bounds in /var/lib/dkms/virtualbox/7.0.14/build/vboxdrv/SUPDrvGip.c:1460:35
March 13 11:22:23 ideapad kernel: UBSAN: array-index-out-of-bounds in /var/lib/dkms/virtualbox/7.0.14/build/vboxdrv/SUPDrvGip.c:1461:35
March 13 11:22:23 ideapad kernel: UBSAN: array-index-out-of-bounds in /var/lib/dkms/virtualbox/7.0.14/build/vboxdrv/SUPDrvGip.c:1462:5
March 13 11:22:23 ideapad kernel: UBSAN: array-index-out-of-bounds in /var/lib/dkms/virtualbox/7.0.14/build/vboxdrv/SUPDrvGip.c:1464:16
March 13 11:22:23 ideapad kernel: UBSAN: array-index-out-of-bounds in /var/lib/dkms/virtualbox/7.0.14/build/vboxdrv/SUPDrvGip.c:1465:16
March 13 11:22:23 ideapad kernel: UBSAN: array-index-out-of-bounds in /var/lib/dkms/virtualbox/7.0.14/build/vboxdrv/SUPDrvGip.c:1491:5

Look at the logs when the last time the error appeared: https://pastebin.com/JpiH2Sk1

OS: Ubuntu 23.10, Gnome 45.2, Wayland

Change History (2)

comment:1 by mchist, 6 weeks ago

Description: modified (diff)

comment:2 by galitsyn, 6 weeks ago

Resolution: duplicate
Status: newclosed

Duplicate of #21877.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use