vmware-host-modules icon indicating copy to clipboard operation
vmware-host-modules copied to clipboard

call trace happenned when boot on ubuntu24.04

Open rayklaus opened this issue 1 year ago • 1 comments

[一 9月 9 09:33:26 2024] ------------[ cut here ]------------ [一 9月 9 09:33:26 2024] UBSAN: array-index-out-of-bounds in /data/code/vmware-host-modules/vmmon-only/common/vmx86.c:3661:38 [一 9月 9 09:33:26 2024] index 1 is out of range for type 'MSRReply [*]' [一 9月 9 09:33:26 2024] CPU: 0 PID: 1843 Comm: modprobe Tainted: G OE 6.8.0-40-generic #40-Ubuntu [一 9月 9 09:33:26 2024] Hardware name: LENOVO 10SMA08KCD/3133, BIOS M1UKT62A 01/04/2021 [一 9月 9 09:33:26 2024] Call Trace: [一 9月 9 09:33:26 2024] <TASK> [一 9月 9 09:33:26 2024] dump_stack_lvl+0x76/0xa0 [一 9月 9 09:33:26 2024] dump_stack+0x10/0x20 [一 9月 9 09:33:26 2024] __ubsan_handle_out_of_bounds+0xc6/0x110 [一 9月 9 09:33:26 2024] Vmx86GenFindCommonIntelVTCap+0x149b/0x1540 [vmmon] [一 9月 9 09:33:26 2024] Vmx86_CheckMSRUniformity+0x695/0x700 [vmmon] [一 9月 9 09:33:26 2024] ? __pfx_LinuxDriverInit+0x10/0x10 [vmmon] [一 9月 9 09:33:26 2024] LinuxDriverInit+0x57/0x1b0 [vmmon] [一 9月 9 09:33:26 2024] ? __pfx_LinuxDriverInit+0x10/0x10 [vmmon] [一 9月 9 09:33:26 2024] do_one_initcall+0x5b/0x340 [一 9月 9 09:33:26 2024] do_init_module+0x97/0x290 [一 9月 9 09:33:26 2024] load_module+0xba1/0xcf0 [一 9月 9 09:33:26 2024] ? security_kernel_post_read_file+0x75/0x90 [一 9月 9 09:33:26 2024] init_module_from_file+0x96/0x100 [一 9月 9 09:33:26 2024] ? init_module_from_file+0x96/0x100 [一 9月 9 09:33:26 2024] idempotent_init_module+0x11c/0x2b0 [一 9月 9 09:33:26 2024] __x64_sys_finit_module+0x64/0xd0 [一 9月 9 09:33:26 2024] x64_sys_call+0x1d6e/0x25c0 [一 9月 9 09:33:26 2024] do_syscall_64+0x7f/0x180 [一 9月 9 09:33:26 2024] ? restore_fpregs_from_fpstate+0x47/0xf0 [一 9月 9 09:33:26 2024] ? switch_fpu_return+0x55/0xf0 [一 9月 9 09:33:26 2024] ? syscall_exit_to_user_mode+0x89/0x260 [一 9月 9 09:33:26 2024] ? do_syscall_64+0x8c/0x180 [一 9月 9 09:33:26 2024] ? putname+0x5b/0x80 [一 9月 9 09:33:26 2024] ? restore_fpregs_from_fpstate+0x47/0xf0 [一 9月 9 09:33:26 2024] ? switch_fpu_return+0x55/0xf0 [一 9月 9 09:33:26 2024] ? syscall_exit_to_user_mode+0x89/0x260 [一 9月 9 09:33:26 2024] ? do_syscall_64+0x8c/0x180 [一 9月 9 09:33:26 2024] ? putname+0x5b/0x80 [一 9月 9 09:33:26 2024] ? vfs_fstatat+0xb5/0xe0 [一 9月 9 09:33:26 2024] ? __do_sys_newfstatat+0x44/0x90 [一 9月 9 09:33:26 2024] ? syscall_exit_to_user_mode+0x89/0x260 [一 9月 9 09:33:26 2024] ? ext4_llseek+0xc3/0x130 [一 9月 9 09:33:26 2024] ? ksys_lseek+0x7d/0xd0 [一 9月 9 09:33:26 2024] ? syscall_exit_to_user_mode+0x89/0x260 [一 9月 9 09:33:26 2024] ? do_syscall_64+0x8c/0x180 [一 9月 9 09:33:26 2024] ? irqentry_exit_to_user_mode+0x7e/0x260 [一 9月 9 09:33:26 2024] ? irqentry_exit+0x43/0x50 [一 9月 9 09:33:26 2024] ? clear_bhb_loop+0x15/0x70 [一 9月 9 09:33:26 2024] ? clear_bhb_loop+0x15/0x70 [一 9月 9 09:33:26 2024] ? clear_bhb_loop+0x15/0x70 [一 9月 9 09:33:26 2024] entry_SYSCALL_64_after_hwframe+0x78/0x80 [一 9月 9 09:33:26 2024] RIP: 0033:0x7ad3f772725d [一 9月 9 09:33:26 2024] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 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 8b bb 0d 00 f7 d8 64 89 01 48 [一 9月 9 09:33:26 2024] RSP: 002b:00007fff80a55b88 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [一 9月 9 09:33:26 2024] RAX: ffffffffffffffda RBX: 00005a6ae257de70 RCX: 00007ad3f772725d [一 9月 9 09:33:26 2024] RDX: 0000000000000000 RSI: 00005a6ae1600e52 RDI: 0000000000000003 [一 9月 9 09:33:26 2024] RBP: 00007fff80a55c40 R08: 0000000000000040 R09: 0000000000000002 [一 9月 9 09:33:26 2024] R10: 00007ad3f7803b20 R11: 0000000000000246 R12: 00005a6ae1600e52 [一 9月 9 09:33:26 2024] R13: 0000000000040000 R14: 00005a6ae257de10 R15: 0000000000000000 [一 9月 9 09:33:26 2024] </TASK> [一 9月 9 09:33:26 2024] ---[ end trace ]---

rayklaus avatar Sep 09 '24 01:09 rayklaus

I am experiencing a similar situation.

[Wed Sep 11 19:03:34 2024] ------------[ cut here ]------------ [Wed Sep 11 19:03:34 2024] UBSAN: array-index-out-of-bounds in /tmp/modconfig-ndtqk2/vmmon-only/common/vmx86.c:2340:26 [Wed Sep 11 19:03:34 2024] index 1 is out of range for type 'VMMemMgmtInfo [1]' [Wed Sep 11 19:03:34 2024] CPU: 15 PID: 4299 Comm: vmx-vcpu-5 Tainted: G OE 6.8.0-44-generic #44-Ubuntu [Wed Sep 11 19:03:34 2024] Hardware name: Dell Inc. Precision 3561/03MFGF, BIOS 1.30.0 04/18/2024 [Wed Sep 11 19:03:34 2024] Call Trace: [Wed Sep 11 19:03:34 2024] <TASK> [Wed Sep 11 19:03:34 2024] dump_stack_lvl+0x76/0xa0 [Wed Sep 11 19:03:34 2024] dump_stack+0x10/0x20 [Wed Sep 11 19:03:34 2024] __ubsan_handle_out_of_bounds+0xc6/0x110 [Wed Sep 11 19:03:34 2024] Vmx86_GetMemInfo+0x330/0x340 [vmmon] [Wed Sep 11 19:03:34 2024] LinuxDriver_Ioctl+0x41a/0x1320 [vmmon] [Wed Sep 11 19:03:34 2024] ? ct_kernel_exit.isra.0+0x90/0xc0 [Wed Sep 11 19:03:34 2024] ? syscall_exit_to_user_mode+0x165/0x260 [Wed Sep 11 19:03:34 2024] ? do_syscall_64+0x8c/0x180 [Wed Sep 11 19:03:34 2024] __x64_sys_ioctl+0xa0/0xf0 [Wed Sep 11 19:03:34 2024] ? __x64_sys_ioctl+0xa0/0xf0 [Wed Sep 11 19:03:34 2024] x64_sys_call+0x143b/0x25c0 [Wed Sep 11 19:03:34 2024] do_syscall_64+0x7f/0x180 [Wed Sep 11 19:03:34 2024] ? do_syscall_64+0x8c/0x180 [Wed Sep 11 19:03:34 2024] ? __ct_user_enter+0x70/0x100 [Wed Sep 11 19:03:34 2024] ? syscall_exit_to_user_mode+0x165/0x260 [Wed Sep 11 19:03:34 2024] ? do_syscall_64+0x8c/0x180 [Wed Sep 11 19:03:34 2024] ? clear_bhb_loop+0x15/0x70 [Wed Sep 11 19:03:34 2024] ? clear_bhb_loop+0x15/0x70 [Wed Sep 11 19:03:34 2024] ? clear_bhb_loop+0x15/0x70 [Wed Sep 11 19:03:34 2024] entry_SYSCALL_64_after_hwframe+0x78/0x80 [Wed Sep 11 19:03:34 2024] RIP: 0033:0x72c801b24ded [Wed Sep 11 19:03:34 2024] Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00 [Wed Sep 11 19:03:34 2024] RSP: 002b:000072bed9ffe0f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [Wed Sep 11 19:03:34 2024] RAX: ffffffffffffffda RBX: 00005a155e10ec40 RCX: 000072c801b24ded [Wed Sep 11 19:03:34 2024] RDX: 000072bed9ffe158 RSI: 00000000000007df RDI: 000000000000000f [Wed Sep 11 19:03:34 2024] RBP: 000072bed9ffe140 R08: 00005a1560785e70 R09: 000072c7f4c2f9f8 [Wed Sep 11 19:03:34 2024] R10: 0000000000000000 R11: 0000000000000246 R12: 000072bed9ffe170 [Wed Sep 11 19:03:34 2024] R13: 0000004000185f3f R14: 0000000000000001 R15: 00000000ffffffff [Wed Sep 11 19:03:34 2024] </TASK> [Wed Sep 11 19:03:34 2024] ---[ end trace ]---

mhanbostanci avatar Sep 11 '24 16:09 mhanbostanci

Here on VMware Workstation in vmware-vmx on the host machine:

Mär 31 10:21:26 kernel: ------------[ cut here ]------------ Mär 31 10:21:26 kernel: UBSAN: array-index-out-of-bounds in /tmp/modconfig-4C86v9/vmmon-only/common/vmx86.c:2340:26 Mär 31 10:21:26 kernel: index 1 is out of range for type 'VMMemMgmtInfo [1]' Mär 31 10:21:26 kernel: CPU: 3 PID: 5279 Comm: vmware-vmx Tainted: P O 6.8.0-56-generic #58-Ubuntu Mär 31 10:21:26 kernel: Hardware name: HP HP Z4 G5 Workstation Desktop PC/8962, BIOS U61 Ver. 01.02.17 01/10/2025 Mär 31 10:21:26 kernel: Call Trace: Mär 31 10:21:26 kernel: <TASK> Mär 31 10:21:26 kernel: dump_stack_lvl+0x76/0xa0 Mär 31 10:21:26 kernel: dump_stack+0x10/0x20 Mär 31 10:21:26 kernel: __ubsan_handle_out_of_bounds+0xc6/0x110 Mär 31 10:21:26 kernel: Vmx86_GetMemInfo+0x330/0x340 [vmmon] Mär 31 10:21:26 kernel: LinuxDriver_Ioctl+0x41a/0x1320 [vmmon] Mär 31 10:21:26 kernel: ? LinuxDriver_Ioctl+0x529/0x1320 [vmmon] Mär 31 10:21:26 kernel: __x64_sys_ioctl+0xa0/0xf0 Mär 31 10:21:26 kernel: ? __x64_sys_ioctl+0xa0/0xf0 Mär 31 10:21:26 kernel: x64_sys_call+0x12a3/0x25a0 Mär 31 10:21:26 kernel: do_syscall_64+0x7f/0x180 Mär 31 10:21:26 kernel: ? __mod_memcg_state+0xc7/0x180 Mär 31 10:21:26 kernel: ? __x64_sys_ioctl+0xa0/0xf0 Mär 31 10:21:26 kernel: ? __x64_sys_ioctl+0xbb/0xf0 Mär 31 10:21:26 kernel: ? syscall_exit_to_user_mode+0x86/0x260 Mär 31 10:21:26 kernel: ? do_syscall_64+0x8c/0x180 Mär 31 10:21:26 kernel: ? __memcg_slab_free_hook+0x115/0x180 Mär 31 10:21:26 kernel: ? __memcg_slab_free_hook+0x115/0x180 Mär 31 10:21:26 kernel: ? __fput+0x15e/0x2e0 Mär 31 10:21:26 kernel: ? kmem_cache_free+0x458/0x480 Mär 31 10:21:26 kernel: ? __fput+0x15e/0x2e0 Mär 31 10:21:26 kernel: ? __fput_sync+0x1c/0x30 Mär 31 10:21:26 kernel: ? syscall_exit_to_user_mode+0x86/0x260 Mär 31 10:21:26 kernel: ? do_syscall_64+0x8c/0x180 Mär 31 10:21:26 kernel: ? syscall_exit_to_user_mode+0x86/0x260 Mär 31 10:21:26 kernel: ? do_syscall_64+0x8c/0x180 Mär 31 10:21:26 kernel: ? do_syscall_64+0x8c/0x180 Mär 31 10:21:26 kernel: ? irqentry_exit+0x43/0x50 Mär 31 10:21:26 kernel: entry_SYSCALL_64_after_hwframe+0x78/0x80 Mär 31 10:21:26 kernel: RIP: 0033:0x70aa5d924ded Mär 31 10:21:26 kernel: Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00 Mär 31 10:21:26 kernel: RSP: 002b:00007ffd9adbe340 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 Mär 31 10:21:26 kernel: RAX: ffffffffffffffda RBX: 000060738a92ae20 RCX: 000070aa5d924ded Mär 31 10:21:26 kernel: RDX: 00007ffd9adbe3a8 RSI: 00000000000007df RDI: 000000000000000f Mär 31 10:21:26 kernel: RBP: 00007ffd9adbe390 R08: 00006073c8f18010 R09: 0000000000000007 Mär 31 10:21:26 kernel: R10: 00006073c94847d0 R11: 0000000000000246 R12: 00006073c94847d0 Mär 31 10:21:26 kernel: R13: 0000000000000000 R14: 00007ffd9adbe3f0 R15: 00007ffd9adbe400 Mär 31 10:21:26 kernel: </TASK> Mär 31 10:21:26 kernel: ---[ end trace ]---

limpus64 avatar Mar 31 '25 08:03 limpus64

I have the same condition.

yiliufeng168 avatar Apr 01 '25 02:04 yiliufeng168

Duplicate. Use the search function in the issue tracker.

eku avatar Apr 01 '25 05:04 eku