Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vmware-workstation 17.5.1 issue with kernel 6.8.8-200.fc39 #243

Open
torehl opened this issue Apr 28, 2024 · 38 comments
Open

vmware-workstation 17.5.1 issue with kernel 6.8.8-200.fc39 #243

torehl opened this issue Apr 28, 2024 · 38 comments

Comments

@torehl
Copy link

torehl commented Apr 28, 2024

Works perfectly with 6.8.7-200.fc39. VMware Wkst 17.5.1 still works.

[   10.061712] ------------[ cut here ]------------
[   10.061714] UBSAN: array-index-out-of-bounds in /home/torel/workspace/VMware-Workstations/vmware-host-modules-works
tation-17.5.1/vmmon-only/common/vmx86.c:2905:25
[   10.061716] index 0 is out of range for type 'MSRReply [*]'
[   10.061718] CPU: 11 PID: 1216 Comm: modprobe Tainted: P           OE      6.8.8-200.fc39.x86_64 #1
[   10.061720] Hardware name: Dell Inc. Precision 5530/0GN6M8, BIOS 1.36.0 02/17/2024
[   10.061722] Call Trace:
[   10.061724]  <TASK>
[   10.061726]  dump_stack_lvl+0x64/0x80
[   10.061732]  __ubsan_handle_out_of_bounds+0x95/0xd0
[   10.061738]  Vmx86GetMSR+0xc4/0x170 [vmmon]
[   10.061749]  ? __pfx_Vmx86GetMSR+0x10/0x10 [vmmon]
[   10.061760]  HostIF_CallOnEachCPU+0x1d/0x50 [vmmon]
[   10.061771]  Vmx86_CheckMSRUniformity+0x124/0x710 [vmmon]
[   10.061782]  ? __pfx_LinuxDriverInit+0x10/0x10 [vmmon]
[   10.061793]  LinuxDriverInit+0x58/0x1a0 [vmmon]
[   10.061803]  ? __pfx_LinuxDriverInit+0x10/0x10 [vmmon]
[   10.061811]  do_one_initcall+0x58/0x320
[   10.061816]  do_init_module+0x60/0x240
[   10.061819]  init_module_from_file+0x86/0xc0
[   10.061824]  idempotent_init_module+0x120/0x2b0
[   10.061828]  __x64_sys_finit_module+0x5e/0xb0
[   10.061830]  do_syscall_64+0x83/0x170
[   10.061835]  ? mas_store_prealloc+0x56/0xd0
[   10.061838]  ? vma_set_page_prot+0x62/0xc0
[   10.061842]  ? mmap_region+0x51b/0x9b0
[   10.061846]  ? vm_mmap_pgoff+0x125/0x1a0
[   10.061849]  ? do_syscall_64+0x90/0x170
[   10.061851]  ? ksys_mmap_pgoff+0xf2/0x230
[   10.061854]  ? syscall_exit_to_user_mode+0x83/0x230
[   10.061857]  ? do_syscall_64+0x90/0x170
[   10.061859]  ? syscall_exit_to_user_mode+0x83/0x230
[   10.061861]  ? do_syscall_64+0x90/0x170
[   10.061863]  ? exc_page_fault+0x7f/0x180
[   10.061865]  entry_SYSCALL_64_after_hwframe+0x78/0x80
[   10.061868] RIP: 0033:0x7faf7dd3185d
[   10.061893] 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 4
d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a3 45 0c 00 f7 d8 64 89 01 48
[   10.061896] RSP: 002b:00007ffc8bbfe568 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[   10.061899] RAX: ffffffffffffffda RBX: 000055adbab0fc60 RCX: 00007faf7dd3185d
[   10.061901] RDX: 0000000000000000 RSI: 000055adba444fc9 RDI: 0000000000000003
[   10.061903] RBP: 00007ffc8bbfe620 R08: 0000000000000000 R09: 0000000000000002
[   10.061905] R10: 0000000000000003 R11: 0000000000000246 R12: 000055adba444fc9
[   10.061906] R13: 0000000000040000 R14: 000055adbab0fc00 R15: 0000000000000000
[   10.061911]  </TASK>
[   10.061912] ---[ end trace ]---

[   10.061917] ------------[ cut here ]------------
[   10.061918] UBSAN: array-index-out-of-bounds in /home/torel/workspace/VMware-Workstations/vmware-host-modules-works
tation-17.5.1/vmmon-only/common/vmx86.c:2926:64
[   10.061921] index 0 is out of range for type 'MSRReply [*]'
[   10.061922] CPU: 11 PID: 1216 Comm: modprobe Tainted: P           OE      6.8.8-200.fc39.x86_64 #1
[   10.061925] Hardware name: Dell Inc. Precision 5530/0GN6M8, BIOS 1.36.0 02/17/2024
[   10.061926] Call Trace:
[   10.061927]  <TASK>
[   10.061929]  dump_stack_lvl+0x64/0x80
[   10.061933]  __ubsan_handle_out_of_bounds+0x95/0xd0
[   10.061937]  Vmx86GetMSR+0x67/0x170 [vmmon]
[   10.061948]  ? __pfx_Vmx86GetMSR+0x10/0x10 [vmmon]
[   10.061957]  HostIF_CallOnEachCPU+0x1d/0x50 [vmmon]
[   10.061966]  Vmx86_CheckMSRUniformity+0x124/0x710 [vmmon]
[   10.061976]  ? __pfx_LinuxDriverInit+0x10/0x10 [vmmon]
[   10.061986]  LinuxDriverInit+0x58/0x1a0 [vmmon]
[   10.061994]  ? __pfx_LinuxDriverInit+0x10/0x10 [vmmon]
[   10.062002]  do_one_initcall+0x58/0x320
[   10.062006]  do_init_module+0x60/0x240
[   10.062009]  init_module_from_file+0x86/0xc0
[   10.062014]  idempotent_init_module+0x120/0x2b0
[   10.062018]  __x64_sys_finit_module+0x5e/0xb0
[   10.062019] Bluetooth: hci0: Firmware revision 0.3 build 132 week 3 2024
[   10.062022]  do_syscall_64+0x83/0x170
[   10.062027]  ? mas_store_prealloc+0x56/0xd0
[   10.062030]  ? vma_set_page_prot+0x62/0xc0
[   10.062034]  ? mmap_region+0x51b/0x9b0
[   10.062039]  ? vm_mmap_pgoff+0x125/0x1a0
[   10.062041]  ? do_syscall_64+0x90/0x170
[   10.062043]  ? ksys_mmap_pgoff+0xf2/0x230
[   10.062046]  ? syscall_exit_to_user_mode+0x83/0x230
[   10.062048]  ? do_syscall_64+0x90/0x170
[   10.062051]  ? syscall_exit_to_user_mode+0x83/0x230
[   10.062053]  ? do_syscall_64+0x90/0x170
[   10.062055]  ? exc_page_fault+0x7f/0x180
[   10.062057]  entry_SYSCALL_64_after_hwframe+0x78/0x80
[   10.062059] RIP: 0033:0x7faf7dd3185d
[   10.062068] 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 4
d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a3 45 0c 00 f7 d8 64 89 01 48
[   10.062070] RSP: 002b:00007ffc8bbfe568 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[   10.062072] RAX: ffffffffffffffda RBX: 000055adbab0fc60 RCX: 00007faf7dd3185d
[   10.062073] RDX: 0000000000000000 RSI: 000055adba444fc9 RDI: 0000000000000003
[   10.062074] RBP: 00007ffc8bbfe620 R08: 0000000000000000 R09: 0000000000000002
[   10.062076] R10: 0000000000000003 R11: 0000000000000246 R12: 000055adba444fc9
[   10.062077] R13: 0000000000040000 R14: 000055adbab0fc00 R15: 0000000000000000
[   10.062080]  </TASK>
[   10.062081] ---[ end trace ]---


@torehl
Copy link
Author

torehl commented Apr 28, 2024

[   10.068955] ------------[ cut here ]------------
[   10.068955] UBSAN: array-index-out-of-bounds in /home/torel/workspace/VMware-Workstations/vmware-host-modules-works
tation-17.5.1/vmmon-only/common/vmx86.c:3652:38
[   10.068957] index 1 is out of range for type 'MSRReply [*]'
[   10.068957] CPU: 11 PID: 1216 Comm: modprobe Tainted: P           OE      6.8.8-200.fc39.x86_64 #1
[   10.068959] Hardware name: Dell Inc. Precision 5530/0GN6M8, BIOS 1.36.0 02/17/2024
[   10.068959] Call Trace:
[   10.068960]  <TASK>
[   10.068961]  dump_stack_lvl+0x64/0x80
[   10.068964]  __ubsan_handle_out_of_bounds+0x95/0xd0
[   10.068967]  Vmx86GenFindCommonIntelVTCap+0x785/0x14d0 [vmmon]
[   10.068977]  Vmx86_CheckMSRUniformity+0x6a1/0x710 [vmmon]
[   10.068986]  ? __pfx_LinuxDriverInit+0x10/0x10 [vmmon]
[   10.068995]  LinuxDriverInit+0x58/0x1a0 [vmmon]
[   10.069002]  ? __pfx_LinuxDriverInit+0x10/0x10 [vmmon]
[   10.069010]  do_one_initcall+0x58/0x320
[   10.069013]  do_init_module+0x60/0x240
[   10.069016]  init_module_from_file+0x86/0xc0
[   10.069020]  idempotent_init_module+0x120/0x2b0
[   10.069023]  __x64_sys_finit_module+0x5e/0xb0
[   10.069026]  do_syscall_64+0x83/0x170
[   10.069029]  ? mas_store_prealloc+0x56/0xd0
[   10.069031]  ? vma_set_page_prot+0x62/0xc0
[   10.069034]  ? mmap_region+0x51b/0x9b0
[   10.069038]  ? vm_mmap_pgoff+0x125/0x1a0
[   10.069040]  ? do_syscall_64+0x90/0x170
[   10.069043]  ? ksys_mmap_pgoff+0xf2/0x230
[   10.069045]  ? syscall_exit_to_user_mode+0x83/0x230
[   10.069047]  ? do_syscall_64+0x90/0x170
[   10.069049]  ? syscall_exit_to_user_mode+0x83/0x230
[   10.069051]  ? do_syscall_64+0x90/0x170
[   10.069053]  ? exc_page_fault+0x7f/0x180
[   10.069055]  entry_SYSCALL_64_after_hwframe+0x78/0x80
[   10.069057] RIP: 0033:0x7faf7dd3185d
[   10.069061] 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 4
d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a3 45 0c 00 f7 d8 64 89 01 48
[   10.069062] RSP: 002b:00007ffc8bbfe568 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[   10.069063] RAX: ffffffffffffffda RBX: 000055adbab0fc60 RCX: 00007faf7dd3185d
[   10.069064] RDX: 0000000000000000 RSI: 000055adba444fc9 RDI: 0000000000000003
[   10.069065] RBP: 00007ffc8bbfe620 R08: 0000000000000000 R09: 0000000000000002
[   10.069066] R10: 0000000000000003 R11: 0000000000000246 R12: 000055adba444fc9
[   10.069067] R13: 0000000000040000 R14: 000055adbab0fc00 R15: 0000000000000000
[   10.069070]  </TASK>
[   10.069070] ---[ end trace ]---
[   10.069213] /dev/vmmon[1216]: Module vmmon: registered as misc device
[   10.069215] /dev/vmmon[1216]: Using tsc_khz as TSC frequency: 2904006
[   10.069217] /dev/vmmon[1216]: Module vmmon: initialized
[   10.106545] Guest personality initialized and is inactive
[   10.106599] VMCI host device registered (name=vmci, major=10, minor=116)

@torehl
Copy link
Author

torehl commented Apr 28, 2024

Any ideas?

@sincorchetes
Copy link

How you installed the vmware-modules?

@priiduneemre
Copy link

priiduneemre commented May 2, 2024

I can confirm everything works perfectly with 6.8.7-200.fc39 and Workstation 17.5.1.

Guess I'll skip the kernel update for now.

@torehl
Copy link
Author

torehl commented May 2, 2024

How you installed the vmware-modules?

Yes. As I said, and as confirmed by @priiduneemre it works perfectly on 6.8.7, while I'm getting the above kernel oops on 6.8.8. Haven't seen any ill effects on 6.8.8-200.fc39 though.

@dioni21
Copy link

dioni21 commented May 7, 2024

index 0 is out of range in ... vmx86.c:3652:38?

vmx86.c:

3651          if (query->msrNum == msrNum) {
3652             return query->logicalCPUs[cpu].msrVal;
3653          }

38 means index [cpu]

Ok, index 0 in an array is invalid? Why?

Because at vmmon-only/include/x86msr.h, line 95 we have:

  67 typedef struct MSRQuery {
  68    uint32 msrNum;           // IN
  69    uint32 numLogicalCPUs;   // IN/OUT
  70    MSRReply logicalCPUs[0]; // OUT
  71 } MSRQuery;

In typical C this means an expandable array. But UBSAN did not like it.
Maybe we need to add a pragma to tell it about?

BTW: This is probably just a warning, I don't think it is crashing anything.

@dioni21
Copy link

dioni21 commented May 7, 2024

I'll test this patch at home:

diff --git i/vmmon-only/include/x86msr.h w/vmmon-only/include/x86msr.h
index f67a0e1..74eaae0 100644
--- i/vmmon-only/include/x86msr.h
+++ w/vmmon-only/include/x86msr.h
@@ -67,7 +67,7 @@ typedef struct MSRReply {
 typedef struct MSRQuery {
    uint32 msrNum;           // IN
    uint32 numLogicalCPUs;   // IN/OUT
-   MSRReply logicalCPUs[0]; // OUT
+   MSRReply logicalCPUs[]; // OUT
 } MSRQuery;
 #pragma pack(pop)
 

Suggested by looking at https://gist.github.com/joanbm/9cd5fda1dcfab9a67b42cc6195b7b269

@Santuccic
Copy link

Hi, running on bare linux Fedora as of now as following

Fedora Linux 40 (Workstation Edition) 6.8.8-300.fc40.x86_64
Product: VMware® Workstation 17 Pro
Version: 17.5.1 build-23298084

when i update to the 6.8.8 i also encountered some issue, instead of build and install it i had to replace the original tarballs and then build and install it.

@nsxsnx
Copy link

nsxsnx commented May 9, 2024

Hello,
Appreciate all the work being done here.

I confirm the same error on the following configuration:

Fedora Linux 40 6.8.8-300.fc40.x86_64,
Workstation 17 Pro Version: 17.5.1 build-23298084

VM seems to run fine regardless of the error in dmesg, but after shutting a VM down CPU load goes to almost 100%, which can be stopped with "modprobe -r vmmon".

kernel-6.8.7-300.fc40.x86_64 was fine with modules from this repo.

@i300220
Copy link

i300220 commented May 12, 2024

I confirm Fedora Linux 40, kernels 6.8.8 and 6.8.9 are affected. Worked fine prior to 6.8.8.

https://discussion.fedoraproject.org/t/fedora-40-amd-gpu-kernel-6-8-8-issue-anyone-else/116646

@sincorchetes
Copy link

I add the following output for this kernel: Linux clr-3a9b24c3451f4ded968a21702b4bc5de 6.8.9-1432.native #1 SMP Mon May 6 12:48:36 PDT 2024 x86_64 GNU/Linux

make -C vmmon-only 
make[1]: Entering directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
make -C /lib/modules/6.8.9-1432.native/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[2]: Entering directory '/usr/lib/modules/6.8.9-1432.native/build'
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/linux/driver.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/linux/driverLog.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/linux/hostif.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/apic.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/comport.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/cpuid.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/crosspage.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/memtrack.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/moduleloop.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/phystrack.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/sharedAreaVmmon.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/statVarsVmmon.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/task.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/common/vmx86.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/bootstrap/bootstrap.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/bootstrap/monLoader.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/bootstrap/monLoaderVmmon.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/bootstrap/vmmblob.o
  LD [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/vmmon.o
  MODPOST /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/Module.symvers
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/vmmon.mod.o
  LD [M]  /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/vmmon.ko
  BTF [M] /home/sincorchetes/Documents/vmware-host-modules/vmmon-only/vmmon.ko
make[2]: Leaving directory '/usr/lib/modules/6.8.9-1432.native/build'
make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[2]: Entering directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
make[2]: 'postbuild' is up to date.
make[2]: Leaving directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make[1]: Leaving directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
make -C vmnet-only 
make[1]: Entering directory '/home/sincorchetes/Documents/vmware-host-modules/vmnet-only'
make -C /lib/modules/6.8.9-1432.native/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[2]: Entering directory '/usr/lib/modules/6.8.9-1432.native/build'
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/driver.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/hub.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/userif.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/netif.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/procfs.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/smac_compat.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/smac.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vnetEvent.o
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vnetUserListener.o
  LD [M]  /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vmnet.o
  MODPOST /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/Module.symvers
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vmnet.mod.o
  LD [M]  /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vmnet.ko
  BTF [M] /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vmnet.ko
make[2]: Leaving directory '/usr/lib/modules/6.8.9-1432.native/build'
make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[2]: Entering directory '/home/sincorchetes/Documents/vmware-host-modules/vmnet-only'
make[2]: 'postbuild' is up to date.
make[2]: Leaving directory '/home/sincorchetes/Documents/vmware-host-modules/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make[1]: Leaving directory '/home/sincorchetes/Documents/vmware-host-modules/vmnet-only'
install -D -t /lib/modules/6.8.9-1432.native/misc vmmon-only/vmmon.ko vmnet-only/vmnet.ko
strip --strip-debug /lib/modules/6.8.9-1432.native/misc/vmmon.ko /lib/modules/6.8.9-1432.native/misc/vmnet.ko
if test -z ""; then /sbin/depmod -a 6.8.9-1432.native; fi
[AppLoader] GLib does not have GSettings support.
make: Entering directory '/tmp/modconfig-uPS9pU/vmmon-only'
Using kernel build system.
/sbin/make -C /lib/modules/6.8.9-1432.native/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/6.8.9-1432.native/build'
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/linux/driver.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/linux/hostif.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/common/apic.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/common/comport.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/common/cpuid.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/common/crosspage.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/common/memtrack.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/common/moduleloop.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/common/phystrack.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/common/sharedAreaVmmon.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/common/statVarsVmmon.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/common/task.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/common/vmx86.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/bootstrap/bootstrap.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/bootstrap/monLoader.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/bootstrap/monLoaderVmmon.o
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/bootstrap/vmmblob.o
/tmp/modconfig-uPS9pU/vmmon-only/common/vmx86.c:700:1: warning: no previous prototype for ‘Vmx86FreeVMDriver’ [-Wmissing-prototypes]
  700 | Vmx86FreeVMDriver(VMDriver *vm)
      | ^~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmmon-only/common/vmx86.c:733:1: warning: no previous prototype for ‘Vmx86AllocVMDriver’ [-Wmissing-prototypes]
  733 | Vmx86AllocVMDriver(uint32 numVCPUs)
      | ^~~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmmon-only/common/task.c:548:1: warning: no previous prototype for ‘TaskGetFlatWriteableDataSegment’ [-Wmissing-prototypes]
  548 | TaskGetFlatWriteableDataSegment(void)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmmon-only/linux/hostif.c:2926:1: warning: no previous prototype for ‘HostIFCheckTrackedMPN’ [-Wmissing-prototypes]
 2926 | HostIFCheckTrackedMPN(VMDriver *vm, // IN: The VM instance
      | ^~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmmon-only/linux/hostif.c:3046:1: warning: no previous prototype for ‘HostIFWritePhysicalWork’ [-Wmissing-prototypes]
 3046 | HostIFWritePhysicalWork(MA ma,             // MA to be written to
      | ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmmon-only/linux/hostif.c:3205:1: warning: no previous prototype for ‘HostIFStartTimer’ [-Wmissing-prototypes]
 3205 | HostIFStartTimer(Bool rateChanged,  //IN: Did rate change?
      | ^~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmmon-only/linux/driver.c:271:1: warning: no previous prototype for ‘LinuxDriverInit’ [-Wmissing-prototypes]
  271 | LinuxDriverInit(void)
      | ^~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmmon-only/linux/driver.c:339:1: warning: no previous prototype for ‘LinuxDriverExit’ [-Wmissing-prototypes]
  339 | LinuxDriverExit(void)
      | ^~~~~~~~~~~~~~~
  LD [M]  /tmp/modconfig-uPS9pU/vmmon-only/vmmon.o
/tmp/modconfig-uPS9pU/vmmon-only/vmmon.o: warning: objtool: CrossPage_CodePage+0x207: 'naked' return found in RETHUNK build
  MODPOST /tmp/modconfig-uPS9pU/vmmon-only/Module.symvers
  CC [M]  /tmp/modconfig-uPS9pU/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/modconfig-uPS9pU/vmmon-only/vmmon.ko
  BTF [M] /tmp/modconfig-uPS9pU/vmmon-only/vmmon.ko
Skipping BTF generation for /tmp/modconfig-uPS9pU/vmmon-only/vmmon.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/lib/modules/6.8.9-1432.native/build'
/sbin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-uPS9pU/vmmon-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-uPS9pU/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory '/tmp/modconfig-uPS9pU/vmmon-only'
make: Entering directory '/tmp/modconfig-uPS9pU/vmnet-only'
Using kernel build system.
/sbin/make -C /lib/modules/6.8.9-1432.native/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/lib/modules/6.8.9-1432.native/build'
  CC [M]  /tmp/modconfig-uPS9pU/vmnet-only/driver.o
  CC [M]  /tmp/modconfig-uPS9pU/vmnet-only/hub.o
  CC [M]  /tmp/modconfig-uPS9pU/vmnet-only/userif.o
  CC [M]  /tmp/modconfig-uPS9pU/vmnet-only/netif.o
  CC [M]  /tmp/modconfig-uPS9pU/vmnet-only/bridge.o
  CC [M]  /tmp/modconfig-uPS9pU/vmnet-only/procfs.o
  CC [M]  /tmp/modconfig-uPS9pU/vmnet-only/smac_compat.o
  CC [M]  /tmp/modconfig-uPS9pU/vmnet-only/smac.o
  CC [M]  /tmp/modconfig-uPS9pU/vmnet-only/vnetEvent.o
/tmp/modconfig-uPS9pU/vmnet-only/userif.c:1091:1: warning: no previous prototype for ‘VNetUserIf_Create’ [-Wmissing-prototypes]
 1091 | VNetUserIf_Create(VNetPort **ret) // OUT
      | ^~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmnet-only/netif.c:173:1: warning: no previous prototype for ‘VNetNetIf_Create’ [-Wmissing-prototypes]
  173 | VNetNetIf_Create(char *devName,  // IN:
      | ^~~~~~~~~~~~~~~~
  CC [M]  /tmp/modconfig-uPS9pU/vmnet-only/vnetUserListener.o
/tmp/modconfig-uPS9pU/vmnet-only/bridge.c:258:1: warning: no previous prototype for ‘VNetBridge_Create’ [-Wmissing-prototypes]
  258 | VNetBridge_Create(const char *devName, // IN:  name of device (e.g., "eth0")
      | ^~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmnet-only/bridge.c:1411:1: warning: no previous prototype for ‘VNetBridgeSendLargePacket’ [-Wmissing-prototypes]
 1411 | VNetBridgeSendLargePacket(struct sk_buff *skb,        // IN: packet to split
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-uPS9pU/vmnet-only/vnetUserListener.c:87:1: warning: no previous prototype for ‘VNetUserListener_Create’ [-Wmissing-prototypes]
   87 | VNetUserListener_Create(uint32 classMask,  // IN: the listener's class mask
      | ^~~~~~~~~~~~~~~~~~~~~~~
  LD [M]  /tmp/modconfig-uPS9pU/vmnet-only/vmnet.o
/tmp/modconfig-uPS9pU/vmnet-only/vmnet.o: warning: objtool: VNetCsumCopyDatagram+0x57: call to csum_partial_copy_nocheck() with UACCESS enabled
/tmp/modconfig-uPS9pU/vmnet-only/vmnet.o: warning: objtool: init_module(): not an indirect call target
/tmp/modconfig-uPS9pU/vmnet-only/vmnet.o: warning: objtool: cleanup_module(): not an indirect call target
  MODPOST /tmp/modconfig-uPS9pU/vmnet-only/Module.symvers
  CC [M]  /tmp/modconfig-uPS9pU/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/modconfig-uPS9pU/vmnet-only/vmnet.ko
  BTF [M] /tmp/modconfig-uPS9pU/vmnet-only/vmnet.ko
Skipping BTF generation for /tmp/modconfig-uPS9pU/vmnet-only/vmnet.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/lib/modules/6.8.9-1432.native/build'
/sbin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-uPS9pU/vmnet-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-uPS9pU/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory '/tmp/modconfig-uPS9pU/vmnet-only'
Job for vmware.service failed because a timeout was exceeded.
See "systemctl status vmware.service" and "journalctl -xeu vmware.service" for details.
Unable to start services

@sincorchetes
Copy link

× vmware.service - VMware host virtualization and network services for Workstation
     Loaded: loaded (/usr/lib/systemd/system/vmware.service; enabled; preset: disabled)
     Active: failed (Result: timeout) since Tue 2024-05-14 00:06:39 CEST; 18min ago
    Process: 4786 ExecStart=/usr/lib/vmware/scripts/init/vmware start (code=killed, signal=TERM)

May 14 00:05:09 clr-3a9b24c3451f4ded968a21702b4bc5de systemd[1]: Starting vmware.service...
May 14 00:05:09 clr-3a9b24c3451f4ded968a21702b4bc5de vmware[4786]: Starting VMware services:
May 14 00:05:09 clr-3a9b24c3451f4ded968a21702b4bc5de vmware[4786]:    Virtual machine monitor - done
May 14 00:05:09 clr-3a9b24c3451f4ded968a21702b4bc5de vmware[4786]:    Virtual machine communication interface - done
May 14 00:05:09 clr-3a9b24c3451f4ded968a21702b4bc5de vmware[4786]:    VM communication interface socket family - done
May 14 00:06:39 clr-3a9b24c3451f4ded968a21702b4bc5de systemd[1]: vmware.service: start operation timed out. Terminating.
May 14 00:06:39 clr-3a9b24c3451f4ded968a21702b4bc5de vmware[4786]:    Virtual ethernet
May 14 00:06:39 clr-3a9b24c3451f4ded968a21702b4bc5de systemd[1]: vmware.service: Failed with result 'timeout'.
May 14 00:06:39 clr-3a9b24c3451f4ded968a21702b4bc5de systemd[1]: Failed to start vmware.service.

@rschuster
Copy link

I have similar messages in any kernel greater than 6.5.12 and it does cause problems.
Either VMs lockup or part of the host locks up.

@rschuster
Copy link

I was able to fix the warnings by deleting the zero in these two locations

./vmmon-only/include/x86cpuid.h

typedef struct CPUIDQuery {
uint32 eax; // IN
uint32 ecx; // IN
uint32 numLogicalCPUs; // IN/OUT
CPUIDReply logicalCPUs[0]; // OUT
} CPUIDQuery;

./vmmon-only/include/x86msr.h

typedef struct MSRQuery {
uint32 msrNum; // IN
uint32 numLogicalCPUs; // IN/OUT
MSRReply logicalCPUs[0]; // OUT
} MSRQuery;

However if I boot to kernel 6.8.9 and bring up a VM in workstation 17.5.2 the host has lockup problems with these messages.

[ 103.805075] /dev/vmmon[4226]: PTSC: initialized at 3499998000 Hz using TSC, TSCs are synchronized.
[ 103.878484] /dev/vmmon[4226]: Monitor IPI vector: 0
[ 103.878489] /dev/vmmon[4226]: HV IPI vector: 0
[ 103.879895] ------------[ cut here ]------------
[ 103.879898] WARNING: CPU: 6 PID: 4226 at kernel/rcu/tree_plugin.h:734 rcu_sched_clock_irq+0x89d/0x12d0
[ 103.879904] Modules linked in: uinput snd_seq_dummy snd_hrtimer nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 rfkill ip_set nf_tables nfnetlink vmnet(O) sunrpc qrtr ppdev parport_pc parport vmw_vsock_vmci_transport vsock vmw_vmci vmmon(O) snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel intel_rapl_msr snd_intel_dspcfg snd_usb_audio intel_rapl_common snd_intel_sdw_acpi binfmt_misc edac_mce_amd snd_hda_codec snd_usbmidi_lib snd_ump snd_hda_core kvm_amd snd_rawmidi uvcvideo snd_hwdep vfat fat snd_seq uvc snd_seq_device videobuf2_vmalloc videobuf2_memops kvm videobuf2_v4l2 snd_pcm videobuf2_common irqbypass snd_timer videodev wmi_bmof snd rapl pcspkr i2c_piix4 acpi_cpufreq mc soundcore k10temp joydev gpio_amdpt gpio_generic loop zram amdgpu video amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec r8169 crct10dif_pclmul
[ 103.879987] gpu_sched crc32_pclmul drm_suballoc_helper crc32c_intel realtek polyval_clmulni drm_buddy polyval_generic nvme ghash_clmulni_intel drm_display_helper sha512_ssse3 nvme_core sha256_ssse3 ccp sha1_ssse3 cec sp5100_tco nvme_auth wmi ip6_tables ip_tables fuse i2c_dev
[ 103.880011] CPU: 6 PID: 4226 Comm: vmware-vmx Tainted: G O 6.8.9-200.fc39.x86_64 #1
[ 103.880014] Hardware name: Micro-Star International Co., Ltd. MS-7C91/MAG B550 TOMAHAWK (MS-7C91), BIOS A.G0 03/12/2024
[ 103.880016] RIP: 0010:rcu_sched_clock_irq+0x89d/0x12d0
[ 103.880019] Code: 25 6c bd e3 44 ff ff ff 7f e9 c9 fe ff ff 8b 87 38 08 00 00 85 c0 0f 84 7a f8 ff ff eb b2 c6 87 39 08 00 00 01 e9 6c f8 ff ff <0f> 0b e9 0d f8 ff ff 0f b6 05 65 31 16 03 84 c0 74 05 e8 dc 38 ff
[ 103.880021] RSP: 0018:ffffb0be003c4dd8 EFLAGS: 00010086
[ 103.880023] RAX: ffff97940bb08000 RBX: 0000000000000000 RCX: 00000000000f1144
[ 103.880025] RDX: 00000000ffffffa6 RSI: ffffffffbcab0f47 RDI: ffff97940bb08000
[ 103.880027] RBP: 0000000000000000 R08: ffff97b29e521730 R09: 0000000000000000
[ 103.880028] R10: 0000000000000000 R11: ffffb0be003c4ff8 R12: ffff97b29e525040
[ 103.880030] R13: ffffb0be04c93578 R14: 0000000000000016 R15: ffff97b29e524b00
[ 103.880032] FS: 00007fc888ad9c00(0000) GS:ffff97b29e500000(0000) knlGS:0000000000000000
[ 103.880034] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 103.880036] CR2: 00007fc878ef0000 CR3: 00000001c336c000 CR4: 0000000000350ef0
[ 103.880037] Call Trace:
[ 103.880040]
[ 103.880042] ? rcu_sched_clock_irq+0x89d/0x12d0
[ 103.880044] ? __warn+0x81/0x130
[ 103.880051] ? rcu_sched_clock_irq+0x89d/0x12d0
[ 103.880053] ? report_bug+0x171/0x1a0
[ 103.880058] ? handle_bug+0x3c/0x80
[ 103.880062] ? exc_invalid_op+0x17/0x70
[ 103.880065] ? asm_exc_invalid_op+0x1a/0x20
[ 103.880072] ? rcu_sched_clock_irq+0x89d/0x12d0
[ 103.880076] ? srso_return_thunk+0x5/0x5f
[ 103.880079] ? sbitmap_queue_clear_batch+0xcc/0x140
[ 103.880083] ? blk_stat_add+0x6e/0x110
[ 103.880089] update_process_times+0x74/0xb0
[ 103.880094] tick_sched_handle+0x21/0x60
[ 103.880098] tick_nohz_highres_handler+0x6f/0x90
[ 103.880100] ? __pfx_tick_nohz_highres_handler+0x10/0x10
[ 103.880103] __hrtimer_run_queues+0x116/0x280
[ 103.880105] ? ktime_get_update_offsets_now+0x4c/0x110
[ 103.880110] hrtimer_interrupt+0xf8/0x230
[ 103.880114] __sysvec_apic_timer_interrupt+0x50/0x140
[ 103.880118] sysvec_apic_timer_interrupt+0x6d/0x90
[ 103.880122]
[ 103.880123]
[ 103.880125] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 103.880127] RIP: 0010:btrfs_do_readpage+0x23f/0x750
[ 103.880132] Code: 00 49 39 f7 0f 83 e6 03 00 00 8b 68 68 4c 29 fa 48 8b 70 50 89 ef 83 e7 10 48 39 da 48 0f 47 d3 48 8b 5c 24 50 4c 8d 64 13 ff <48> f7 db 49 21 dc 40 f6 c5 02 0f 85 6f 01 00 00 40 f6 c5 04 0f 85
[ 103.880133] RSP: 0018:ffffb0be04c93620 EFLAGS: 00000206
[ 103.880136] RAX: ffff9794c00b6080 RBX: 0000000000001000 RCX: 00000000015a0000
[ 103.880137] RDX: 0000000000001000 RSI: 0000000117ffc000 RDI: 0000000000000000
[ 103.880139] RBP: 0000000000000008 R08: ffff9794e91cc1f8 R09: 0000000000000c40
[ 103.880140] R10: ffff979400957000 R11: ffff9794101c4400 R12: 0000000000001fff
[ 103.880142] R13: ffffb0be04c936d8 R14: fffff6040867a840 R15: 00000000015bb000
[ 103.880151] extent_readahead+0x2bc/0x3b0
[ 103.880155] ? __pfx_end_bbio_data_read+0x10/0x10
[ 103.880163] read_pages+0x85/0x250
[ 103.880168] page_cache_ra_unbounded+0x106/0x180
[ 103.880172] filemap_get_pages+0x4e1/0x660
[ 103.880180] filemap_read+0xe4/0x3e0
[ 103.880188] vfs_read+0x24f/0x380
[ 103.880194] ksys_read+0x6f/0xf0
[ 103.880197] do_syscall_64+0x83/0x170
[ 103.880201] ? srso_return_thunk+0x5/0x5f
[ 103.880203] ? get_page_from_freelist+0x60e/0x1d00
[ 103.880207] ? srso_return_thunk+0x5/0x5f
[ 103.880209] ? page_counter_try_charge+0x33/0xc0
[ 103.880212] ? srso_return_thunk+0x5/0x5f
[ 103.880215] ? srso_return_thunk+0x5/0x5f
[ 103.880217] ? try_charge_memcg+0x7f0/0x870
[ 103.880225] ? srso_return_thunk+0x5/0x5f
[ 103.880227] ? __alloc_pages+0x1a3/0x350
[ 103.880232] ? srso_return_thunk+0x5/0x5f
[ 103.880235] ? srso_return_thunk+0x5/0x5f
[ 103.880238] ? srso_return_thunk+0x5/0x5f
[ 103.880240] ? set_ptes.isra.0+0x28/0x90
[ 103.880243] ? srso_return_thunk+0x5/0x5f
[ 103.880247] ? srso_return_thunk+0x5/0x5f
[ 103.880249] ? srso_return_thunk+0x5/0x5f
[ 103.880251] ? syscall_exit_to_user_mode+0x83/0x230
[ 103.880254] ? srso_return_thunk+0x5/0x5f
[ 103.880257] ? do_syscall_64+0x90/0x170
[ 103.880261] ? srso_return_thunk+0x5/0x5f
[ 103.880264] ? __count_memcg_events+0x69/0x100
[ 103.880267] ? srso_return_thunk+0x5/0x5f
[ 103.880269] ? count_memcg_events.constprop.0+0x1a/0x30
[ 103.880271] ? srso_return_thunk+0x5/0x5f
[ 103.880274] ? handle_mm_fault+0xa2/0x360
[ 103.880277] ? srso_return_thunk+0x5/0x5f
[ 103.880279] ? do_user_addr_fault+0x204/0x690
[ 103.880284] ? srso_return_thunk+0x5/0x5f
[ 103.880286] ? srso_return_thunk+0x5/0x5f
[ 103.880289] entry_SYSCALL_64_after_hwframe+0x78/0x80
[ 103.880292] RIP: 0033:0x7fc888c2140a
[ 103.880313] Code: 55 48 89 e5 48 83 ec 20 48 89 55 e8 48 89 75 f0 89 7d f8 e8 18 26 f8 ff 48 8b 55 e8 48 8b 75 f0 41 89 c0 8b 7d f8 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 2e 44 89 c7 48 89 45 f8 e8 72 26 f8 ff 48 8b
[ 103.880314] RSP: 002b:00007fff37b63350 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[ 103.880317] RAX: ffffffffffffffda RBX: 0000000000553f88 RCX: 00007fc888c2140a
[ 103.880318] RDX: 0000000000553f88 RSI: 00007fc878e00010 RDI: 0000000000000057
[ 103.880320] RBP: 00007fff37b63370 R08: 0000000000000000 R09: 0000000000000000
[ 103.880321] R10: 0000000000000022 R11: 0000000000000246 R12: 0000000000553f88
[ 103.880323] R13: 0000000000000027 R14: 00007fc878e00010 R15: 0000000000000001
[ 103.880328]
[ 103.880329] ---[ end trace 0000000000000000 ]---
[ 106.893359] ------------[ cut here ]------------
[ 106.893364] WARNING: CPU: 6 PID: 4226 at kernel/rcu/tree_exp.h:800 rcu_exp_handler+0x35/0xe0
[ 106.893372] Modules linked in: uinput snd_seq_dummy snd_hrtimer nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 rfkill ip_set nf_tables nfnetlink vmnet(O) sunrpc qrtr ppdev parport_pc parport vmw_vsock_vmci_transport vsock vmw_vmci vmmon(O) snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel intel_rapl_msr snd_intel_dspcfg snd_usb_audio intel_rapl_common snd_intel_sdw_acpi binfmt_misc edac_mce_amd snd_hda_codec snd_usbmidi_lib snd_ump snd_hda_core kvm_amd snd_rawmidi uvcvideo snd_hwdep vfat fat snd_seq uvc snd_seq_device videobuf2_vmalloc videobuf2_memops kvm videobuf2_v4l2 snd_pcm videobuf2_common irqbypass snd_timer videodev wmi_bmof snd rapl pcspkr i2c_piix4 acpi_cpufreq mc soundcore k10temp joydev gpio_amdpt gpio_generic loop zram amdgpu video amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec r8169 crct10dif_pclmul
[ 106.893455] gpu_sched crc32_pclmul drm_suballoc_helper crc32c_intel realtek polyval_clmulni drm_buddy polyval_generic nvme ghash_clmulni_intel drm_display_helper sha512_ssse3 nvme_core sha256_ssse3 ccp sha1_ssse3 cec sp5100_tco nvme_auth wmi ip6_tables ip_tables fuse i2c_dev
[ 106.893478] CPU: 6 PID: 4226 Comm: vmware-vmx Tainted: G W O 6.8.9-200.fc39.x86_64 #1
[ 106.893481] Hardware name: Micro-Star International Co., Ltd. MS-7C91/MAG B550 TOMAHAWK (MS-7C91), BIOS A.G0 03/12/2024
[ 106.893483] RIP: 0010:rcu_exp_handler+0x35/0xe0
[ 106.893485] Code: 55 65 48 8b 2c 25 40 3f 03 00 53 8b 85 34 08 00 00 48 c7 c3 80 56 03 00 65 48 03 1d b5 7a e2 44 4c 8b 63 18 85 c0 74 0d 7f 58 <0f> 0b 5b 5d 41 5c e9 60 02 f6 00 65 8b 05 c1 1f e4 44 66 85 c0 74
[ 106.893487] RSP: 0018:ffffb0be003c4f98 EFLAGS: 00010086
[ 106.893490] RAX: 00000000ffffff36 RBX: ffff97b29e535680 RCX: ffff97b29ed35a40
[ 106.893491] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
[ 106.893493] RBP: ffff97940bb08000 R08: 0000000000000000 R09: 0000000000000000
[ 106.893494] R10: 0000000000000000 R11: ffffb0be003c4ff8 R12: ffffffffbd56e5c0
[ 106.893496] R13: ffffffffbb1f1f40 R14: 0000000000000000 R15: 0000000000000000
[ 106.893497] FS: 00007fc888ad9c00(0000) GS:ffff97b29e500000(0000) knlGS:0000000000000000
[ 106.893499] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 106.893501] CR2: 000055e6199c1780 CR3: 00000001c336c000 CR4: 0000000000350ef0
[ 106.893503] Call Trace:
[ 106.893505]
[ 106.893506] ? rcu_exp_handler+0x35/0xe0
[ 106.893508] ? __warn+0x81/0x130
[ 106.893512] ? rcu_exp_handler+0x35/0xe0
[ 106.893515] ? report_bug+0x171/0x1a0
[ 106.893520] ? handle_bug+0x3c/0x80
[ 106.893523] ? exc_invalid_op+0x17/0x70
[ 106.893526] ? asm_exc_invalid_op+0x1a/0x20
[ 106.893530] ? __pfx_rcu_exp_handler+0x10/0x10
[ 106.893535] ? rcu_exp_handler+0x35/0xe0
[ 106.893538] __flush_smp_call_function_queue+0x10c/0x410
[ 106.893542] __sysvec_call_function_single+0x1c/0xc0
[ 106.893545] sysvec_call_function_single+0x6d/0x90
[ 106.893548]
[ 106.893549]
[ 106.893551] asm_sysvec_call_function_single+0x1a/0x20
[ 106.893553] RIP: 0010:_raw_spin_unlock_irq+0x15/0x30
[ 106.893556] Code: 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 1f 44 00 00 c6 07 00 0f 1f 00 fb 0f 1f 44 00 00 <65> ff 0d 1c 32 ee 43 74 05 e9 ad 14 00 00 0f 1f 44 00 00 e9 a3 14
[ 106.893558] RSP: 0018:ffffb0be04c93c28 EFLAGS: 00000202
[ 106.893560] RAX: 0000000000000000 RBX: fffff60412acba00 RCX: 000000000000002d
[ 106.893562] RDX: 0000000000000001 RSI: 0000000000000006 RDI: ffff9794bc42ec58
[ 106.893563] RBP: 0000000000000000 R08: 0000000000000001 R09: 000000000000001c
[ 106.893565] R10: 0000000000000001 R11: 000000000028b880 R12: 0000000000000cc0
[ 106.893566] R13: ffff9794bc42ec50 R14: 0000000000000001 R15: 0000000000000001
[ 106.893572] ? srso_return_thunk+0x5/0x5f
[ 106.893574] shmem_add_to_page_cache+0x169/0x2e0
[ 106.893581] shmem_alloc_and_add_folio+0x129/0x330
[ 106.893585] shmem_get_folio_gfp+0x2cd/0x580
[ 106.893590] shmem_fallocate+0x3c4/0x550
[ 106.893596] vfs_fallocate+0x13d/0x350
[ 106.893600] __x64_sys_fallocate+0x44/0x70
[ 106.893604] do_syscall_64+0x83/0x170
[ 106.893607] ? srso_return_thunk+0x5/0x5f
[ 106.893610] ? syscall_exit_to_user_mode+0x83/0x230
[ 106.893612] ? srso_return_thunk+0x5/0x5f
[ 106.893615] ? do_syscall_64+0x90/0x170
[ 106.893617] ? srso_return_thunk+0x5/0x5f
[ 106.893620] ? srso_return_thunk+0x5/0x5f
[ 106.893623] entry_SYSCALL_64_after_hwframe+0x78/0x80
[ 106.893625] RIP: 0033:0x7fc888c2c85d
[ 106.893647] 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 a3 45 0c 00 f7 d8 64 89 01 48
[ 106.893648] RSP: 002b:00007fff37b63288 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
[ 106.893651] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fc888c2c85d
[ 106.893652] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000000005a
[ 106.893654] RBP: 0000000000000000 R08: 0000000000000000 R09: 000055e61c833010
[ 106.893655] R10: 0000000400000000 R11: 0000000000000246 R12: 000055e61cea4a80
[ 106.893657] R13: 0000000400000000 R14: 0000000400000000 R15: 000000000000005a
[ 106.893662]
[ 106.893663] ---[ end trace 0000000000000000 ]---

@valowmfk
Copy link

valowmfk commented May 24, 2024

My kernel (Fedora 40) just updated to 6.9.1, and I'm still getting the dev_base_lock error - won't compile. Any suggestions? Attempting to install 17.5.1 (uname -r = 6.9.1-200.fc40.x86_64). Further, 17.5.2 won't let me check it out via git checkout

make -C vmmon-only make[1]: Entering directory '/tmp/patch-vmware/vmware-host-modules/vmmon-only' Using kernel build system. make -C /lib/modules/6.9.1-200.fc40.x86_64/build/include/.. M=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[2]: Entering directory '/usr/src/kernels/6.9.1-200.fc40.x86_64' make[2]: Leaving directory '/usr/src/kernels/6.9.1-200.fc40.x86_64' make -C $PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= postbuild make[2]: Entering directory '/tmp/patch-vmware/vmware-host-modules/vmmon-only' make[2]: 'postbuild' is up to date. make[2]: Leaving directory '/tmp/patch-vmware/vmware-host-modules/vmmon-only' cp -f vmmon.ko ./../vmmon.o make[1]: Leaving directory '/tmp/patch-vmware/vmware-host-modules/vmmon-only' make -C vmnet-only make[1]: Entering directory '/tmp/patch-vmware/vmware-host-modules/vmnet-only' Using kernel build system. make -C /lib/modules/6.9.1-200.fc40.x86_64/build/include/.. M=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[2]: Entering directory '/usr/src/kernels/6.9.1-200.fc40.x86_64' CC [M] /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.o In file included from ./include/linux/spinlock.h:305, from ./include/linux/sched.h:2138, from /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.c:25: /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.c: In function ‘VNetBridgeReceiveFromVNet’: /tmp/patch-vmware/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’? 44 | #define dev_lock_list() read_lock(&dev_base_lock) | ^~~~~~~~~~~~~ ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 56 | #define read_lock(lock) _raw_read_lock(lock) | ^~~~ /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’ 587 | dev_lock_list(); | ^~~~~~~~~~~~~ /tmp/patch-vmware/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: note: each undeclared identifier is reported only once for each function it appears in 44 | #define dev_lock_list() read_lock(&dev_base_lock) | ^~~~~~~~~~~~~ ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 56 | #define read_lock(lock) _raw_read_lock(lock) | ^~~~ /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’ 587 | dev_lock_list(); | ^~~~~~~~~~~~~ /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.c: In function ‘VNetBridgeUp’: /tmp/patch-vmware/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’? 44 | #define dev_lock_list() read_lock(&dev_base_lock) | ^~~~~~~~~~~~~ ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 56 | #define read_lock(lock) _raw_read_lock(lock) | ^~~~ /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.c:902:4: note: in expansion of macro ‘dev_lock_list’ 902 | dev_lock_list(); | ^~~~~~~~~~~~~ make[4]: *** [scripts/Makefile.build:244: /tmp/patch-vmware/vmware-host-modules/vmnet-only/bridge.o] Error 1 make[3]: *** [/usr/src/kernels/6.9.1-200.fc40.x86_64/Makefile:1931: /tmp/patch-vmware/vmware-host-modules/vmnet-only] Error 2 make[2]: *** [Makefile:252: __sub-make] Error 2 make[2]: Leaving directory '/usr/src/kernels/6.9.1-200.fc40.x86_64' make[1]: *** [Makefile:117: vmnet.ko] Error 2 make[1]: Leaving directory '/tmp/patch-vmware/vmware-host-modules/vmnet-only' make: *** [Makefile:21: vmnet-only] Error 2

@rschuster
Copy link

Fixed my issue by disabling anything not needed in firmware setup and using these kernel modules https://github.com/mkubecek/vmware-host-modules/

I get UBSAN: array-index-out-of-bounds messages but no lockups and successfully upgraded to Fedora 40 on the host.

@sincorchetes
Copy link

It's works fine in Linux cr-lan 6.8.10-1434.native #1 SMP Fri May 17 04:09:08 PDT 2024 x86_64 GNU/Linux

The virtual network editor works. The network in the VM works.

But It does not compile in 6.9.1

make -C vmmon-only 
make[1]: Entering directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
Using kernel build system.
make -C /lib/modules/6.9.1-1436.native/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[2]: Entering directory '/usr/lib/modules/6.9.1-1436.native/build'
make[2]: Leaving directory '/usr/lib/modules/6.9.1-1436.native/build'
make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[2]: Entering directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
make[2]: 'postbuild' is up to date.
make[2]: Leaving directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make[1]: Leaving directory '/home/sincorchetes/Documents/vmware-host-modules/vmmon-only'
make -C vmnet-only 
make[1]: Entering directory '/home/sincorchetes/Documents/vmware-host-modules/vmnet-only'
Using kernel build system.
make -C /lib/modules/6.9.1-1436.native/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[2]: Entering directory '/usr/lib/modules/6.9.1-1436.native/build'
  CC [M]  /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.o
In file included from ./include/linux/spinlock.h:305,
                 from ./include/linux/sched.h:2138,
                 from /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.c:25:
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.c: In function ‘VNetBridgeReceiveFromVNet’:
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’?
   44 | #define dev_lock_list()    read_lock(&dev_base_lock)
      |                                       ^~~~~~~~~~~~~
./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’
   56 | #define read_lock(lock)         _raw_read_lock(lock)
      |                                                ^~~~
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’
  587 |    dev_lock_list();
      |    ^~~~~~~~~~~~~
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: note: each undeclared identifier is reported only once for each function it appears in
   44 | #define dev_lock_list()    read_lock(&dev_base_lock)
      |                                       ^~~~~~~~~~~~~
./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’
   56 | #define read_lock(lock)         _raw_read_lock(lock)
      |                                                ^~~~
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’
  587 |    dev_lock_list();
      |    ^~~~~~~~~~~~~
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.c: In function ‘VNetBridgeUp’:
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’?
   44 | #define dev_lock_list()    read_lock(&dev_base_lock)
      |                                       ^~~~~~~~~~~~~
./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’
   56 | #define read_lock(lock)         _raw_read_lock(lock)
      |                                                ^~~~
/home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.c:902:4: note: in expansion of macro ‘dev_lock_list’
  902 |    dev_lock_list();
      |    ^~~~~~~~~~~~~
make[4]: *** [scripts/Makefile.build:244: /home/sincorchetes/Documents/vmware-host-modules/vmnet-only/bridge.o] Error 1
make[3]: *** [/usr/lib/modules/6.9.1-1436.native/build/Makefile:1919: /home/sincorchetes/Documents/vmware-host-modules/vmnet-only] Error 2
make[2]: *** [Makefile:240: __sub-make] Error 2
make[2]: Leaving directory '/usr/lib/modules/6.9.1-1436.native/build'
make[1]: *** [Makefile:117: vmnet.ko] Error 2
make[1]: Leaving directory '/home/sincorchetes/Documents/vmware-host-modules/vmnet-only'
make: *** [Makefile:21: vmnet-only] Error 2

@valowmfk
Copy link

valowmfk commented May 27, 2024

Interesting, I can successfully make vmmon-only, but not vmnet-only...has everything to do with *_lock

2024-05-27T00:36:30.163Z In(05) host-13706 Log for VMware Workstation pid=13706 version=17.5.1 build=build-23298084 option=Release 2024-05-27T00:36:30.163Z In(05) host-13706 The host is x86_64. 2024-05-27T00:36:30.163Z In(05) host-13706 Host codepage=UTF-8 encoding=UTF-8 2024-05-27T00:36:30.163Z In(05) host-13706 Host is Linux 6.9.1-666.rog.fc40.x86_64 Fedora Linux 40 (Workstation Edition) 40 Fedora Linux 40 (Workstation Edition) cpe:/o:fedoraproject:fedora:40 2024-05-27T00:36:30.163Z In(05) host-13706 Host offset from UTC is -06:00. 2024-05-27T00:36:30.163Z In(05) host-13706 DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory. 2024-05-27T00:36:30.163Z In(05) host-13706 [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory. 2024-05-27T00:36:30.163Z In(05) host-13706 PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values. 2024-05-27T00:36:30.163Z In(05) host-13706 DictionaryLoad: Cannot open file "/home/mklouda/.vmware/config": No such file or directory. 2024-05-27T00:36:30.163Z In(05) host-13706 [msg.dictionary.load.openFailed] Cannot open file "/home/mklouda/.vmware/config": No such file or directory. 2024-05-27T00:36:30.163Z In(05) host-13706 PREF Optional preferences file not found at /home/mklouda/.vmware/config. Using default values. 2024-05-27T00:36:30.163Z In(05) host-13706 DictionaryLoad: Cannot open file "/home/mklouda/.vmware/preferences": No such file or directory. 2024-05-27T00:36:30.163Z In(05) host-13706 [msg.dictionary.load.openFailed] Cannot open file "/home/mklouda/.vmware/preferences": No such file or directory. 2024-05-27T00:36:30.163Z In(05) host-13706 PREF Optional preferences file not found at /home/mklouda/.vmware/preferences. Using default values. 2024-05-27T00:36:30.181Z Wa(03) host-13706 Logging to /tmp/vmware-mklouda/vmware-13706.log 2024-05-27T00:36:30.202Z In(05) host-13706 Obtaining info using the running kernel. 2024-05-27T00:36:30.202Z In(05) host-13706 Created new pathsHash. 2024-05-27T00:36:30.202Z In(05) host-13706 Setting header path for 6.9.1-666.rog.fc40.x86_64 to "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include". 2024-05-27T00:36:30.202Z In(05) host-13706 Validating path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for kernel release "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.202Z In(05) host-13706 Failed to find /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h 2024-05-27T00:36:30.202Z In(05) host-13706 /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-05-27T00:36:30.202Z In(05) host-13706 using /usr/bin/gcc for preprocess check 2024-05-27T00:36:30.209Z In(05) host-13706 Preprocessed UTS_RELEASE, got value "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.209Z In(05) host-13706 The header path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for the kernel "6.9.1-666.rog.fc40.x86_64" is valid. Whoohoo! 2024-05-27T00:36:30.540Z In(05) host-13706 found symbol version file /lib/modules/6.9.1-666.rog.fc40.x86_64/build/Module.symvers 2024-05-27T00:36:30.540Z In(05) host-13706 Reading symbol versions from /lib/modules/6.9.1-666.rog.fc40.x86_64/build/Module.symvers. 2024-05-27T00:36:30.554Z In(05) host-13706 Read 26929 symbol versions 2024-05-27T00:36:30.554Z In(05) host-13706 Reading in info for the vmmon module. 2024-05-27T00:36:30.554Z In(05) host-13706 Reading in info for the vmnet module. 2024-05-27T00:36:30.554Z In(05) host-13706 Invoking modinfo on "vmmon". 2024-05-27T00:36:30.560Z In(05) host-13706 "/sbin/modinfo" exited with status 256. 2024-05-27T00:36:30.560Z In(05) host-13706 Invoking modinfo on "vmnet". 2024-05-27T00:36:30.564Z In(05) host-13706 "/sbin/modinfo" exited with status 256. 2024-05-27T00:36:30.575Z In(05) host-13706 to be installed: vmmon status: 0 2024-05-27T00:36:30.575Z In(05) host-13706 to be installed: vmnet status: 0 2024-05-27T00:36:30.587Z In(05) host-13706 Obtaining info using the running kernel. 2024-05-27T00:36:30.587Z In(05) host-13706 Setting header path for 6.9.1-666.rog.fc40.x86_64 to "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include". 2024-05-27T00:36:30.587Z In(05) host-13706 Validating path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for kernel release "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.587Z In(05) host-13706 Failed to find /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h 2024-05-27T00:36:30.587Z In(05) host-13706 /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-05-27T00:36:30.587Z In(05) host-13706 using /usr/bin/gcc for preprocess check 2024-05-27T00:36:30.595Z In(05) host-13706 Preprocessed UTS_RELEASE, got value "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.595Z In(05) host-13706 The header path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for the kernel "6.9.1-666.rog.fc40.x86_64" is valid. Whoohoo! 2024-05-27T00:36:30.922Z In(05) host-13706 found symbol version file /lib/modules/6.9.1-666.rog.fc40.x86_64/build/Module.symvers 2024-05-27T00:36:30.922Z In(05) host-13706 Reading symbol versions from /lib/modules/6.9.1-666.rog.fc40.x86_64/build/Module.symvers. 2024-05-27T00:36:30.936Z In(05) host-13706 Read 26929 symbol versions 2024-05-27T00:36:30.940Z In(05) host-13706 Kernel header path retrieved from FileEntry: /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include 2024-05-27T00:36:30.940Z In(05) host-13706 Update kernel header path to /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include 2024-05-27T00:36:30.940Z In(05) host-13706 Validating path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for kernel release "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.940Z In(05) host-13706 Failed to find /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h 2024-05-27T00:36:30.940Z In(05) host-13706 /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-05-27T00:36:30.940Z In(05) host-13706 using /usr/bin/gcc for preprocess check 2024-05-27T00:36:30.948Z In(05) host-13706 Preprocessed UTS_RELEASE, got value "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.948Z In(05) host-13706 The header path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for the kernel "6.9.1-666.rog.fc40.x86_64" is valid. Whoohoo! 2024-05-27T00:36:30.949Z In(05) host-13706 Found compiler at "/usr/bin/gcc" 2024-05-27T00:36:30.952Z In(05) host-13706 Got gcc version "14". 2024-05-27T00:36:30.952Z In(05) host-13706 The GCC version matches the kernel GCC minor version like a glove. 2024-05-27T00:36:30.954Z In(05) host-13706 Got gcc version "14". 2024-05-27T00:36:30.954Z In(05) host-13706 The GCC version matches the kernel GCC minor version like a glove. 2024-05-27T00:36:30.956Z In(05) host-13706 Trying to find a suitable PBM set for kernel "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.956Z In(05) host-13706 No matching PBM set was found for kernel "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.956Z In(05) host-13706 The GCC version matches the kernel GCC minor version like a glove. 2024-05-27T00:36:30.956Z In(05) host-13706 Validating path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for kernel release "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.956Z In(05) host-13706 Failed to find /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h 2024-05-27T00:36:30.956Z In(05) host-13706 /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-05-27T00:36:30.956Z In(05) host-13706 using /usr/bin/gcc for preprocess check 2024-05-27T00:36:30.963Z In(05) host-13706 Preprocessed UTS_RELEASE, got value "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:30.963Z In(05) host-13706 The header path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for the kernel "6.9.1-666.rog.fc40.x86_64" is valid. Whoohoo! 2024-05-27T00:36:32.129Z In(05) host-13706 The GCC version matches the kernel GCC minor version like a glove. 2024-05-27T00:36:32.129Z In(05) host-13706 Validating path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for kernel release "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:32.129Z In(05) host-13706 Failed to find /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h 2024-05-27T00:36:32.129Z In(05) host-13706 /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-05-27T00:36:32.129Z In(05) host-13706 using /usr/bin/gcc for preprocess check 2024-05-27T00:36:32.137Z In(05) host-13706 Preprocessed UTS_RELEASE, got value "6.9.1-666.rog.fc40.x86_64". 2024-05-27T00:36:32.137Z In(05) host-13706 The header path "/lib/modules/6.9.1-666.rog.fc40.x86_64/build/include" for the kernel "6.9.1-666.rog.fc40.x86_64" is valid. Whoohoo! 2024-05-27T00:36:32.138Z In(05) host-13706 Using temp dir "/tmp". 2024-05-27T00:36:37.756Z In(05) host-13706 Stopping vmware (via systemctl): [ OK ] 2024-05-27T00:36:37.756Z In(05) host-13706 make: Entering directory '/tmp/modconfig-kI1BOR/vmmon-only' 2024-05-27T00:36:37.756Z In(05) host-13706 /usr/bin/make -C /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/.. M=$PWD SRCROOT=$PWD/. \ 2024-05-27T00:36:37.756Z In(05) host-13706 MODULEBUILDDIR= modules 2024-05-27T00:36:37.756Z In(05) host-13706 make[1]: Entering directory '/usr/src/kernels/6.9.1-666.rog.fc40.x86_64' 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/linux/driver.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/linux/driverLog.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/linux/hostif.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/comport.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/apic.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/cpuid.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/crosspage.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/memtrack.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/moduleloop.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/phystrack.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/sharedAreaVmmon.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/statVarsVmmon.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/task.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/common/vmx86.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/bootstrap/bootstrap.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/bootstrap/monLoader.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/bootstrap/monLoaderVmmon.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmmon-only/bootstrap/vmmblob.o 2024-05-27T00:36:37.756Z In(05) host-13706 make[1]: Leaving directory '/usr/src/kernels/6.9.1-666.rog.fc40.x86_64' 2024-05-27T00:36:37.756Z In(05) host-13706 make: Leaving directory '/tmp/modconfig-kI1BOR/vmmon-only' 2024-05-27T00:36:37.756Z In(05) host-13706 make: Entering directory '/tmp/modconfig-kI1BOR/vmnet-only' 2024-05-27T00:36:37.756Z In(05) host-13706 /usr/bin/make -C /lib/modules/6.9.1-666.rog.fc40.x86_64/build/include/.. M=$PWD SRCROOT=$PWD/. \ 2024-05-27T00:36:37.756Z In(05) host-13706 MODULEBUILDDIR= modules 2024-05-27T00:36:37.756Z In(05) host-13706 make[1]: Entering directory '/usr/src/kernels/6.9.1-666.rog.fc40.x86_64' 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/driver.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/hub.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/userif.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/bridge.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/netif.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/procfs.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/smac_compat.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/smac.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/vnetEvent.o 2024-05-27T00:36:37.756Z In(05) host-13706 CC [M] /tmp/modconfig-kI1BOR/vmnet-only/vnetUserListener.o 2024-05-27T00:36:37.756Z In(05) host-13706 make[1]: Leaving directory '/usr/src/kernels/6.9.1-666.rog.fc40.x86_64' 2024-05-27T00:36:37.756Z In(05) host-13706 make: Leaving directory '/tmp/modconfig-kI1BOR/vmnet-only' 2024-05-27T00:36:37.756Z In(05) host-13706 [AppLoader] GLib does not have GSettings support. 2024-05-27T00:36:37.756Z In(05) host-13706 Using kernel build system. 2024-05-27T00:36:37.756Z In(05) host-13706 In file included from /tmp/modconfig-kI1BOR/vmmon-only/common/vmx86.c:52: 2024-05-27T00:36:37.756Z In(05) host-13706 ./arch/x86/include/asm/timex.h: In function ‘random_get_entropy’: 2024-05-27T00:36:37.756Z In(05) host-13706 ./arch/x86/include/asm/timex.h:12:24: error: implicit declaration of function ‘random_get_entropy_fallback’; did you mean ‘random_get_entropy’? [-Wimplicit-function-declaration] 2024-05-27T00:36:37.756Z In(05) host-13706 12 | return random_get_entropy_fallback(); 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 | random_get_entropy 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/common/task.c:548:1: warning: no previous prototype for ‘TaskGetFlatWriteableDataSegment’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 548 | TaskGetFlatWriteableDataSegment(void) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/common/vmx86.c: At top level: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/common/vmx86.c:700:1: warning: no previous prototype for ‘Vmx86FreeVMDriver’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 700 | Vmx86FreeVMDriver(VMDriver *vm) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/common/vmx86.c:733:1: warning: no previous prototype for ‘Vmx86AllocVMDriver’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 733 | Vmx86AllocVMDriver(uint32 numVCPUs) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 make[3]: *** [scripts/Makefile.build:244: /tmp/modconfig-kI1BOR/vmmon-only/common/vmx86.o] Error 1 2024-05-27T00:36:37.756Z In(05) host-13706 make[3]: *** Waiting for unfinished jobs.... 2024-05-27T00:36:37.756Z In(05) host-13706 In file included from /tmp/modconfig-kI1BOR/vmmon-only/linux/hostif.c:76: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/./include/pgtbl.h: In function ‘PgtblVa2MPNLocked’: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/./include/pgtbl.h:60:8: error: implicit declaration of function ‘pgd_large’; did you mean ‘pgd_page’? [-Wimplicit-function-declaration] 2024-05-27T00:36:37.756Z In(05) host-13706 60 | if (pgd_large(*pgd)) { 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 | pgd_page 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/linux/driver.c:271:1: warning: no previous prototype for ‘LinuxDriverInit’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 271 | LinuxDriverInit(void) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/linux/driver.c:339:1: warning: no previous prototype for ‘LinuxDriverExit’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 339 | LinuxDriverExit(void) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 In file included from /tmp/modconfig-kI1BOR/vmmon-only/./include/pgtbl.h:25: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/./include/compat_pgtable.h:39:45: error: implicit declaration of function ‘p4d_large’; did you mean ‘p4d_page’? [-Wimplicit-function-declaration] 2024-05-27T00:36:37.756Z In(05) host-13706 39 | # define compat_p4d_large(p4d) p4d_large(p4d) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/./include/pgtbl.h:70:8: note: in expansion of macro ‘compat_p4d_large’ 2024-05-27T00:36:37.756Z In(05) host-13706 70 | if (compat_p4d_large(*p4d)) { 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/./include/pgtbl.h:78:11: error: implicit declaration of function ‘pud_large’; did you mean ‘pud_page’? [-Wimplicit-function-declaration] 2024-05-27T00:36:37.756Z In(05) host-13706 78 | if (pud_large(*pud)) { 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 | pud_page 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/./include/pgtbl.h:86:14: error: implicit declaration of function ‘pmd_large’; did you mean ‘pmd_page’? [-Wimplicit-function-declaration] 2024-05-27T00:36:37.756Z In(05) host-13706 86 | if (pmd_large(*pmd)) { 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 | pmd_page 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/linux/hostif.c: At top level: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/linux/hostif.c:2926:1: warning: no previous prototype for ‘HostIFCheckTrackedMPN’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 2926 | HostIFCheckTrackedMPN(VMDriver *vm, // IN: The VM instance 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/linux/hostif.c:3046:1: warning: no previous prototype for ‘HostIFWritePhysicalWork’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 3046 | HostIFWritePhysicalWork(MA ma, // MA to be written to 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmmon-only/linux/hostif.c:3205:1: warning: no previous prototype for ‘HostIFStartTimer’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 3205 | HostIFStartTimer(Bool rateChanged, //IN: Did rate change? 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 make[3]: *** [scripts/Makefile.build:244: /tmp/modconfig-kI1BOR/vmmon-only/linux/hostif.o] Error 1 2024-05-27T00:36:37.756Z In(05) host-13706 make[2]: *** [/usr/src/kernels/6.9.1-666.rog.fc40.x86_64/Makefile:1931: /tmp/modconfig-kI1BOR/vmmon-only] Error 2 2024-05-27T00:36:37.756Z In(05) host-13706 make[1]: *** [Makefile:252: __sub-make] Error 2 2024-05-27T00:36:37.756Z In(05) host-13706 make: *** [Makefile:117: vmmon.ko] Error 2 2024-05-27T00:36:37.756Z In(05) host-13706 Using kernel build system. 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/userif.c:1091:1: warning: no previous prototype for ‘VNetUserIf_Create’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 1091 | VNetUserIf_Create(VNetPort **ret) // OUT 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/netif.c:173:1: warning: no previous prototype for ‘VNetNetIf_Create’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 173 | VNetNetIf_Create(char *devName, // IN: 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/vnetUserListener.c:87:1: warning: no previous prototype for ‘VNetUserListener_Create’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 87 | VNetUserListener_Create(uint32 classMask, // IN: the listener's class mask 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c:258:1: warning: no previous prototype for ‘VNetBridge_Create’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 258 | VNetBridge_Create(const char *devName, // IN: name of device (e.g., "eth0") 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 In file included from ./include/linux/spinlock.h:305, 2024-05-27T00:36:37.756Z In(05) host-13706 from ./include/linux/sched.h:2138, 2024-05-27T00:36:37.756Z In(05) host-13706 from /tmp/modconfig-kI1BOR/vmnet-only/bridge.c:25: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c: In function ‘VNetBridgeReceiveFromVNet’: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’? 2024-05-27T00:36:37.756Z In(05) host-13706 44 | #define dev_lock_list() read_lock(&dev_base_lock) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 2024-05-27T00:36:37.756Z In(05) host-13706 56 | #define read_lock(lock) _raw_read_lock(lock) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’ 2024-05-27T00:36:37.756Z In(05) host-13706 587 | dev_lock_list(); 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/vmnetInt.h:44:39: note: each undeclared identifier is reported only once for each function it appears in 2024-05-27T00:36:37.756Z In(05) host-13706 44 | #define dev_lock_list() read_lock(&dev_base_lock) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 2024-05-27T00:36:37.756Z In(05) host-13706 56 | #define read_lock(lock) _raw_read_lock(lock) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’ 2024-05-27T00:36:37.756Z In(05) host-13706 587 | dev_lock_list(); 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c: In function ‘VNetBridgeUp’: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’? 2024-05-27T00:36:37.756Z In(05) host-13706 44 | #define dev_lock_list() read_lock(&dev_base_lock) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 2024-05-27T00:36:37.756Z In(05) host-13706 56 | #define read_lock(lock) _raw_read_lock(lock) 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c:900:4: note: in expansion of macro ‘dev_lock_list’ 2024-05-27T00:36:37.756Z In(05) host-13706 900 | dev_lock_list(); 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c: At top level: 2024-05-27T00:36:37.756Z In(05) host-13706 /tmp/modconfig-kI1BOR/vmnet-only/bridge.c:1411:1: warning: no previous prototype for ‘VNetBridgeSendLargePacket’ [-Wmissing-prototypes] 2024-05-27T00:36:37.756Z In(05) host-13706 1411 | VNetBridgeSendLargePacket(struct sk_buff *skb, // IN: packet to split 2024-05-27T00:36:37.756Z In(05) host-13706 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2024-05-27T00:36:37.756Z In(05) host-13706 make[3]: *** [scripts/Makefile.build:244: /tmp/modconfig-kI1BOR/vmnet-only/bridge.o] Error 1 2024-05-27T00:36:37.756Z In(05) host-13706 make[3]: *** Waiting for unfinished jobs.... 2024-05-27T00:36:37.756Z In(05) host-13706 make[2]: *** [/usr/src/kernels/6.9.1-666.rog.fc40.x86_64/Makefile:1931: /tmp/modconfig-kI1BOR/vmnet-only] Error 2 2024-05-27T00:36:37.756Z In(05) host-13706 make[1]: *** [Makefile:252: __sub-make] Error 2 2024-05-27T00:36:37.756Z In(05) host-13706 make: *** [Makefile:117: vmnet.ko] Error 2 2024-05-27T00:36:37.756Z In(05) host-13706 Unable to install all modules. See log for details. 2024-05-27T00:36:37.756Z In(05) host-13706

@torehl
Copy link
Author

torehl commented May 27, 2024

The above two fixes from @dioni21 work fine for me on kernels > 6.8.7. I am running VMware Workstation 17.5.2 with 6.8.10-200.fc39 without any issues.

`$ diff -autrB vmware-host-modules-workstation-17.5.1 vmware-host-modules-workstation-17.5.1-torel
Only in vmware-host-modules-workstation-17.5.1-torel/vmmon-only/common: vmx86.c.ORIG
diff -autrB vmware-host-modules-workstation-17.5.1/vmmon-only/include/x86cpuid.h vmware-host-modules-workstation-17.5.1-torel/vmmon-only/include/x86cpuid.h
--- vmware-host-modules-workstation-17.5.1/vmmon-only/include/x86cpuid.h 2024-01-12 08:30:33.000000000 +0100
+++ vmware-host-modules-workstation-17.5.1-torel/vmmon-only/include/x86cpuid.h 2024-05-24 16:26:49.025131089 +0200
@@ -92,7 +92,8 @@
uint32 eax; // IN
uint32 ecx; // IN
uint32 numLogicalCPUs; // IN/OUT

  • CPUIDReply logicalCPUs[0]; // OUT
    +// CPUIDReply logicalCPUs[0]; // OUT
  • CPUIDReply logicalCPUs[]; // OUT
    } CPUIDQuery;
    #pragma pack(pop)
    #endif
    Only in vmware-host-modules-workstation-17.5.1-torel/vmmon-only/include: x86cpuid.h.ORIG
    diff -autrB vmware-host-modules-workstation-17.5.1/vmmon-only/include/x86msr.h vmware-host-modules-workstation-17.5.1-torel/vmmon-only/include/x86msr.h
    --- vmware-host-modules-workstation-17.5.1/vmmon-only/include/x86msr.h 2024-01-12 08:30:33.000000000 +0100
    +++ vmware-host-modules-workstation-17.5.1-torel/vmmon-only/include/x86msr.h 2024-05-24 16:27:11.336121943 +0200
    @@ -67,7 +67,8 @@
    typedef struct MSRQuery {
    uint32 msrNum; // IN
    uint32 numLogicalCPUs; // IN/OUT
  • MSRReply logicalCPUs[0]; // OUT
    +// MSRReply logicalCPUs[0]; // OUT
  • MSRReply logicalCPUs[]; // OUT
    } MSRQuery;
    #pragma pack(pop)

Only in vmware-host-modules-workstation-17.5.1-torel/vmmon-only/include: x86msr.h.ORIG
Only in vmware-host-modules-workstation-17.5.1-torel/vmmon-only: vmmon.mod
Only in vmware-host-modules-workstation-17.5.1-torel/vmnet-only: vmnet.mod
`

@torehl
Copy link
Author

torehl commented May 27, 2024

Patch works fine with the latest kernel, 6.8.11-200.fc39.x86_64.

@valowmfk
Copy link

Still no luck on my end. Seems like all of the above patches are fixing vmmon, and I can complete make on that module. However, vmnet is NOT completing without the dev_base_lock error. Has anyone found a fix for that?

@rschuster
Copy link

dev_base_lock is defined in this file for me.

/usr/src/kernels/$(uname -r)/include/linux/netdevice.h

@jwwilliams1994
Copy link

dev_base_lock has been removed as of kernel 6.9

@sincorchetes
Copy link

dev_base_lock has been removed as of kernel 6.9

Yes, you are on the way.

image image

@valowmfk
Copy link

valowmfk commented Jun 4, 2024

The 17.5.1 module still tries to compile against it, so how do I solve for it?

@sincorchetes
Copy link

The 17.5.1 module still tries to compile against it, so how do I solve for it?

At this moment try to use 6.8.n kernel version.

@valowmfk
Copy link

valowmfk commented Jun 4, 2024

The 17.5.1 module still tries to compile against it, so how do I solve for it?

At this moment try to use 6.8.n kernel version.

Sadly not an option right now - I'm running the Asus ROG 6.9 kernel for a thousand other fixes. :)

@sincorchetes
Copy link

The 17.5.1 module still tries to compile against it, so how do I solve for it?

At this moment try to use 6.8.n kernel version.

Sadly not an option right now - I'm running the Asus ROG 6.9 kernel for a thousand other fixes. :)

So, you only have to wait to fix it then...

@valowmfk
Copy link

valowmfk commented Jun 4, 2024

The 17.5.1 module still tries to compile against it, so how do I solve for it?

At this moment try to use 6.8.n kernel version.

Sadly not an option right now - I'm running the Asus ROG 6.9 kernel for a thousand other fixes. :)

So, you only have to wait to fix it then...

And wait I will - this is a great community, thanks for the answers.

@valowmfk
Copy link

valowmfk commented Jun 7, 2024

@ixd704
Copy link

ixd704 commented Jun 18, 2024

Works for me with today's kernel upgrade to Fedora W40. Thanks

@kdo037
Copy link

kdo037 commented Jun 20, 2024

FYI these modules worked on 6.9.1 https://github.com/nan0desu/vmware-host-modules/tree/tmp/workstation-17.5.2-k6.9.1

Great. Thank you!

@futex
Copy link

futex commented Sep 6, 2024

I have a kernel crash that looks like your errors. The difference is i use VMware 17.6.0 and kernel 6.8.0-41-generic, i'm on Mint 22 based on Ubuntu 24.04 according to the vmware release notes, 24.04 should be supported.

`[28720.724660] ------------[ cut here ]------------
[28720.724664] UBSAN: array-index-out-of-bounds in /tmp/modconfig-D93pF0/vmmon-only/linux/hostif.c:2825:22
[28720.724667] index 0 is out of range for type 'CPUIDReply []'
[28720.724669] CPU: 2 PID: 88851 Comm: vmware-vmx Tainted: P OE 6.8.0-41-generic #41-Ubuntu
[28720.724671] Hardware name: Dell Inc. XPS 9320/07608N, BIOS 2.14.0 07/10/2024
[28720.724672] Call Trace:
[28720.724673]
[28720.724676] dump_stack_lvl+0x76/0xa0
[28720.724684] dump_stack+0x10/0x20
[28720.724685] __ubsan_handle_out_of_bounds+0xc6/0x110
[28720.724689] HostIF_GetAllCpuInfo+0x6b/0x120 [vmmon]
[28720.724697] LinuxDriver_Ioctl+0xdd4/0x1320 [vmmon]
[28720.724702] ? __alloc_pages+0x1e9/0x350
[28720.724706] ? __mod_memcg_lruvec_state+0xd6/0x1a0
[28720.724709] ? __mod_lruvec_state+0x36/0x50
[28720.724710] ? __lruvec_stat_mod_folio+0x70/0xc0
[28720.724711] ? set_ptes.isra.0+0x2b/0xb0
[28720.724714] ? do_anonymous_page+0x1a3/0x430
[28720.724716] __x64_sys_ioctl+0xa0/0xf0
[28720.724719] ? __x64_sys_ioctl+0xa0/0xf0
[28720.724720] x64_sys_call+0x143b/0x25c0
[28720.724722] do_syscall_64+0x7f/0x180
[28720.724725] ? __count_memcg_events+0x6b/0x120
[28720.724726] ? count_memcg_events.constprop.0+0x2a/0x50
[28720.724728] ? handle_mm_fault+0xad/0x380
[28720.724730] ? do_user_addr_fault+0x32c/0x670
[28720.724732] ? irqentry_exit_to_user_mode+0x7e/0x260
[28720.724735] ? irqentry_exit+0x43/0x50
[28720.724736] ? exc_page_fault+0x94/0x1b0
[28720.724738] entry_SYSCALL_64_after_hwframe+0x78/0x80
[28720.724741] RIP: 0033:0x79f78d524ded
[28720.724763] 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
[28720.724764] RSP: 002b:00007ffdd74c8320 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[28720.724766] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000079f78d524ded
[28720.724767] RDX: 00007ffdd74c8388 RSI: 00000000000007f7 RDI: 000000000000000f
[28720.724768] RBP: 00007ffdd74c8370 R08: 000079f78d603b20 R09: 0000000000000000
[28720.724769] R10: 00005fa4b974a9c0 R11: 0000000000000246 R12: 00005fa4b9a364f0
[28720.724769] R13: 00005fa4b75a9970 R14: 00005fa4b9a2f930 R15: 00005fa4b974a9c0
[28720.724771]
[28720.724771] ---[ end trace ]---
[28720.724772] ------------[ cut here ]------------
[28720.724772] UBSAN: array-index-out-of-bounds in /tmp/modconfig-D93pF0/vmmon-only/linux/hostif.c:2826:60
[28720.724774] index 0 is out of range for type 'CPUIDReply [
]'
[28720.724775] CPU: 2 PID: 88851 Comm: vmware-vmx Tainted: P OE 6.8.0-41-generic #41-Ubuntu
[28720.724776] Hardware name: Dell Inc. XPS 9320/07608N, BIOS 2.14.0 07/10/2024
[28720.724776] Call Trace:
[28720.724777]
[28720.724777] dump_stack_lvl+0x76/0xa0
[28720.724779] dump_stack+0x10/0x20
[28720.724780] __ubsan_handle_out_of_bounds+0xc6/0x110
[28720.724782] HostIF_GetAllCpuInfo+0x8e/0x120 [vmmon]
[28720.724789] LinuxDriver_Ioctl+0xdd4/0x1320 [vmmon]
[28720.724794] ? __alloc_pages+0x1e9/0x350
[28720.724795] ? __mod_memcg_lruvec_state+0xd6/0x1a0
[28720.724798] ? __mod_lruvec_state+0x36/0x50
[28720.724799] ? __lruvec_stat_mod_folio+0x70/0xc0
[28720.724800] ? set_ptes.isra.0+0x2b/0xb0
[28720.724802] ? do_anonymous_page+0x1a3/0x430
[28720.724804] __x64_sys_ioctl+0xa0/0xf0
[28720.724805] ? __x64_sys_ioctl+0xa0/0xf0
[28720.724807] x64_sys_call+0x143b/0x25c0
[28720.724808] do_syscall_64+0x7f/0x180
[28720.724810] ? __count_memcg_events+0x6b/0x120
[28720.724811] ? count_memcg_events.constprop.0+0x2a/0x50
[28720.724813] ? handle_mm_fault+0xad/0x380
[28720.724815] ? do_user_addr_fault+0x32c/0x670
[28720.724816] ? irqentry_exit_to_user_mode+0x7e/0x260
[28720.724818] ? irqentry_exit+0x43/0x50
[28720.724820] ? exc_page_fault+0x94/0x1b0
[28720.724821] entry_SYSCALL_64_after_hwframe+0x78/0x80
[28720.724823] RIP: 0033:0x79f78d524ded
[28720.724827] 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
[28720.724828] RSP: 002b:00007ffdd74c8320 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[28720.724829] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000079f78d524ded
[28720.724830] RDX: 00007ffdd74c8388 RSI: 00000000000007f7 RDI: 000000000000000f
[28720.724830] RBP: 00007ffdd74c8370 R08: 000079f78d603b20 R09: 0000000000000000
[28720.724831] R10: 00005fa4b974a9c0 R11: 0000000000000246 R12: 00005fa4b9a364f0
[28720.724832] R13: 00005fa4b75a9970 R14: 00005fa4b9a2f930 R15: 00005fa4b974a9c0
[28720.724833]
[28720.724833] ---[ end trace ]---
[28720.724836] ------------[ cut here ]------------
[28720.724837] ------------[ cut here ]------------
[28720.724839] UBSAN: array-index-out-of-bounds in /tmp/modconfig-D93pF0/vmmon-only/linux/hostif.c:2825:22
[28720.724840] UBSAN: array-index-out-of-bounds in /tmp/modconfig-D93pF0/vmmon-only/linux/hostif.c:2826:60
[28720.724843] index 2 is out of range for type 'CPUIDReply []'
[28720.724844] CPU: 4 PID: 88103 Comm: vmware Tainted: P OE 6.8.0-41-generic #41-Ubuntu
[28720.724846] index 3 is out of range for type 'CPUIDReply [
]'
[28720.724846] Hardware name: Dell Inc. XPS 9320/07608N, BIOS 2.14.0 07/10/2024
[28720.724847] Call Trace:
[28720.724848]
[28720.724850] dump_stack_lvl+0x76/0xa0
[28720.724854] dump_stack+0x10/0x20
[28720.724856] __ubsan_handle_out_of_bounds+0xc6/0x110
[28720.724858] HostIFGetCpuInfo+0x3d/0xa0 [vmmon]
[28720.724864] __flush_smp_call_function_queue+0x9f/0x440
[28720.724868] generic_smp_call_function_single_interrupt+0x13/0x20
[28720.724870] __sysvec_call_function+0x1c/0xd0
[28720.724873] sysvec_call_function+0x3b/0xd0
[28720.724875] asm_sysvec_call_function+0x1b/0x20
[28720.724877] RIP: 0033:0x7b4b284a2702
[28720.724889] Code: 64 8b 04 25 d0 02 00 00 39 c2 0f 84 08 01 00 00 83 7f 30 02 74 32 b8 08 00 00 00 f0 0f c1 03 83 c0 08 85 c0 0f 88 fe 00 00 00 01 75 7a 31 d2 90 48 83 c4 08 89 d0 5b 41 5c 41 5d 5d c3 66 2e
[28720.724891] RSP: 002b:00007ffd72f7d9e0 EFLAGS: 00000202
[28720.724892] RAX: 0000000000000008 RBX: 00005ba7d4a10d30 RCX: 00007ffd72f7db18
[28720.724893] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 00005ba7d4a10d30
[28720.724894] RBP: 00007ffd72f7da00 R08: 000000002be646b3 R09: 0000000000000178
[28720.724895] R10: 0000000000000001 R11: 00007ffd72f7db90 R12: 00007b4b27eb6c20
[28720.724896] R13: 00007b4b27ea4620 R14: 00007b4b27eb6c20 R15: 0000000000000001
[28720.724897]
[28720.724898] ---[ end trace ]---
[28720.724898] CPU: 8 PID: 2999 Comm: caribou Tainted: P OE 6.8.0-41-generic #41-Ubuntu
[28720.724901] Hardware name: Dell Inc. XPS 9320/07608N, BIOS 2.14.0 07/10/2024
[28720.724902] Call Trace:
[28720.724904]
[28720.724905] dump_stack_lvl+0x76/0xa0
[28720.724910] dump_stack+0x10/0x20
[28720.724913] __ubsan_handle_out_of_bounds+0xc6/0x110
[28720.724916] HostIFGetCpuInfo+0x60/0xa0 [vmmon]
[28720.724926] __flush_smp_call_function_queue+0x9f/0x440
[28720.724930] generic_smp_call_function_single_interrupt+0x13/0x20
[28720.724933] __sysvec_call_function+0x1c/0xd0
[28720.724937] sysvec_call_function+0x8d/0xd0
[28720.724939]
[28720.724940]
[28720.724941] asm_sysvec_call_function+0x1b/0x20
[28720.724944] RIP: 0010:mutex_lock+0x22/0x50
[28720.724948] Code: 90 90 90 90 90 90 90 90 0f 1f 44 00 00 55 48 89 e5 53 48 89 fb e8 0e da ff ff 31 c0 65 48 8b 14 25 40 43 03 00 f0 48 0f b1 13 <75> 10 48 8b 5d f8 c9 31 c0 31 d2 31 ff c3 cc cc cc cc 48 89 df e8
[28720.724950] RSP: 0018:ffffa9de4543f8f0 EFLAGS: 00000246
[28720.724952] RAX: 0000000000000000 RBX: ffff9071ceaaa710 RCX: 0000000000000001
[28720.724954] RDX: ffff9071c52da900 RSI: 0000000000000800 RDI: 0000000000000000
[28720.724955] RBP: ffffa9de4543f8f8 R08: 0000000000000000 R09: 0000000000000000
[28720.724957] R10: 0000000000000000 R11: ffff9071eaa6d7c0 R12: 0000000040000040
[28720.724958] R13: ffffa9de4543fc00 R14: ffff9071ceaaa400 R15: ffffa9de4543fa60
[28720.724960] unix_stream_read_generic+0x106/0xae0
[28720.724966] unix_stream_recvmsg+0x8d/0xa0
[28720.724968] ? __pfx_unix_stream_read_actor+0x10/0x10
[28720.724971] sock_recvmsg+0xde/0xf0
[28720.724975] ____sys_recvmsg+0xa3/0x230
[28720.724979] ___sys_recvmsg+0x91/0xf0
[28720.724982] __sys_recvmsg+0x82/0xe0
[28720.724985] __x64_sys_recvmsg+0x1d/0x30
[28720.724987] x64_sys_call+0x1b16/0x25c0
[28720.724990] do_syscall_64+0x7f/0x180
[28720.724992] ? __x64_sys_poll+0xc7/0x150
[28720.724996] ? syscall_exit_to_user_mode+0x89/0x260
[28720.724999] ? do_syscall_64+0x8c/0x180
[28720.725001] ? __sys_recvmsg+0xc6/0xe0
[28720.725004] ? syscall_exit_to_user_mode+0x89/0x260
[28720.725006] ? do_syscall_64+0x8c/0x180
[28720.725008] ? syscall_exit_to_user_mode+0x89/0x260
[28720.725011] ? do_syscall_64+0x8c/0x180
[28720.725013] ? __rseq_handle_notify_resume+0x37/0x70
[28720.725016] ? irqentry_exit_to_user_mode+0x7e/0x260
[28720.725019] ? irqentry_exit+0x43/0x50
[28720.725021] entry_SYSCALL_64_after_hwframe+0x78/0x80
[28720.725024] RIP: 0033:0x718b69d2be3b
[28720.725039] Code: 0f 1f 80 00 00 00 00 89 55 e8 48 89 75 e0 89 7d ec e8 19 c7 f6 ff 8b 55 e8 48 8b 75 e0 41 89 c0 8b 7d ec b8 2f 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 48 63 d8 44 89 c7 e8 72 c7 f6 ff 48 89 d8
[28720.725041] RSP: 002b:00007ffc7ff41df0 EFLAGS: 00000293 ORIG_RAX: 000000000000002f
[28720.725043] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000718b69d2be3b
[28720.725044] RDX: 0000000040000000 RSI: 00007ffc7ff41ed0 RDI: 0000000000000005
[28720.725045] RBP: 00007ffc7ff41e10 R08: 0000000000000000 R09: 0000000000000000
[28720.725047] R10: 00005fb94fc19220 R11: 0000000000000293 R12: 00007ffc7ff41ed0
[28720.725048] R13: 00005fb94ab9dec8 R14: 00007ffc7ff41f84 R15: 0000000000000000
[28720.725050]
[28720.725051] ---[ end trace ]---
[28720.726232] ------------[ cut here ]------------
[28720.726232] UBSAN: array-index-out-of-bounds in /tmp/modconfig-D93pF0/vmmon-only/common/vmx86.c:2975:31
[28720.726234] index 0 is out of range for type 'MSRReply []'
[28720.726235] CPU: 2 PID: 88851 Comm: vmware-vmx Tainted: P OE 6.8.0-41-generic #41-Ubuntu
[28720.726236] Hardware name: Dell Inc. XPS 9320/07608N, BIOS 2.14.0 07/10/2024
[28720.726237] Call Trace:
[28720.726237]
[28720.726238] dump_stack_lvl+0x76/0xa0
[28720.726240] dump_stack+0x10/0x20
[28720.726241] __ubsan_handle_out_of_bounds+0xc6/0x110
[28720.726243] Vmx86_GetAllMSRs+0xc9/0x180 [vmmon]
[28720.726251] LinuxDriver_Ioctl+0xb94/0x1320 [vmmon]
[28720.726255] ? __update_idle_core+0x58/0x130
[28720.726258] ? finish_task_switch.isra.0+0x93/0x300
[28720.726261] ? __schedule+0x284/0x6b0
[28720.726262] ? __mod_memcg_lruvec_state+0xd6/0x1a0
[28720.726265] __x64_sys_ioctl+0xa0/0xf0
[28720.726267] ? __x64_sys_ioctl+0xa0/0xf0
[28720.726268] x64_sys_call+0x143b/0x25c0
[28720.726269] do_syscall_64+0x7f/0x180
[28720.726271] ? filemap_map_pages+0x2fe/0x4c0
[28720.726274] ? do_read_fault+0x112/0x1d0
[28720.726275] ? do_fault+0x109/0x350
[28720.726277] ? handle_pte_fault+0x114/0x1d0
[28720.726279] ? __handle_mm_fault+0x653/0x790
[28720.726280] ? rseq_get_rseq_cs+0x22/0x280
[28720.726282] ? rseq_ip_fixup+0x90/0x1f0
[28720.726284] ? count_memcg_events.constprop.0+0x2a/0x50
[28720.726286] ? irqentry_exit_to_user_mode+0x7e/0x260
[28720.726288] ? irqentry_exit+0x43/0x50
[28720.726290] ? exc_page_fault+0x94/0x1b0
[28720.726291] entry_SYSCALL_64_after_hwframe+0x78/0x80
[28720.726293] RIP: 0033:0x79f78d524ded
[28720.726297] 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
[28720.726298] RSP: 002b:00007ffdd74c8340 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[28720.726300] RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 000079f78d524ded
[28720.726300] RDX: 00007ffdd74c83a8 RSI: 00000000000007ec RDI: 000000000000000f
[28720.726301] RBP: 00007ffdd74c8390 R08: 00005fa4b9582010 R09: 0000000000000007
[28720.726302] R10: 0000000000000007 R11: 0000000000000246 R12: 0000000000000010
[28720.726302] R13: 000000000000003a R14: 00005fa4b9764b60 R15: 00005fa4b9a35bc0
[28720.726304]
[28720.726304] ---[ end trace ]---
[28720.726305] ------------[ cut here ]------------
[28720.726305] UBSAN: array-index-out-of-bounds in /tmp/modconfig-D93pF0/vmmon-only/common/vmx86.c:2976:31
[28720.726306] index 0 is out of range for type 'MSRReply [
]'
[28720.726307] CPU: 2 PID: 88851 Comm: vmware-vmx Tainted: P OE 6.8.0-41-generic #41-Ubuntu
[28720.726308] Hardware name: Dell Inc. XPS 9320/07608N, BIOS 2.14.0 07/10/2024
[28720.726308] Call Trace:
[28720.726309]
[28720.726309] dump_stack_lvl+0x76/0xa0
[28720.726311] dump_stack+0x10/0x20
[28720.726312] __ubsan_handle_out_of_bounds+0xc6/0x110
[28720.726314] Vmx86_GetAllMSRs+0xe0/0x180 [vmmon]
[28720.726321] LinuxDriver_Ioctl+0xb94/0x1320 [vmmon]
[28720.726325] ? __update_idle_core+0x58/0x130
[28720.726327] ? finish_task_switch.isra.0+0x93/0x300
[28720.726328] ? __schedule+0x284/0x6b0
[28720.726330] ? __mod_memcg_lruvec_state+0xd6/0x1a0
[28720.726333] __x64_sys_ioctl+0xa0/0xf0
[28720.726334] ? __x64_sys_ioctl+0xa0/0xf0
[28720.726336] x64_sys_call+0x143b/0x25c0
[28720.726337] do_syscall_64+0x7f/0x180
[28720.726338] ? filemap_map_pages+0x2fe/0x4c0
[28720.726341] ? do_read_fault+0x112/0x1d0
[28720.726342] ? do_fault+0x109/0x350
[28720.726343] ? handle_pte_fault+0x114/0x1d0
[28720.726345] ? __handle_mm_fault+0x653/0x790
[28720.726347] ? rseq_get_rseq_cs+0x22/0x280
[28720.726348] ? rseq_ip_fixup+0x90/0x1f0
[28720.726350] ? count_memcg_events.constprop.0+0x2a/0x50
[28720.726352] ? irqentry_exit_to_user_mode+0x7e/0x260
[28720.726354] ? irqentry_exit+0x43/0x50
[28720.726355] ? exc_page_fault+0x94/0x1b0
[28720.726357] entry_SYSCALL_64_after_hwframe+0x78/0x80
[28720.726359] RIP: 0033:0x79f78d524ded
[28720.726362] 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
[28720.726363] RSP: 002b:00007ffdd74c8340 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[28720.726364] RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 000079f78d524ded
[28720.726365] RDX: 00007ffdd74c83a8 RSI: 00000000000007ec RDI: 000000000000000f
[28720.726365] RBP: 00007ffdd74c8390 R08: 00005fa4b9582010 R09: 0000000000000007
[28720.726366] R10: 0000000000000007 R11: 0000000000000246 R12: 0000000000000010
[28720.726367] R13: 000000000000003a R14: 00005fa4b9764b60 R15: 00005fa4b9a35bc0
[28720.726368]
[28720.726368] ---[ end trace ]---
[28720.726836] /dev/vmmon[88851]: PTSC: initialized at 2611200000 Hz using TSC, TSCs are synchronized.
[28720.794481] /dev/vmmon[88851]: Monitor IPI vector: 0
[28720.794486] /dev/vmmon[88851]: HV IPI vector: 0
[28720.795650] ------------[ cut here ]------------
[28720.795652] WARNING: CPU: 4 PID: 88851 at kernel/rcu/tree_plugin.h:734 rcu_sched_clock_irq+0x3ad/0x3c0
[28720.795659] Modules linked in: nls_utf8 cifs cifs_arc4 nls_ucs2_utils cifs_md4 netfs exfat xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user xfrm_algo xt_addrtype nft_compat nf_tables br_netfilter bridge stp llc vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) ccm rfcomm snd_seq_dummy snd_hrtimer snd_usb_audio snd_usbmidi_lib snd_ump usbhid uas usb_storage overlay qrtr cmac algif_hash algif_skcipher af_alg bnep binfmt_misc snd_ctl_led snd_soc_sof_sdw snd_soc_intel_hda_dsp_common snd_soc_intel_sof_maxim_common snd_sof_probes zfs(PO) spl(O) snd_soc_rt715_sdca snd_soc_rt1316_sdw regmap_sdw_mbq regmap_sdw snd_hda_codec_hdmi snd_soc_dmic snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel snd_sof_intel_hda_mlink soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_generic_allocation soundwire_bus
[28720.795694] intel_uncore_frequency intel_uncore_frequency_common snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine xe snd_hda_intel snd_intel_dspcfg ivsc_csi ivsc_ace snd_intel_sdw_acpi iwlmvm drm_gpuvm snd_hda_codec drm_exec gpu_sched x86_pkg_temp_thermal snd_hda_core drm_suballoc_helper intel_powerclamp drm_ttm_helper coretemp nls_iso8859_1 snd_hwdep i915 mei_vsc snd_pcm btusb mac80211 dell_laptop btrtl kvm_intel cmdlinepart btintel snd_seq_midi spi_nor snd_seq_midi_event btbcm snd_rawmidi btmtk processor_thermal_device_pci mei_pxp mtd mei_hdcp intel_ipu6_isys(OE) spi_ljca i2c_ljca gpio_ljca intel_rapl_msr libarc4 dell_wmi snd_seq videobuf2_dma_contig processor_thermal_device hid_sensor_custom_intel_hinge hid_sensor_als drm_buddy kvm bluetooth iwlwifi dell_smbios hid_sensor_trigger videobuf2_memops snd_seq_device industrialio_triggered_buffer processor_thermal_wt_hint ttm mei_me videobuf2_v4l2 snd_timer dcdbas processor_thermal_rfim kfifo_buf spi_intel_pci irqbypass rapl intel_cstate snd videobuf2_common
[28720.795730] i2c_i801 hid_sensor_iio_common ecdh_generic dell_wmi_sysman dell_smm_hwmon dell_wmi_ddv firmware_attributes_class ledtrig_audio dell_wmi_descriptor wmi_bmof processor_thermal_rapl usb_ljca ecc industrialio spi_intel drm_display_helper i2c_smbus mei intel_ipu6_psys(OE) soundcore ov01a10(OE) cfg80211 intel_rapl_common cec v4l2_fwnode processor_thermal_wt_req processor_thermal_power_floor rc_core v4l2_async intel_ipu6(OE) intel_skl_int3472_tps68470 igen6_edac processor_thermal_mbox int3403_thermal ipu_bridge tps68470_regulator mei_vsc_hw int340x_thermal_zone videodev intel_pmc_core clk_tps68470 mc intel_vsec pmt_telemetry intel_skl_int3472_discrete int3400_thermal pmt_class acpi_thermal_rel acpi_pad intel_hid sparse_keymap acpi_tad input_leds joydev mac_hid serio_raw msr parport_pc ppdev lp parport efi_pstore nfnetlink dmi_sysfs ip_tables x_tables autofs4 btrfs blake2b_generic typec_displayport dm_crypt raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1
[28720.795766] raid0 dm_mirror dm_region_hash dm_log hid_sensor_custom hid_sensor_hub intel_ishtp_hid hid_multitouch spi_pxa2xx_platform dw_dmac hid_generic dw_dmac_core 8250_dw crct10dif_pclmul crc32_pclmul polyval_clmulni nvme polyval_generic ghash_clmulni_intel igb ucsi_acpi sha256_ssse3 psmouse sha1_ssse3 typec_ucsi intel_lpss_pci i2c_algo_bit intel_ish_ipc nvme_core dca intel_lpss i2c_hid_acpi thunderbolt xhci_pci i2c_hid intel_ishtp idma64 xhci_pci_renesas video nvme_auth typec hid wmi pinctrl_tigerlake aesni_intel crypto_simd cryptd
[28720.795786] CPU: 4 PID: 88851 Comm: vmware-vmx Tainted: P OE 6.8.0-41-generic #41-Ubuntu
[28720.795788] Hardware name: Dell Inc. XPS 9320/07608N, BIOS 2.14.0 07/10/2024
[28720.795789] RIP: 0010:rcu_sched_clock_irq+0x3ad/0x3c0
[28720.795791] Code: 04 25 40 43 03 00 f0 80 08 08 65 81 25 20 19 25 47 ff ff ff 7f e9 a2 fe ff ff 8b 87 38 08 00 00 85 c0 0f 84 23 fd ff ff eb b2 <0f> 0b e9 ed fc ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90
[28720.795793] RSP: 0018:ffffa9de40284e68 EFLAGS: 00010082
[28720.795794] RAX: ffff907337d0a900 RBX: 0000000000000000 RCX: 0000000000000000
[28720.795795] RDX: 00000000ffffffa7 RSI: ffffffffba7ddf1c RDI: ffff907337d0a900
[28720.795796] RBP: ffffa9de40284e80 R08: 0000000000000000 R09: 0000000000000000
[28720.795797] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[28720.795798] R13: ffff90792f425000 R14: ffffa9de66a63408 R15: ffff90792f424ac0
[28720.795798] FS: 000079f78da8ec00(0000) GS:ffff90792f400000(0000) knlGS:0000000000000000
[28720.795800] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[28720.795800] CR2: 000079f78a6ac000 CR3: 00000003e3aa0000 CR4: 0000000000f50ef0
[28720.795801] PKRU: 55555554
[28720.795802] Call Trace:
[28720.795803]
[28720.795806] ? show_regs+0x6d/0x80
[28720.795809] ? __warn+0x89/0x160
[28720.795812] ? rcu_sched_clock_irq+0x3ad/0x3c0
[28720.795814] ? report_bug+0x17e/0x1b0
[28720.795816] ? handle_bug+0x51/0xa0
[28720.795819] ? exc_invalid_op+0x18/0x80
[28720.795821] ? asm_exc_invalid_op+0x1b/0x20
[28720.795825] ? rcu_sched_clock_irq+0x3ad/0x3c0
[28720.795827] update_process_times+0x76/0xb0
[28720.795829] tick_sched_handle+0x28/0x70
[28720.795832] tick_nohz_highres_handler+0x78/0xa0
[28720.795834] ? __pfx_tick_nohz_highres_handler+0x10/0x10
[28720.795836] __hrtimer_run_queues+0x10f/0x2a0
[28720.795838] hrtimer_interrupt+0xf6/0x250
[28720.795840] __sysvec_apic_timer_interrupt+0x4e/0x150
[28720.795842] sysvec_apic_timer_interrupt+0x8d/0xd0
[28720.795843]
[28720.795844]
[28720.795845] asm_sysvec_apic_timer_interrupt+0x1b/0x20
[28720.795847] RIP: 0010:__kmalloc+0xc8/0x4f0
[28720.795850] Code: 0f 87 11 04 00 00 89 da 83 fb 0d 0f 87 e5 03 00 00 4a 8d 04 e5 00 00 00 00 8b 1d d3 e0 3e 02 48 c7 45 c0 00 00 00 00 4c 29 e0 <48> 8d 04 42 44 21 f3 4c 8b 24 c5 60 94 94 ba f6 c7 04 0f 85 66 02
[28720.795851] RSP: 0018:ffffa9de66a634b0 EFLAGS: 00000212
[28720.795852] RAX: 0000000000000046 RBX: 0000000003ffffff RCX: 0000000000000000
[28720.795853] RDX: 000000000000000c RSI: 0000000000092820 RDI: 0000000000001000
[28720.795854] RBP: ffffa9de66a63500 R08: 0000000000000000 R09: 0000000000000000
[28720.795855] R10: ffffa9de66a63518 R11: 0000000000000000 R12: 000000000000000a
[28720.795855] R13: 0000000000001000 R14: 0000000000092820 R15: ffffffffb8fbec45
[28720.795856] ? mempool_kmalloc+0x15/0x20
[28720.795859] ? __submit_bio+0xb3/0x1c0
[28720.795861] mempool_kmalloc+0x15/0x20
[28720.795863] ? mempool_kmalloc+0x15/0x20
[28720.795865] mempool_alloc+0x80/0x1c0
[28720.795866] ? submit_bio_noacct_nocheck+0x1ac/0x1f0
[28720.795869] nvme_map_data+0x5e/0x480 [nvme]
[28720.795874] nvme_prep_rq.part.0+0x35/0x130 [nvme]
[28720.795878] nvme_queue_rqs+0xa4/0x280 [nvme]
[28720.795882] blk_mq_flush_plug_list.part.0+0xc2/0x190
[28720.795885] blk_mq_flush_plug_list+0x19/0x30
[28720.795886] __blk_flush_plug+0xdf/0x130
[28720.795888] blk_finish_plug+0x31/0x50
[28720.795889] read_pages+0x1c2/0x290
[28720.795892] page_cache_ra_unbounded+0x167/0x1c0
[28720.795894] page_cache_ra_order+0x2a9/0x350
[28720.795896] ? xas_load+0x4c/0x60
[28720.795898] ondemand_readahead+0x21c/0x4d0
[28720.795899] page_cache_async_ra+0x58/0x80
[28720.795900] filemap_get_pages+0x308/0x3b0
[28720.795903] filemap_read+0xf7/0x470
[28720.795905] generic_file_read_iter+0xbb/0x110
[28720.795906] ext4_file_read_iter+0x63/0x210
[28720.795908] vfs_read+0x255/0x390
[28720.795911] ksys_read+0x73/0x100
[28720.795912] __x64_sys_read+0x19/0x30
[28720.795913] x64_sys_call+0x1ada/0x25c0
[28720.795915] do_syscall_64+0x7f/0x180
[28720.795917] ? ksys_lseek+0x9d/0xd0
[28720.795919] ? syscall_exit_to_user_mode+0x89/0x260
[28720.795921] ? do_syscall_64+0x8c/0x180
[28720.795922] ? __mod_memcg_lruvec_state+0xd6/0x1a0
[28720.795925] ? __mod_lruvec_state+0x36/0x50
[28720.795926] ? __lruvec_stat_mod_folio+0x70/0xc0
[28720.795927] ? set_ptes.isra.0+0x2b/0xb0
[28720.795930] ? do_anonymous_page+0x1a3/0x430
[28720.795932] ? handle_pte_fault+0x1cb/0x1d0
[28720.795933] ? __handle_mm_fault+0x653/0x790
[28720.795935] ? __count_memcg_events+0x6b/0x120
[28720.795937] ? count_memcg_events.constprop.0+0x2a/0x50
[28720.795939] ? handle_mm_fault+0xad/0x380
[28720.795940] ? do_user_addr_fault+0x21a/0x670
[28720.795942] ? irqentry_exit_to_user_mode+0x7e/0x260
[28720.795944] ? irqentry_exit+0x43/0x50
[28720.795946] ? exc_page_fault+0x94/0x1b0
[28720.795947] entry_SYSCALL_64_after_hwframe+0x78/0x80
[28720.795950] RIP: 0033:0x79f78d51ba9a
[28720.795969] Code: 55 48 89 e5 48 83 ec 20 48 89 55 e8 48 89 75 f0 89 7d f8 e8 b8 ca f7 ff 48 8b 55 e8 48 8b 75 f0 41 89 c0 8b 7d f8 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 2e 44 89 c7 48 89 45 f8 e8 12 cb f7 ff 48 8b
[28720.795970] RSP: 002b:00007ffdd74c82c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[28720.795971] RAX: ffffffffffffffda RBX: 000000000058c5e8 RCX: 000079f78d51ba9a
[28720.795972] RDX: 000000000058c5e8 RSI: 000079f78a600010 RDI: 0000000000000056
[28720.795972] RBP: 00007ffdd74c82e0 R08: 0000000000000000 R09: 0000000000000000
[28720.795973] R10: 0000000000000022 R11: 0000000000000246 R12: 000000000058c5e8
[28720.795974] R13: 0000000000000029 R14: 000079f78a600010 R15: 0000000000000001
[28720.795975]
[28720.795976] ---[ end trace 0000000000000000 ]---
[28722.260665] ------------[ cut here ]------------
[28722.260668] UBSAN: array-index-out-of-bounds in /tmp/modconfig-D93pF0/vmmon-only/common/moduleloop.c:342:49
[28722.260679] index 0 is out of range for type 'MSRReply [*]'
[28722.260681] CPU: 6 PID: 88929 Comm: vmx-vcpu-0 Tainted: P W OE 6.8.0-41-generic #41-Ubuntu
[28722.260684] Hardware name: Dell Inc. XPS 9320/07608N, BIOS 2.14.0 07/10/2024
[28722.260685] Call Trace:
[28722.260687]
[28722.260691] dump_stack_lvl+0x76/0xa0
[28722.260699] dump_stack+0x10/0x20
[28722.260700] __ubsan_handle_out_of_bounds+0xc6/0x110
[28722.260704] Vmx86_RunVM+0x401/0x7d0 [vmmon]
[28722.260714] LinuxDriver_Ioctl+0xac9/0x1320 [vmmon]
[28722.260721] ? vfs_write+0x322/0x480
[28722.260723] ? vfs_write+0x322/0x480
[28722.260725] ? __f_unlock_pos+0x12/0x20
[28722.260728] ? ksys_write+0xe6/0x100
[28722.260730] __x64_sys_ioctl+0xa0/0xf0
[28722.260732] ? __x64_sys_ioctl+0xa0/0xf0
[28722.260735] x64_sys_call+0x143b/0x25c0
[28722.260737] do_syscall_64+0x7f/0x180
[28722.260741] ? __block_commit_write+0x7d/0xb0
[28722.260744] ? block_write_end+0x4a/0xd0
[28722.260746] ? radix_tree_lookup+0xd/0x20
[28722.260748] ? balance_dirty_pages_ratelimited_flags+0x140/0x3b0
[28722.260752] ? balance_dirty_pages_ratelimited+0x10/0x20
[28722.260754] ? generic_perform_write+0x155/0x230
[28722.260757] ? vfs_write+0x322/0x480
[28722.260758] ? vfs_write+0x322/0x480
[28722.260760] ? __f_unlock_pos+0x12/0x20
[28722.260761] ? ksys_write+0xe6/0x100
[28722.260763] ? syscall_exit_to_user_mode+0x89/0x260
[28722.260765] ? do_syscall_64+0x8c/0x180
[28722.260767] ? __x64_sys_ioctl+0xa0/0xf0
[28722.260769] ? __x64_sys_ioctl+0xbb/0xf0
[28722.260770] ? syscall_exit_to_user_mode+0x89/0x260
[28722.260772] ? do_syscall_64+0x8c/0x180
[28722.260774] ? exc_page_fault+0x94/0x1b0
[28722.260776] entry_SYSCALL_64_after_hwframe+0x78/0x80
[28722.260780] RIP: 0033:0x79f78d524ded
[28722.260803] 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
[28722.260805] RSP: 002b:000079f7825ff820 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[28722.260807] RAX: ffffffffffffffda RBX: 00005fa4b8457e78 RCX: 000079f78d524ded
[28722.260808] RDX: 0000000000000000 RSI: 00000000000007d8 RDI: 000000000000000f
[28722.260809] RBP: 000079f7825ff870 R08: 0000000000000000 R09: 0000000000000000
[28722.260810] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000138
[28722.260811] R13: 000079f78d6ca388 R14: 000079f78d6ca3a0 R15: 00007ffdd74c80c0
[28722.260812]
[28722.260813] ---[ end trace ]---

[29247.035083] task:P2P_DISCOVER state:D stack:0 pid:3948 tgid:3098 ppid:1 flags:0x00000002
[29247.035085] Call Trace:
[29247.035086]
[29247.035087] __schedule+0x27c/0x6b0
[29247.035090] schedule+0x33/0x110
[29247.035093] schedule_preempt_disabled+0x15/0x30
[29247.035095] __mutex_lock.constprop.0+0x42f/0x740
[29247.035098] __mutex_lock_slowpath+0x13/0x20
[29247.035101] mutex_lock+0x3c/0x50
[29247.035104] __netlink_dump_start+0xc4/0x320
[29247.035107] ? __pfx_rtnl_dump_ifinfo+0x10/0x10
[29247.035110] rtnetlink_rcv_msg+0x2ac/0x430
[29247.035113] ? __pfx_rtnl_dump_ifinfo+0x10/0x10
[29247.035116] ? __pfx_rtnetlink_rcv_msg+0x10/0x10
[29247.035119] netlink_rcv_skb+0x5a/0x110
[29247.035122] rtnetlink_rcv+0x15/0x30
[29247.035125] netlink_unicast+0x24a/0x390
[29247.035127] netlink_sendmsg+0x214/0x470
[29247.035129] __sys_sendto+0x21b/0x230
[29247.035133] __x64_sys_sendto+0x24/0x40
[29247.035134] x64_sys_call+0x1c33/0x25c0
[29247.035137] do_syscall_64+0x7f/0x180
[29247.035139] ? __rhashtable_insert_fast.constprop.0+0x1d9/0x300
[29247.035143] ? _raw_spin_unlock_bh+0x1d/0x30
[29247.035145] ? release_sock+0x8d/0xb0
[29247.035147] ? netlink_insert+0x7b/0x1e0
[29247.035151] ? __wake_up+0x45/0x70
[29247.035155] ? netlink_bind+0x316/0x370
[29247.035158] ? apparmor_socket_bind+0x39/0x80
[29247.035161] ? __check_object_size.part.0+0x3a/0x150
[29247.035165] ? __check_object_size+0x23/0x30
[29247.035167] ? move_addr_to_user+0x53/0xe0
[29247.035170] ? __sys_getsockname+0xef/0x110
[29247.035173] ? syscall_exit_to_user_mode+0x89/0x260
[29247.035176] ? do_syscall_64+0x8c/0x180
[29247.035179] ? __rseq_handle_notify_resume+0x37/0x70
[29247.035181] ? irqentry_exit_to_user_mode+0x7e/0x260
[29247.035184] ? irqentry_exit+0x43/0x50
[29247.035187] entry_SYSCALL_64_after_hwframe+0x78/0x80
[29247.035190] RIP: 0033:0x75163f52c0f4
[29247.035198] RSP: 002b:00007515773fdbb0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
[29247.035199] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000075163f52c0f4
[29247.035201] RDX: 0000000000000014 RSI: 00007515773fdc80 RDI: 000000000000005e
[29247.035202] RBP: 00007515773fdbf0 R08: 00007515773fdc40 R09: 000000000000000c
[29247.035203] R10: 0000000000000000 R11: 0000000000000293 R12: 00007515773fdd70
[29247.035204] R13: 00007515773fdc80 R14: 00007515773fdda0 R15: 0000751613f56910
[29247.035206]
[29247.035283] INFO: task DNS Resver #29:83275 blocked for more than 122 seconds.
[29247.035285] Tainted: P W OE 6.8.0-41-generic #41-Ubuntu
[29247.035286] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[29247.035288] task:DNS Res
ver #29 state:D stack:0 pid:83275 tgid:4040 ppid:2937 flags:0x00000002
[29247.035290] Call Trace:
[29247.035291]
[29247.035292] __schedule+0x27c/0x6b0
[29247.035295] schedule+0x33/0x110
[29247.035298] schedule_preempt_disabled+0x15/0x30
[29247.035300] __mutex_lock.constprop.0+0x42f/0x740
[29247.035303] ? alloc_empty_file+0x85/0x130
[29247.035306] __mutex_lock_slowpath+0x13/0x20
[29247.035309] mutex_lock+0x3c/0x50
[29247.035312] __netlink_dump_start+0xc4/0x320
[29247.035315] ? __pfx_rtnl_dump_all+0x10/0x10
[29247.035318] rtnetlink_rcv_msg+0x2ac/0x430
[29247.035321] ? __pfx_rtnl_dump_all+0x10/0x10
[29247.035324] ? __pfx_rtnetlink_rcv_msg+0x10/0x10
[29247.035328] netlink_rcv_skb+0x5a/0x110
[29247.035331] rtnetlink_rcv+0x15/0x30
[29247.035334] netlink_unicast+0x24a/0x390
[29247.035336] netlink_sendmsg+0x214/0x470
[29247.035338] __sys_sendto+0x21b/0x230
[29247.035342] __x64_sys_sendto+0x24/0x40
[29247.035343] x64_sys_call+0x1c33/0x25c0
[29247.035346] do_syscall_64+0x7f/0x180
[29247.035348] ? __count_memcg_events+0x6b/0x120
[29247.035351] ? count_memcg_events.constprop.0+0x2a/0x50
[29247.035355] ? handle_mm_fault+0xad/0x380
[29247.035358] ? do_user_addr_fault+0x32c/0x670
[29247.035361] ? irqentry_exit_to_user_mode+0x7e/0x260
[29247.035364] ? irqentry_exit+0x43/0x50
[29247.035367] ? exc_page_fault+0x94/0x1b0
[29247.035370] entry_SYSCALL_64_after_hwframe+0x78/0x80
[29247.035373] RIP: 0033:0x70761e32c0f4
[29247.035381] RSP: 002b:00007075e8048c00 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
[29247.035383] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000070761e32c0f4
[29247.035384] RDX: 0000000000000014 RSI: 00007075e8049d30 RDI: 0000000000000058
[29247.035385] RBP: 00007075e8048c40 R08: 00007075e8049cd4 R09: 000000000000000c
[29247.035386] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000058
[29247.035388] R13: 0000000000000010 R14: 00007075e8049cf0 R15: 00000000ed8c6756
[29247.035390]
[29247.035503] INFO: task kworker/5:1:73247 blocked for more than 122 seconds.
[29247.035505] Tainted: P W OE 6.8.0-41-generic #41-Ubuntu
[29247.035506] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[29247.035507] task:kworker/5:1 state:D stack:0 pid:73247 tgid:73247 ppid:2 flags:0x00004000
[29247.035511] Workqueue: ipv6_addrconf addrconf_verify_work
[29247.035516] Call Trace:
[29247.035517]
[29247.035518] __schedule+0x27c/0x6b0
[29247.035521] schedule+0x33/0x110
[29247.035523] schedule_preempt_disabled+0x15/0x30
[29247.035526] __mutex_lock.constprop.0+0x42f/0x740
[29247.035529] ? finish_task_switch.isra.0+0x93/0x300
[29247.035533] __mutex_lock_slowpath+0x13/0x20
[29247.035535] mutex_lock+0x3c/0x50
[29247.035538] rtnl_lock+0x15/0x20
[29247.035540] addrconf_verify_work+0x12/0x30
[29247.035543] process_one_work+0x16c/0x350
[29247.035548] worker_thread+0x306/0x440
[29247.035557] ? _raw_spin_lock_irqsave+0xe/0x20
[29247.035559] ? __pfx_worker_thread+0x10/0x10
[29247.035562] kthread+0xef/0x120
[29247.035565] ? __pfx_kthread+0x10/0x10
[29247.035568] ret_from_fork+0x44/0x70
[29247.035570] ? __pfx_kthread+0x10/0x10
[29247.035573] ret_from_fork_asm+0x1b/0x30
[29247.035576]
[29247.035578] INFO: task kworker/13:2:74322 blocked for more than 122 seconds.
[29247.035581] Tainted: P W OE 6.8.0-41-generic #41-Ubuntu
[29247.035582] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[29247.035584] task:kworker/13:2 state:D stack:0 pid:74322 tgid:74322 ppid:2 flags:0x00004000
[29247.035587] Workqueue: rcu_gp wait_rcu_exp_gp
[29247.035591] Call Trace:
[29247.035592]
[29247.035593] __schedule+0x27c/0x6b0
[29247.035597] schedule+0x33/0x110
[29247.035600] schedule_timeout+0x95/0x170
[29247.035602] ? __pfx_process_timeout+0x10/0x10
[29247.035607] synchronize_rcu_expedited_wait_once+0x80/0x1d0
[29247.035612] synchronize_rcu_expedited_wait+0x41/0x9b0
[29247.035615] rcu_exp_wait_wake+0x18/0x180
[29247.035617] wait_rcu_exp_gp+0x1b/0x30
[29247.035619] process_one_work+0x16c/0x350
[29247.035623] worker_thread+0x306/0x440
[29247.035626] ? _raw_spin_lock_irqsave+0xe/0x20
[29247.035629] ? __pfx_worker_thread+0x10/0x10
[29247.035632] kthread+0xef/0x120
[29247.035634] ? __pfx_kthread+0x10/0x10
[29247.035637] ret_from_fork+0x44/0x70
[29247.035639] ? __pfx_kthread+0x10/0x10
[29247.035642] ret_from_fork_asm+0x1b/0x30
[29247.035645]
[29247.035646] Future hung task reports are suppressed, see sysctl kernel.hung_task_warnings
[29255.225815] rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 2-...D 4-...D 7-...D } 243369 jiffies s: 8337 root: 0x94/.
[29255.225837] rcu: blocking rcu_node structures (internal RCU debug):
[29255.225842] Sending NMI from CPU 13 to CPUs 2:
[29255.225865] NMI backtrace for cpu 2
[29255.225870] CPU: 2 PID: 88931 Comm: vmx-vcpu-2 Tainted: P W OE 6.8.0-41-generic #41-Ubuntu
[29255.225875] Hardware name: Dell Inc. XPS 9320/07608N, BIOS 2.14.0 07/10/2024
[29255.225877] RIP: 0010:Task_Switch+0xaa1/0x1c50 [vmmon]
[29255.225902] Code: ff f7 c3 00 00 02 00 0f 84 1f fb ff ff 48 89 d8 0c 80 0f 22 e0 e9 0f fb ff ff 49 83 bf 30 04 00 00 02 0f 85 27 fd ff ff cd 02 <41> c6 87 18 07 00 00 00 e9 e4 f6 ff ff 0f 31 48 c1 e2 20 49 8d 8e
[29255.225905] RSP: 0018:ffffa9de66be7a50 EFLAGS: 00000046
[29255.225907] RAX: 0000000000000065 RBX: 0000000000f50ef0 RCX: ffff9071fc6618e8
[29255.225909] RDX: 00000000ffffffff RSI: 0000000000000000 RDI: ffffa9de42549000
[29255.225911] RBP: ffffa9de66be7b50 R08: 0000000000000001 R09: 0000000080050033
[29255.225912] R10: ffffffffffffffff R11: 0000000000000040 R12: ffff90792f30b000
[29255.225913] R13: ffffa9de425496f0 R14: ffff9071fc661800 R15: ffffa9de42549000
[29255.225914] FS: 000079f7812006c0(0000) GS:ffff90792f300000(0000) knlGS:0000000000000000
[29255.225916] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[29255.225917] CR2: 00007075291f3400 CR3: 00000003e3aa0000 CR4: 0000000000f50ef0
[29255.225919] PKRU: 55555554
[29255.225920] Call Trace:
[29255.225922]
[29255.225926] ? show_regs+0x6d/0x80
[29255.225932] ? nmi_cpu_backtrace+0xb5/0x120
[29255.225936] ? sched_clock_noinstr+0x9/0x10
[29255.225940] ? nmi_cpu_backtrace_handler+0x11/0x20
[29255.225944] ? nmi_handle+0x64/0x180
[29255.225947] ? default_do_nmi+0x47/0x140
[29255.225949] ? exc_nmi+0x1c2/0x290
[29255.225951] ? end_repeat_nmi+0xf/0x60
[29255.225956] ? Task_Switch+0xaa1/0x1c50 [vmmon]
[29255.225969] ? Task_Switch+0xaa1/0x1c50 [vmmon]
[29255.225980] ? Task_Switch+0xaa1/0x1c50 [vmmon]
[29255.225991]
[29255.225991]
[29255.225994] Vmx86_RunVM+0xe9/0x7d0 [vmmon]
[29255.226008] ? __pfx_pollwake+0x10/0x10
[29255.226014] LinuxDriver_Ioctl+0xac9/0x1320 [vmmon]
[29255.226023] ? aa_file_perm+0x147/0x2f0
[29255.226028] ? eventfd_read+0xd3/0x200
[29255.226032] ? security_file_permission+0x36/0x60
[29255.226038] ? vfs_read+0x255/0x390
[29255.226041] __x64_sys_ioctl+0xa0/0xf0
[29255.226045] ? __x64_sys_ioctl+0xa0/0xf0
[29255.226048] x64_sys_call+0x143b/0x25c0
[29255.226051] do_syscall_64+0x7f/0x180
[29255.226055] ? switch_fpu_return+0x55/0xf0
[29255.226060] ? syscall_exit_to_user_mode+0x89/0x260
[29255.226065] ? do_syscall_64+0x8c/0x180
[29255.226067] ? syscall_exit_to_user_mode+0x89/0x260
[29255.226070] ? do_syscall_64+0x8c/0x180
[29255.226073] ? syscall_exit_to_user_mode+0x89/0x260
[29255.226076] ? do_syscall_64+0x8c/0x180
[29255.226078] ? do_syscall_64+0x8c/0x180
[29255.226080] ? do_syscall_64+0x8c/0x180
[29255.226082] ? do_syscall_64+0x8c/0x180
[29255.226085] ? irqentry_exit+0x43/0x50
[29255.226088] entry_SYSCALL_64_after_hwframe+0x78/0x80
[29255.226093] RIP: 0033:0x79f78d524ded
[29255.226130] 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
[29255.226132] RSP: 002b:000079f7811ff820 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[29255.226134] RAX: ffffffffffffffda RBX: 00005fa4b8457e78 RCX: 000079f78d524ded
[29255.226135] RDX: 0000000000000002 RSI: 00000000000007d8 RDI: 000000000000000f
[29255.226136] RBP: 000079f7811ff870 R08: 0000000000000000 R09: 0000000000000000
[29255.226138] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000015a
[29255.226139] R13: 000079f78d6d8388 R14: 000079f78d6d83a0 R15: 000079f7825ff440
[29255.226141]
[29255.226850] Sending NMI from CPU 13 to CPUs 4:
[29255.226863] NMI backtrace for cpu 4 skipped: idling at intel_idle+0x72/0xe0
[29255.227855] Sending NMI from CPU 13 to CPUs 7:
[29255.227869] NMI backtrace for cpu 7 skipped: idling at intel_idle+0x72/0xe0

@mpkossen
Copy link

mpkossen commented Sep 9, 2024

I have a kernel crash that looks like your errors. The difference is i use VMware 17.6.0 and kernel 6.8.0-41-generic, i'm on Mint 22 based on Ubuntu 24.04 according to the vmware release notes, 24.04 should be supported.

Same here. My system hangs after it's been idle for a while (cannot get past the lock screen, network drops, etc.). Not sure if it's related, but it started happening when I upgraded to 17.6.

64kramsystem pushed a commit to 64kramsystem/vmware-host-modules-fork that referenced this issue Sep 11, 2024
@futex
Copy link

futex commented Sep 11, 2024

Same crash with the last kernel update 6.8.0-44

@futex
Copy link

futex commented Sep 19, 2024

Same crash with 6.8.0-45. What the similarity with Version Mismatch error? I haven´t this error in the stack trace.

@ducphanduyagentp
Copy link

I am on 22.04 and 24.04 with a 6.8.0 kernel and after this update, I have to disable vmware service on startup. It will freeze the machine and crash and cannot even reboot remotely so I guess that's pretty bad.

@t0nvi
Copy link

t0nvi commented Oct 2, 2024

I was on ubuntu 24.04 6.8 as well and having the same issues (machine freeze, error in the dmesg, cannot reboot etc.).

Solved installing kernel 6.1 with https://github.com/bkw777/mainline.

J-Pai added a commit to J-Pai/vmware-host-modules that referenced this issue Oct 31, 2024
Similar to mkubecek#214, add
akmod configuration/support to vmware-host-modules.

This will ensure Fedora users are able to get a fresh build of
vmware-host-modules each time the kernel updates.

Spec configuration and installation based on
https://github.com/Fred78290/nct6687d.

Installation for RPM:

```
make akmod
```

Test/Dev flow:

```
make clean
make akmod/clean && make akmod && sudo akmods
sudo systemctl start vmware.service
```

Applied fix for newer kernel:

mkubecek#239

Applied another fix for newer kernel:

mkubecek#243 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests