mkubecek / vmware-host-modules

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

Strange kernel message #186

Closed chinese-wzq closed 1 year ago

chinese-wzq commented 1 year ago

sudo dkms:

[    4.922586] ------------[ cut here ]------------
[    4.922587] memcpy: detected field-spanning write (size 28) of single field "&p->event" at /var/lib/dkms/vmware-workstation/17.0.0_20800274/build/vmnet-only/vnetEvent.c:405 (size 20)
[    4.922602] WARNING: CPU: 3 PID: 765 at /var/lib/dkms/vmware-workstation/17.0.0_20800274/build/vmnet-only/vnetEvent.c:405 VNetEvent_Send+0x15b/0x1a0 [vmnet]
[    4.922611] Modules linked in: snd_sof_pci_intel_cnl cmac snd_sof_intel_hda_common algif_hash soundwire_intel algif_skcipher soundwire_generic_allocation soundwire_cadence af_alg snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp bnep snd_sof snd_sof_utils vmnet(OE) soundwire_bus uvcvideo snd_soc_skl btusb snd_soc_hdac_hda videobuf2_vmalloc btrtl snd_hda_ext_core videobuf2_memops btbcm vmmon(OE) videobuf2_v4l2 snd_soc_sst_ipc btintel vmw_vmci intel_tcc_cooling videobuf2_common snd_soc_sst_dsp btmtk vboxnetflt(OE) snd_soc_acpi_intel_match x86_pkg_temp_thermal snd_soc_acpi intel_powerclamp vboxnetadp(OE) coretemp bluetooth videodev mousedev joydev vboxdrv(OE) mc snd_soc_core ecdh_generic kvm_intel snd_hda_codec_realtek nvidia_drm(POE) snd_compress snd_hda_codec_generic ac97_bus nvidia_uvm(POE) kvm nvidia_modeset(POE) ledtrig_audio snd_hda_codec_hdmi vfat snd_pcm_dmaengine irqbypass fat iwlmvm crct10dif_pclmul snd_hda_intel crc32_pclmul polyval_clmulni ee1004 mei_pxp polyval_generic
[    4.922647]  snd_intel_dspcfg mei_hdcp mac80211 snd_intel_sdw_acpi gf128mul intel_rapl_msr intel_wmi_thunderbolt wmi_bmof libarc4 nvidia(POE) ghash_clmulni_intel snd_hda_codec sha512_ssse3 aesni_intel snd_hda_core crypto_simd snd_hwdep iwlwifi cryptd r8169 snd_pcm rapl realtek processor_thermal_device_pci_legacy spi_nor snd_timer intel_cstate mdio_devres ideapad_laptop processor_thermal_device i2c_i801 intel_uncore sparse_keymap mtd cfg80211 ucsi_acpi processor_thermal_rfim i2c_smbus mei_me libphy typec_ucsi 8250_dw platform_profile snd processor_thermal_mbox typec processor_thermal_rapl mei soundcore intel_rapl_common video rfkill roles intel_soc_dts_iosf intel_pch_thermal int3403_thermal int340x_thermal_zone wmi int3400_thermal acpi_pad acpi_thermal_rel acpi_tad mac_hid dm_multipath dm_mod sg crypto_user fuse ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 usbhid serio_raw atkbd libps2 vivaldi_fmap nvme nvme_core spi_intel_pci crc32c_intel xhci_pci spi_intel nvme_common
[    4.922690]  xhci_pci_renesas i8042 serio intel_lpss_pci intel_lpss idma64
[    4.922694] CPU: 3 PID: 765 Comm: vmnet-bridge Tainted: P           OE      6.1.2-zen1-1-zen #1 ebd30fdca46506e3691fb11aed133ac3be9bd236
[    4.922697] Hardware name: LENOVO INVALID/INVALID, BIOS BHCN45WW 05/24/2022
[    4.922698] RIP: 0010:VNetEvent_Send+0x15b/0x1a0 [vmnet]
[    4.922703] Code: 00 00 0f 85 56 ff ff ff b9 14 00 00 00 48 c7 c2 e8 b5 cc c4 4c 89 ee 48 c7 c7 50 b6 cc c4 c6 05 eb 78 00 00 01 e8 8d 13 af c2 <0f> 0b e9 2d ff ff ff b8 ea ff ff ff e9 73 ff ff ff b8 f0 ff ff ff
[    4.922704] RSP: 0018:ffffa168c0fabc80 EFLAGS: 00010286
[    4.922706] RAX: 0000000000000000 RBX: ffff8e4487d9fe48 RCX: 0000000000000027
[    4.922707] RDX: ffff8e49ccce1668 RSI: 0000000000000001 RDI: ffff8e49ccce1660
[    4.922708] RBP: ffffa168c0fabca8 R08: 0000000000000001 R09: 00000000ffffffea
[    4.922709] R10: ffffffff88a5b840 R11: 00000000fffff000 R12: ffff8e4480f03b00
[    4.922710] R13: 000000000000001c R14: ffff8e448646e060 R15: 0000000000000000
[    4.922711] FS:  00007fc1434fb740(0000) GS:ffff8e49cccc0000(0000) knlGS:0000000000000000
[    4.922713] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    4.922714] CR2: 00007f59340c4c60 CR3: 0000000103b64006 CR4: 00000000003706e0
[    4.922715] Call Trace:
[    4.922717]  <TASK>
[    4.922719]  VNetBridgeUp+0x247/0x360 [vmnet aaa383996546f238d6ebd8c2eae54c372d1230f2]
[    4.922725]  VNetBridge_Create+0x1dc/0x220 [vmnet aaa383996546f238d6ebd8c2eae54c372d1230f2]
[    4.922731]  VNetFileOpUnlockedIoctl+0x6bb/0x760 [vmnet aaa383996546f238d6ebd8c2eae54c372d1230f2]
[    4.922738]  ? syscall_exit_to_user_mode+0x2c/0x1d0
[    4.922742]  ? do_syscall_64+0x6b/0x90
[    4.922745]  __x64_sys_ioctl+0x91/0xd0
[    4.922748]  do_syscall_64+0x5c/0x90
[    4.922749]  ? syscall_exit_to_user_mode+0x2c/0x1d0
[    4.922752]  ? do_syscall_64+0x6b/0x90
[    4.922753]  ? do_syscall_64+0x6b/0x90
[    4.922755]  ? do_syscall_64+0x6b/0x90
[    4.922756]  entry_SYSCALL_64_after_hwframe+0x63/0xcd
[    4.922759] RIP: 0033:0x7fc1435fac0f
[    4.922778] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
[    4.922779] RSP: 002b:00007fff195a7df0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[    4.922781] RAX: ffffffffffffffda RBX: 000055e9ad6fc050 RCX: 00007fc1435fac0f
[    4.922782] RDX: 00007fff195a7e80 RSI: 00000000402499e4 RDI: 0000000000000008
[    4.922783] RBP: 000055e9ab7a6180 R08: 000055e9ad6fc080 R09: 0000000000000064
[    4.922783] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff195a7e60
[    4.922784] R13: 00007fff195a7e80 R14: 000055e9ad6fc058 R15: 0000000000000000
[    4.922787]  </TASK>
[    4.922788] ---[ end trace 0000000000000000 ]---

system info:

Operating System: Arch Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.1.2-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 23.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1650/PCIe/SSE2
Manufacturer: LENOVO

How to eliminate this?

mkubecek commented 1 year ago

You forgot to tell which workstation version you are using but this should be fixed in all active branches (e.g. in workstation-17.0.0 it's commit 78b77816d39a). The most likely explanation is that you are either using an old snapshot, a discontinued branch or unpatched source from VMware.

chinese-wzq commented 1 year ago

It's from https://aur.archlinux.org/packages/vmware-workstation

mkubecek commented 1 year ago

You have to ask for an update there then. The issue is addressed here (and has been for weeks), closing.