mkubecek / vmware-host-modules

Patches needed to build VMware (Player and Workstation) host modules against recent kernels
GNU General Public License v2.0
2.26k stars 364 forks source link

call trace happenned when boot on ubuntu24.04 #282

Open rayklaus opened 1 week ago

rayklaus commented 1 week ago

[一 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] [一 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] [一 9月 9 09:33:26 2024] ---[ end trace ]---

mhanbostanci commented 1 week ago

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] [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] [Wed Sep 11 19:03:34 2024] ---[ end trace ]---