retitle 1055881 Linux 6.7-rc1 / Linux 6.6.1 UBSan errors
forwarded 1055881 https://www.virtualbox.org/ticket/21877
thanks

I found the "invalid opcode" was caused by CONFIG_UBSAN_TRAP=y, that was
set by the hardening.config from linux 6.7-rc1. Using the same options I
can reproduce the bug on 6.6.1, too.

This is also reported upstream as https://www.virtualbox.org/ticket/21877

Changing CONFIG_UBSAN_TRAP to no shows these errors in the log (see
attachment.

Sorry for the wrong noise, but I suggest to keep this bug open, since
there is no similar bug reported.

    Ingo
-- 
const_cast<long double>(Λ)
[   17.127943] vboxdrv: loading out-of-tree module taints kernel.
[   17.132074] vboxdrv: Found 2 processor cores/threads
[   17.133888] 
================================================================================
[   17.134091] UBSAN: array-index-out-of-bounds in 
/var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/common/log/log.c:1791:41
[   17.134304] index 1 is out of range for type 'uint32_t [1]'
[   17.134521] CPU: 1 PID: 1988 Comm: modprobe Tainted: G           O       
6.6.1-pinguin20231116 #1
[   17.134755] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H97 
Anniversary, BIOS P1.20 12/15/2014
[   17.135004] Call Trace:
[   17.135259]  <TASK>
[   17.135516]  dump_stack_lvl+0x32/0x40
[   17.135782]  __ubsan_handle_out_of_bounds+0xc3/0x100
[   17.136055]  VBoxHost_RTLogGroupSettings+0x472/0x490 [vboxdrv]
[   17.136347]  ? rtR0MemAllocEx+0x52/0xc0 [vboxdrv]
[   17.136573]  VBoxHost_RTLogCreateExV+0x27a/0x480 [vboxdrv]
[   17.136800]  VBoxHost_RTLogCreate+0x6a/0x90 [vboxdrv]
[   17.137030]  ? rtR0MemAllocEx+0x52/0xc0 [vboxdrv]
[   17.137263]  supdrvInitDevExt+0x54/0x320 [vboxdrv]
[   17.137498]  VBoxDrvLinuxInit+0x82/0x1000 [vboxdrv]
[   17.137738]  ? 0xffffffffc05f5000
[   17.137962]  do_one_initcall+0x8e/0x2c0
[   17.138190]  do_init_module+0x7d/0x230
[   17.138423]  init_module_from_file+0x81/0xc0
[   17.138658]  idempotent_init_module+0x119/0x230
[   17.138897]  __x64_sys_finit_module+0x4d/0x80
[   17.139140]  do_syscall_64+0x56/0xb0
[   17.139385]  entry_SYSCALL_64_after_hwframe+0x46/0xb0
[   17.139636] RIP: 0033:0x7fb8a591eee9
[   17.139888] Code: 08 89 e8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 48 89 
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d ff 1e 0d 00 f7 d8 64 89 01 48
[   17.140183] RSP: 002b:00007fff225703a8 EFLAGS: 00000246 ORIG_RAX: 
0000000000000139
[   17.140496] RAX: ffffffffffffffda RBX: 0000555e4ea0e600 RCX: 00007fb8a591eee9
[   17.140814] RDX: 0000000000000000 RSI: 0000555e4d89598b RDI: 0000000000000003
[   17.141137] RBP: 0000000000000000 R08: 0000000000000060 R09: 0000555e4ea0f340
[   17.141464] R10: 0000000000000038 R11: 0000000000000246 R12: 0000555e4d89598b
[   17.141794] R13: 0000000000040000 R14: 0000555e4ea0e680 R15: 0000000000000000
[   17.142130]  </TASK>
[   17.142471] 
================================================================================
[   17.142843] 
================================================================================
[   17.143196] UBSAN: array-index-out-of-bounds in 
/var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:399:33
[   17.143561] index 1 is out of range for type 'page *[1]'
[   17.143933] CPU: 1 PID: 1988 Comm: modprobe Tainted: G           O       
6.6.1-pinguin20231116 #1
[   17.144313] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H97 
Anniversary, BIOS P1.20 12/15/2014
[   17.144703] Call Trace:
[   17.145097]  <TASK>
[   17.145495]  dump_stack_lvl+0x32/0x40
[   17.145902]  __ubsan_handle_out_of_bounds+0xc3/0x100
[   17.146311]  rtR0MemObjLinuxAllocPages+0x325/0x340 [vboxdrv]
[   17.146746]  rtR0MemObjNativeAllocCont+0x5a/0x110 [vboxdrv]
[   17.147183]  supdrvGipCreate+0x59/0xc30 [vboxdrv]
[   17.147623]  ? rtR0MemAllocEx+0x52/0xc0 [vboxdrv]
[   17.148068]  supdrvInitDevExt+0x148/0x320 [vboxdrv]
[   17.148516]  VBoxDrvLinuxInit+0x82/0x1000 [vboxdrv]
[   17.148966]  ? 0xffffffffc05f5000
[   17.149401]  do_one_initcall+0x8e/0x2c0
[   17.149839]  do_init_module+0x7d/0x230
[   17.150280]  init_module_from_file+0x81/0xc0
[   17.150725]  idempotent_init_module+0x119/0x230
[   17.151177]  __x64_sys_finit_module+0x4d/0x80
[   17.151621]  do_syscall_64+0x56/0xb0
[   17.152065]  entry_SYSCALL_64_after_hwframe+0x46/0xb0
[   17.152510] RIP: 0033:0x7fb8a591eee9
[   17.152951] Code: 08 89 e8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 48 89 
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d ff 1e 0d 00 f7 d8 64 89 01 48
[   17.153431] RSP: 002b:00007fff225703a8 EFLAGS: 00000246 ORIG_RAX: 
0000000000000139
[   17.153925] RAX: ffffffffffffffda RBX: 0000555e4ea0e600 RCX: 00007fb8a591eee9
[   17.154416] RDX: 0000000000000000 RSI: 0000555e4d89598b RDI: 0000000000000003
[   17.154904] RBP: 0000000000000000 R08: 0000000000000060 R09: 0000555e4ea0f340
[   17.155388] R10: 0000000000000038 R11: 0000000000000246 R12: 0000555e4d89598b
[   17.155869] R13: 0000000000040000 R14: 0000555e4ea0e680 R15: 0000000000000000
[   17.156352]  </TASK>
[   17.156830] 
================================================================================
[   17.157312] 
================================================================================
[   17.157770] UBSAN: array-index-out-of-bounds in 
/var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:596:45
[   17.158234] index 2 is out of range for type 'page *[1]'
[   17.158694] CPU: 1 PID: 1988 Comm: modprobe Tainted: G           O       
6.6.1-pinguin20231116 #1
[   17.159155] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H97 
Anniversary, BIOS P1.20 12/15/2014
[   17.159616] Call Trace:
[   17.160080]  <TASK>
[   17.160540]  dump_stack_lvl+0x32/0x40
[   17.161003]  __ubsan_handle_out_of_bounds+0xc3/0x100
[   17.161466]  rtR0MemObjLinuxVMap+0xa6/0xb0 [vboxdrv]
[   17.161946]  rtR0MemObjNativeAllocCont+0x71/0x110 [vboxdrv]
[   17.162427]  supdrvGipCreate+0x59/0xc30 [vboxdrv]
[   17.162908]  ? rtR0MemAllocEx+0x52/0xc0 [vboxdrv]
[   17.163388]  supdrvInitDevExt+0x148/0x320 [vboxdrv]
[   17.163869]  VBoxDrvLinuxInit+0x82/0x1000 [vboxdrv]
[   17.164346]  ? 0xffffffffc05f5000
[   17.164807]  do_one_initcall+0x8e/0x2c0
[   17.165267]  do_init_module+0x7d/0x230
[   17.165728]  init_module_from_file+0x81/0xc0
[   17.166188]  idempotent_init_module+0x119/0x230
[   17.166649]  __x64_sys_finit_module+0x4d/0x80
[   17.167111]  do_syscall_64+0x56/0xb0
[   17.167571]  entry_SYSCALL_64_after_hwframe+0x46/0xb0
[   17.168035] RIP: 0033:0x7fb8a591eee9
[   17.168494] Code: 08 89 e8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 48 89 
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d ff 1e 0d 00 f7 d8 64 89 01 48
[   17.168967] RSP: 002b:00007fff225703a8 EFLAGS: 00000246 ORIG_RAX: 
0000000000000139
[   17.169432] RAX: ffffffffffffffda RBX: 0000555e4ea0e600 RCX: 00007fb8a591eee9
[   17.169894] RDX: 0000000000000000 RSI: 0000555e4d89598b RDI: 0000000000000003
[   17.170356] RBP: 0000000000000000 R08: 0000000000000060 R09: 0000555e4ea0f340
[   17.170817] R10: 0000000000000038 R11: 0000000000000246 R12: 0000555e4d89598b
[   17.171279] R13: 0000000000040000 R14: 0000555e4ea0e680 R15: 0000000000000000
[   17.171743]  </TASK>
[   17.172203] 
================================================================================
[   17.193763] 
================================================================================
[   17.194254] UBSAN: array-index-out-of-bounds in 
/var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/SUPDrvGip.c:904:43
[   17.194732] index 1 is out of range for type 'SUPGIPCPU [1]'
[   17.195200] CPU: 1 PID: 1988 Comm: modprobe Tainted: G           O       
6.6.1-pinguin20231116 #1
[   17.195673] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H97 
Anniversary, BIOS P1.20 12/15/2014
[   17.196148] Call Trace:
[   17.196616]  <TASK>
[   17.197082]  dump_stack_lvl+0x32/0x40
[   17.197553]  __ubsan_handle_out_of_bounds+0xc3/0x100
[   17.198024]  supdrvGipInitSetCpuFreq+0x26f/0x280 [vboxdrv]
[   17.198517]  supdrvGipInitMeasureTscFreq+0x13a/0x530 [vboxdrv]
[   17.199006]  supdrvGipCreate+0x769/0xc30 [vboxdrv]
[   17.199495]  supdrvInitDevExt+0x148/0x320 [vboxdrv]
[   17.199984]  VBoxDrvLinuxInit+0x82/0x1000 [vboxdrv]
[   17.200473]  ? 0xffffffffc05f5000
[   17.200943]  do_one_initcall+0x8e/0x2c0
[   17.201414]  do_init_module+0x7d/0x230
[   17.201884]  init_module_from_file+0x81/0xc0
[   17.202355]  idempotent_init_module+0x119/0x230
[   17.202829]  __x64_sys_finit_module+0x4d/0x80
[   17.203299]  do_syscall_64+0x56/0xb0
[   17.203770]  entry_SYSCALL_64_after_hwframe+0x46/0xb0
[   17.204243] RIP: 0033:0x7fb8a591eee9
[   17.204715] Code: 08 89 e8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 48 89 
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d ff 1e 0d 00 f7 d8 64 89 01 48
[   17.205222] RSP: 002b:00007fff225703a8 EFLAGS: 00000246 ORIG_RAX: 
0000000000000139
[   17.205719] RAX: ffffffffffffffda RBX: 0000555e4ea0e600 RCX: 00007fb8a591eee9
[   17.206194] RDX: 0000000000000000 RSI: 0000555e4d89598b RDI: 0000000000000003
[   17.206668] RBP: 0000000000000000 R08: 0000000000000060 R09: 0000555e4ea0f340
[   17.207141] R10: 0000000000000038 R11: 0000000000000246 R12: 0000555e4d89598b
[   17.207614] R13: 0000000000040000 R14: 0000555e4ea0e680 R15: 0000000000000000
[   17.208089]  </TASK>
[   17.208564] 
================================================================================
[   17.209223] 
================================================================================
[   17.209698] UBSAN: array-index-out-of-bounds in 
/var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/SUPDrvGip.c:1392:24
[   17.210167] index 1 is out of range for type 'SUPGIPCPU [1]'
[   17.210630] CPU: 0 PID: 1988 Comm: modprobe Tainted: G           O       
6.6.1-pinguin20231116 #1
[   17.211097] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H97 
Anniversary, BIOS P1.20 12/15/2014
[   17.211564] Call Trace:
[   17.212026]  <TASK>
[   17.212477]  dump_stack_lvl+0x32/0x40
[   17.212936]  __ubsan_handle_out_of_bounds+0xc3/0x100
[   17.213393]  supdrvGipMpEventOnlineOrInitOnCpu+0x372/0x4d0 [vboxdrv]
[   17.213878]  VBoxHost_RTMpOnAll+0x133/0x2c0 [vboxdrv]
[   17.214380]  ? supdrvGipMpEventOnlineCallback+0x10/0x10 [vboxdrv]
[   17.214885]  ? rtR0MemAllocEx+0x52/0xc0 [vboxdrv]
[   17.215391]  ? rtR0MemAllocEx+0x52/0xc0 [vboxdrv]
[   17.215897]  ? VBoxHost_RTSpinlockAcquire+0x17/0x30 [vboxdrv]
[   17.216401]  ? VBoxHost_RTMpNotificationRegister+0x1a6/0x1e0 [vboxdrv]
[   17.216910]  supdrvGipCreate+0x49d/0xc30 [vboxdrv]
[   17.217416]  supdrvInitDevExt+0x148/0x320 [vboxdrv]
[   17.217925]  VBoxDrvLinuxInit+0x82/0x1000 [vboxdrv]
[   17.218429]  ? 0xffffffffc05f5000
[   17.218914]  do_one_initcall+0x8e/0x2c0
[   17.219403]  do_init_module+0x7d/0x230
[   17.219893]  init_module_from_file+0x81/0xc0
[   17.220382]  idempotent_init_module+0x119/0x230
[   17.220870]  __x64_sys_finit_module+0x4d/0x80
[   17.221357]  do_syscall_64+0x56/0xb0
[   17.221818]  entry_SYSCALL_64_after_hwframe+0x46/0xb0
[   17.222257] RIP: 0033:0x7fb8a591eee9
[   17.222692] Code: 08 89 e8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 48 89 
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d ff 1e 0d 00 f7 d8 64 89 01 48
[   17.223164] RSP: 002b:00007fff225703a8 EFLAGS: 00000246 ORIG_RAX: 
0000000000000139
[   17.223649] RAX: ffffffffffffffda RBX: 0000555e4ea0e600 RCX: 00007fb8a591eee9
[   17.224137] RDX: 0000000000000000 RSI: 0000555e4d89598b RDI: 0000000000000003
[   17.224624] RBP: 0000000000000000 R08: 0000000000000060 R09: 0000555e4ea0f340
[   17.225109] R10: 0000000000000038 R11: 0000000000000246 R12: 0000555e4d89598b
[   17.225587] R13: 0000000000040000 R14: 0000555e4ea0e680 R15: 0000000000000000
[   17.226074]  </TASK>
[   17.226551] 
================================================================================
[   17.227035] 
================================================================================
[   17.227493] UBSAN: array-index-out-of-bounds in 
/var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/SUPDrvGip.c:1401:13
[   17.227948] index 1 is out of range for type 'SUPGIPCPU [1]'
[   17.228395] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G           O       
6.6.1-pinguin20231116 #1
[   17.228852] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H97 
Anniversary, BIOS P1.20 12/15/2014
[   17.229315] Call Trace:
[   17.229779]  <TASK>
[   17.230239]  dump_stack_lvl+0x32/0x40
[   17.230703]  __ubsan_handle_out_of_bounds+0xc3/0x100
[   17.231167]  supdrvGipFindOrAllocCpuIndexForCpuId.part.0+0xaf/0xc0 [vboxdrv]
[   17.231654]  supdrvGipMpEventOnlineOrInitOnCpu+0x238/0x4d0 [vboxdrv]
[   17.232139]  rtmpLinuxAllWrapper+0x56/0x70 [vboxdrv]
[   17.232629]  __flush_smp_call_function_queue+0xd7/0x1e0
[   17.233097]  flush_smp_call_function_queue+0x25/0x50
[   17.233567]  do_idle+0x153/0x230
[   17.234037]  cpu_startup_entry+0x21/0x30
[   17.234508]  start_secondary+0xe8/0x100
[   17.234978]  secondary_startup_64_no_verify+0x166/0x16b
[   17.235449]  </TASK>
[   17.235917] 
================================================================================
[   17.236394] 
================================================================================
[   17.236842] UBSAN: array-index-out-of-bounds in 
/var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/SUPDrvGip.c:1460:35
[   17.237274] index 1 is out of range for type 'SUPGIPCPU [1]'
[   17.237705] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G           O       
6.6.1-pinguin20231116 #1
[   17.238142] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H97 
Anniversary, BIOS P1.20 12/15/2014
[   17.238585] Call Trace:
[   17.239028]  <TASK>
[   17.239468]  dump_stack_lvl+0x32/0x40
[   17.239907]  __ubsan_handle_out_of_bounds+0xc3/0x100
[   17.240344]  supdrvGipMpEventOnlineOrInitOnCpu+0x398/0x4d0 [vboxdrv]
[   17.240805]  rtmpLinuxAllWrapper+0x56/0x70 [vboxdrv]
[   17.241264]  __flush_smp_call_function_queue+0xd7/0x1e0
[   17.241698]  flush_smp_call_function_queue+0x25/0x50
[   17.242127]  do_idle+0x153/0x230
[   17.242551]  cpu_startup_entry+0x21/0x30
[   17.242968]  start_secondary+0xe8/0x100
[   17.243386]  secondary_startup_64_no_verify+0x166/0x16b
[   17.243805]  </TASK>
[   17.244221] 
================================================================================
[   17.244644] 
================================================================================
[   17.245060] UBSAN: array-index-out-of-bounds in 
/var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/SUPDrvGip.c:1461:35
[   17.245483] index 1 is out of range for type 'SUPGIPCPU [1]'
[   17.245905] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G           O       
6.6.1-pinguin20231116 #1
[   17.246338] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H97 
Anniversary, BIOS P1.20 12/15/2014
[   17.246775] Call Trace:
[   17.247212]  <TASK>
[   17.247646]  dump_stack_lvl+0x32/0x40
[   17.248083]  __ubsan_handle_out_of_bounds+0xc3/0x100
[   17.248520]  supdrvGipMpEventOnlineOrInitOnCpu+0x454/0x4d0 [vboxdrv]
[   17.248977]  rtmpLinuxAllWrapper+0x56/0x70 [vboxdrv]
[   17.249437]  __flush_smp_call_function_queue+0xd7/0x1e0
[   17.249877]  flush_smp_call_function_queue+0x25/0x50
[   17.250319]  do_idle+0x153/0x230
[   17.250761]  cpu_startup_entry+0x21/0x30
[   17.251205]  start_secondary+0xe8/0x100
[   17.251645]  secondary_startup_64_no_verify+0x166/0x16b
[   17.252088]  </TASK>
[   17.252524] 
================================================================================
[   17.252945] 
================================================================================
[   17.253342] UBSAN: array-index-out-of-bounds in 
/var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/SUPDrvGip.c:1462:5
[   17.253742] index 1 is out of range for type 'SUPGIPCPU [1]'
[   17.254144] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G           O       
6.6.1-pinguin20231116 #1
[   17.254548] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H97 
Anniversary, BIOS P1.20 12/15/2014
[   17.254962] Call Trace:
[   17.255375]  <TASK>
[   17.255784]  dump_stack_lvl+0x32/0x40
[   17.256190]  __ubsan_handle_out_of_bounds+0xc3/0x100
[   17.256600]  supdrvGipMpEventOnlineOrInitOnCpu+0x430/0x4d0 [vboxdrv]
[   17.257029]  rtmpLinuxAllWrapper+0x56/0x70 [vboxdrv]
[   17.257452]  __flush_smp_call_function_queue+0xd7/0x1e0
[   17.257856]  flush_smp_call_function_queue+0x25/0x50
[   17.258253]  do_idle+0x153/0x230
[   17.258641]  cpu_startup_entry+0x21/0x30
[   17.259030]  start_secondary+0xe8/0x100
[   17.259420]  secondary_startup_64_no_verify+0x166/0x16b
[   17.259811]  </TASK>
[   17.260198] 
================================================================================
[   17.260593] 
================================================================================
[   17.260983] UBSAN: array-index-out-of-bounds in 
/var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/SUPDrvGip.c:1464:16
[   17.261379] index 1 is out of range for type 'SUPGIPCPU [1]'
[   17.261772] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G           O       
6.6.1-pinguin20231116 #1
[   17.262174] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H97 
Anniversary, BIOS P1.20 12/15/2014
[   17.262584] Call Trace:
[   17.262995]  <TASK>
[   17.263404]  dump_stack_lvl+0x32/0x40
[   17.263814]  __ubsan_handle_out_of_bounds+0xc3/0x100
[   17.264223]  supdrvGipMpEventOnlineOrInitOnCpu+0x40c/0x4d0 [vboxdrv]
[   17.264654]  rtmpLinuxAllWrapper+0x56/0x70 [vboxdrv]
[   17.265083]  __flush_smp_call_function_queue+0xd7/0x1e0
[   17.265490]  flush_smp_call_function_queue+0x25/0x50
[   17.265892]  do_idle+0x153/0x230
[   17.266290]  cpu_startup_entry+0x21/0x30
[   17.266680]  start_secondary+0xe8/0x100
[   17.267069]  secondary_startup_64_no_verify+0x166/0x16b
[   17.267460]  </TASK>
[   17.267848] 
================================================================================
[   17.268244] 
================================================================================
[   17.268634] UBSAN: array-index-out-of-bounds in 
/var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/SUPDrvGip.c:1465:16
[   17.269031] index 1 is out of range for type 'SUPGIPCPU [1]'
[   17.269428] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G           O       
6.6.1-pinguin20231116 #1
[   17.269833] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H97 
Anniversary, BIOS P1.20 12/15/2014
[   17.270244] Call Trace:
[   17.270657]  <TASK>
[   17.271067]  dump_stack_lvl+0x32/0x40
[   17.271479]  __ubsan_handle_out_of_bounds+0xc3/0x100
[   17.271891]  supdrvGipMpEventOnlineOrInitOnCpu+0x3e8/0x4d0 [vboxdrv]
[   17.272325]  rtmpLinuxAllWrapper+0x56/0x70 [vboxdrv]
[   17.272755]  __flush_smp_call_function_queue+0xd7/0x1e0
[   17.273162]  flush_smp_call_function_queue+0x25/0x50
[   17.273567]  do_idle+0x153/0x230
[   17.273966]  cpu_startup_entry+0x21/0x30
[   17.274357]  start_secondary+0xe8/0x100
[   17.274748]  secondary_startup_64_no_verify+0x166/0x16b
[   17.275144]  </TASK>
[   17.275534] 
================================================================================
[   17.275930] 
================================================================================
[   17.276322] UBSAN: array-index-out-of-bounds in 
/var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/SUPDrvGip.c:1491:5
[   17.276722] index 1 is out of range for type 'SUPGIPCPU [1]'
[   17.277121] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G           O       
6.6.1-pinguin20231116 #1
[   17.277527] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H97 
Anniversary, BIOS P1.20 12/15/2014
[   17.277941] Call Trace:
[   17.278356]  <TASK>
[   17.278768]  dump_stack_lvl+0x32/0x40
[   17.279182]  __ubsan_handle_out_of_bounds+0xc3/0x100
[   17.279594]  supdrvGipMpEventOnlineOrInitOnCpu+0x470/0x4d0 [vboxdrv]
[   17.280030]  rtmpLinuxAllWrapper+0x56/0x70 [vboxdrv]
[   17.280463]  __flush_smp_call_function_queue+0xd7/0x1e0
[   17.280874]  flush_smp_call_function_queue+0x25/0x50
[   17.281280]  do_idle+0x153/0x230
[   17.281680]  cpu_startup_entry+0x21/0x30
[   17.282073]  start_secondary+0xe8/0x100
[   17.282464]  secondary_startup_64_no_verify+0x166/0x16b
[   17.282858]  </TASK>
[   17.283250] 
================================================================================
[   17.283801] vboxdrv: TSC mode is Invariant, tentative frequency 3399995457 Hz
[   17.284229] vboxdrv: Successfully loaded version 7.0.12_Debian r159484 
(interface 0x00330004)
[   17.520830] 
================================================================================
[   17.522435] UBSAN: array-index-out-of-bounds in 
/var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/common/log/log.c:551:41
[   17.524056] index 344 is out of range for type 'uint32_t [1]'
[   17.525506] CPU: 0 PID: 1996 Comm: modprobe Tainted: G           O       
6.6.1-pinguin20231116 #1
[   17.526960] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H97 
Anniversary, BIOS P1.20 12/15/2014
[   17.528435] Call Trace:
[   17.529914]  <TASK>
[   17.531385]  dump_stack_lvl+0x32/0x40
[   17.532857]  __ubsan_handle_out_of_bounds+0xc3/0x100
[   17.534341]  VBoxHost_RTLogRelGetDefaultInstanceEx+0x76/0x80 [vboxdrv]
[   17.535854]  VBoxNetFltLinuxInit+0x39/0x1000 [vboxnetflt]
[   17.537328]  ? 0xffffffffc0600000
[   17.538765]  do_one_initcall+0x8e/0x2c0
[   17.540184]  do_init_module+0x7d/0x230
[   17.541576]  init_module_from_file+0x81/0xc0
[   17.542977]  idempotent_init_module+0x119/0x230
[   17.544380]  __x64_sys_finit_module+0x4d/0x80
[   17.545777]  do_syscall_64+0x56/0xb0
[   17.547165]  ? syscall_exit_to_user_mode+0x2b/0x40
[   17.548549]  ? do_syscall_64+0x62/0xb0
[   17.549931]  ? exc_page_fault+0x413/0x690
[   17.551308]  entry_SYSCALL_64_after_hwframe+0x46/0xb0
[   17.552694] RIP: 0033:0x7f69b5b1eee9
[   17.554071] Code: 08 89 e8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 48 89 
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d ff 1e 0d 00 f7 d8 64 89 01 48
[   17.555597] RSP: 002b:00007ffffb42c468 EFLAGS: 00000246 ORIG_RAX: 
0000000000000139
[   17.557170] RAX: ffffffffffffffda RBX: 000055bfc72ef690 RCX: 00007f69b5b1eee9
[   17.558744] RDX: 0000000000000000 RSI: 000055bfc56f198b RDI: 0000000000000003
[   17.560313] RBP: 0000000000000000 R08: 0000000000000060 R09: 000055bfc72f0340
[   17.561893] R10: 0000000000000038 R11: 0000000000000246 R12: 000055bfc56f198b
[   17.563454] R13: 0000000000040000 R14: 000055bfc72ef5c0 R15: 0000000000000000
[   17.565003]  </TASK>
[   17.566565] 
================================================================================
[   17.567290] 
================================================================================
[   17.567951] UBSAN: array-index-out-of-bounds in 
/var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/common/log/log.c:4161:34
[   17.568624] index 344 is out of range for type 'uint32_t [1]'
[   17.569302] CPU: 0 PID: 1996 Comm: modprobe Tainted: G           O       
6.6.1-pinguin20231116 #1
[   17.569989] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H97 
Anniversary, BIOS P1.20 12/15/2014
[   17.570680] Call Trace:
[   17.571374]  <TASK>
[   17.572066]  dump_stack_lvl+0x32/0x40
[   17.572758]  __ubsan_handle_out_of_bounds+0xc3/0x100
[   17.573453]  VBoxHost_RTLogLoggerExV+0x3ff/0x5b0 [vboxdrv]
[   17.574169]  ? _printk+0x5b/0x80
[   17.574870]  ? dump_stack_lvl+0x3e/0x40
[   17.575563]  VBoxHost_RTLogLoggerEx+0x4c/0x70 [vboxdrv]
[   17.576276]  ? VBoxHost_RTLogRelGetDefaultInstanceEx+0x76/0x80 [vboxdrv]
[   17.576986]  VBoxNetFltLinuxInit+0x57/0x1000 [vboxnetflt]
[   17.577692]  ? 0xffffffffc0600000
[   17.578383]  do_one_initcall+0x8e/0x2c0
[   17.579067]  do_init_module+0x7d/0x230
[   17.579746]  init_module_from_file+0x81/0xc0
[   17.580416]  idempotent_init_module+0x119/0x230
[   17.581072]  __x64_sys_finit_module+0x4d/0x80
[   17.581730]  do_syscall_64+0x56/0xb0
[   17.582388]  ? syscall_exit_to_user_mode+0x2b/0x40
[   17.583046]  ? do_syscall_64+0x62/0xb0
[   17.583701]  ? exc_page_fault+0x413/0x690
[   17.584351]  entry_SYSCALL_64_after_hwframe+0x46/0xb0
[   17.585002] RIP: 0033:0x7f69b5b1eee9
[   17.585652] Code: 08 89 e8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 48 89 
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d ff 1e 0d 00 f7 d8 64 89 01 48
[   17.586360] RSP: 002b:00007ffffb42c468 EFLAGS: 00000246 ORIG_RAX: 
0000000000000139
[   17.587091] RAX: ffffffffffffffda RBX: 000055bfc72ef690 RCX: 00007f69b5b1eee9
[   17.587825] RDX: 0000000000000000 RSI: 000055bfc56f198b RDI: 0000000000000003
[   17.588562] RBP: 0000000000000000 R08: 0000000000000060 R09: 000055bfc72f0340
[   17.589298] R10: 0000000000000038 R11: 0000000000000246 R12: 000055bfc56f198b
[   17.590029] R13: 0000000000040000 R14: 000055bfc72ef5c0 R15: 0000000000000000
[   17.590757]  </TASK>
[   17.591485] 
================================================================================
[   17.591973] VBoxNetFlt: Successfully started.
[   17.600097] VBoxNetAdp: Successfully started.

Reply via email to