VirtualBox

Opened 7 months ago

Closed 3 weeks ago

#21898 closed defect (fixed)

With kernel 6.6+, a kernel warning is emitted for set_pte()

Reported by: Larry Finger Owned by:
Component: host support Version: VirtualBox-7.0.12
Keywords: Cc:
Guest type: Linux Host type: Linux

Description

When a VM is started, the following warning is logged:

[   70.859225] ------------[ cut here ]------------
[   70.859230] WARNING: CPU: 3 PID: 8077 at /usr/src/kernel-modules/virtualbox/src/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:564 rtR0MemObjLinuxApplyPageRange+0x63/0xa0 [vboxdrv]
[   70.859286] Modules linked in: ccm(E) rpcsec_gss_krb5(E) auth_rpcgss(E) nfsv4(E) dns_resolver(E) nfs(E) lockd(E) grace(E) sunrpc(E) fscache(E) netfs(E) af_packet(E) vboxnetadp(OE) vboxnetflt(OE) qrtr(E) vboxdrv(OE) binfmt_misc(E) nls_iso8859_1(E) nls_cp437(E) rtw89_8852be(E) rtw89_8852b(E) iwlmvm(E) intel_rapl_msr(E) rtw89_pci(E) intel_rapl_common(E) x86_pkg_temp_thermal(E) rtw89_core(E) intel_powerclamp(E) coretemp(E) kvm_intel(E) spi_intel_platform(E) snd_hda_codec_realtek(E) iTCO_wdt(E) intel_pmc_bxt(E) mei_hdcp(E) mei_pxp(E) iTCO_vendor_support(E) spi_intel(E) snd_hda_codec_generic(E) mac80211(E) ledtrig_audio(E) kvm(E) snd_hda_codec_hdmi(E) snd_hda_intel(E) snd_intel_dspcfg(E) irqbypass(E) snd_hda_codec(E) iwlwifi(E) snd_hwdep(E) libarc4(E) snd_hda_core(E) snd_pcm(E) snd_timer(E) snd(E) pcspkr(E) cfg80211(E) wmi_bmof(E) e1000e(E) mei_me(E) lpc_ich(E) toshiba_acpi(E) soundcore(E) sparse_keymap(E) thermal(E) mei(E) toshiba_bluetooth(E) industrialio(E) tiny_power_button(E) battery(E) tpm_infineon(E) button(E) ac(E)
[   70.859351]  joydev(E) fuse(E) configfs(E) vfat(E) fat(E) dmi_sysfs(E) crct10dif_pclmul(E) crc32_pclmul(E) polyval_clmulni(E) polyval_generic(E) ghash_clmulni_intel(E) ext4(E) sha512_ssse3(E) crc32c_intel(E) mbcache(E) sha256_ssse3(E) sha1_ssse3(E) jbd2(E) i915(E) i2c_algo_bit(E) drm_buddy(E) drm_display_helper(E) sr_mod(E) aesni_intel(E) rtsx_pci_sdmmc(E) video(E) mmc_core(E) crypto_simd(E) cryptd(E) cdrom(E) drm_kms_helper(E) cec(E) ehci_pci(E) xhci_pci(E) xhci_pci_renesas(E) ttm(E) ehci_hcd(E) xhci_hcd(E) wmi(E) rtsx_pci(E) usbcore(E) drm(E) serio_raw(E) sg(E) dm_multipath(E) dm_mod(E) scsi_dh_rdac(E) scsi_dh_emc(E) scsi_dh_alua(E) msr(E)
[   70.859394] Unloaded tainted modules: acpi_cpufreq(E):1 ie31200_edac(E):1
[   70.859399] CPU: 3 PID: 8077 Comm: EMT-0 Tainted: G        W  OE      6.7.0-rc0-ga4e5e28b3518-dirty #120 90ba4ca792ee8259fd5d5b54efdc47168a3caecb
[   70.859403] Hardware name: TOSHIBA TECRA A50-A/TECRA A50-A, BIOS Version 4.50   09/29/2014
[   70.859404] RIP: 0010:rtR0MemObjLinuxApplyPageRange+0x63/0xa0 [vboxdrv]
[   70.859449] Code: c1 e0 0c 48 83 ff 40 74 21 48 89 c7 48 21 f7 48 85 d2 75 18 48 89 f8 0f 1f 00 48 89 c6 48 89 cf e8 62 27 63 db 90 31 c0 5d c3 <0f> 0b f6 c2 01 75 15 48 f7 d0 48 89 c7 48 21 f7 48 81 e7 00 f0 ff
[   70.859451] RSP: 0018:ffff9fd78310fce8 EFLAGS: 00010246
[   70.859454] RAX: 000000022938e000 RBX: ffff908d03943f38 RCX: ffff908d03943f30
[   70.859456] RDX: 0000000000000161 RSI: 000fffffffffffff RDI: 0000000000000040
[   70.859457] RBP: ffff9fd78310fce8 R08: ffff9fd78339d000 R09: ffff908de88e59f8
[   70.859459] R10: ffff9fd78339d000 R11: 00000001003e0003 R12: 0000000000000001
[   70.859460] R13: ffffffffc14511e0 R14: ffff9fd7831e6000 R15: ffff9fd78310fdb0
[   70.859462] FS:  00007faa587ff6c0(0000) GS:ffff908ee32c0000(0000) knlGS:0000000000000000
[   70.859464] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   70.859466] CR2: 00007faa442f9000 CR3: 00000002288e5001 CR4: 00000000001706f0
[   70.859468] Call Trace:
[   70.859470]  <TASK>
[   70.859471]  ? rtR0MemObjLinuxApplyPageRange+0x63/0xa0 [vboxdrv 66ad9d59e51e96f02a6ba722f7210cf193c65232]
[   70.859522]  ? __warn+0x7d/0x130
[   70.859526]  ? rtR0MemObjLinuxApplyPageRange+0x63/0xa0 [vboxdrv 66ad9d59e51e96f02a6ba722f7210cf193c65232]
[   70.859563]  ? report_bug+0x169/0x1a0
[   70.859568]  ? handle_bug+0x38/0x70
[   70.859571]  ? exc_invalid_op+0x13/0x60
[   70.859573]  ? asm_exc_invalid_op+0x16/0x20
[   70.859578]  ? VBoxHost_RTTimerReleaseSystemGranularity+0x10/0x10 [vboxdrv 66ad9d59e51e96f02a6ba722f7210cf193c65232]
[   70.859613]  ? rtR0MemObjLinuxApplyPageRange+0x63/0xa0 [vboxdrv 66ad9d59e51e96f02a6ba722f7210cf193c65232]
[   70.859654]  ? VBoxHost_RTTimerReleaseSystemGranularity+0x10/0x10 [vboxdrv 66ad9d59e51e96f02a6ba722f7210cf193c65232]
[   70.859688]  __apply_to_page_range+0x3b7/0x8a0
[   70.859693]  rtR0MemObjNativeProtect+0x74/0xb0 [vboxdrv 66ad9d59e51e96f02a6ba722f7210cf193c65232]
[   70.859727]  VBoxHost_RTR0MemObjProtect+0x87/0xb0 [vboxdrv 66ad9d59e51e96f02a6ba722f7210cf193c65232]
[   70.859760]  supdrvIOCtl+0x2b1f/0x2f90 [vboxdrv 66ad9d59e51e96f02a6ba722f7210cf193c65232]
[   70.859792]  VBoxDrvLinuxIOCtl_7_0_12+0x149/0x240 [vboxdrv 66ad9d59e51e96f02a6ba722f7210cf193c65232]
[   70.859823]  __x64_sys_ioctl+0x8c/0xc0
[   70.859827]  do_syscall_64+0x56/0xd0
[   70.859831]  ? do_syscall_64+0x62/0xd0
[   70.859834]  ? exc_page_fault+0x6d/0x150
[   70.859837]  entry_SYSCALL_64_after_hwframe+0x46/0x4e
[   70.859841] RIP: 0033:0x7faa7dd139cf
[   70.859844] 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
[   70.859846] RSP: 002b:00007faa587fdd20 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[   70.859848] RAX: ffffffffffffffda RBX: 0000000000000030 RCX: 00007faa7dd139cf
[   70.859850] RDX: 00007faa44035010 RSI: 0000000000005684 RDI: 0000000000000007
[   70.859851] RBP: 00007faa587fdd80 R08: 0000000000000000 R09: 00007faa587fdc00
[   70.859853] R10: 00007faa44035010 R11: 0000000000000246 R12: 00007faa592e4ae8
[   70.859854] R13: 0000000000000000 R14: 00007faa14000b70 R15: 0000000000000000
[   70.859857]  </TASK>
[   70.859858] ---[ end trace 0000000000000000 ]---

It is only a WARN_ON_ONCE(), thus the logs are not badly spammed.

Change History (5)

comment:1 by sercallegar, 5 months ago

I confirm the issue

comment:2 by bittin-, 5 months ago

Have this problem too

comment:3 by normanb2, 4 months ago

I also confirm this issue.

comment:4 by joeAverage, 3 months ago

seems to be fixed in Testbuild see: https://www.virtualbox.org/ticket/21952

comment:5 by galitsyn, 3 weeks ago

Resolution: fixed
Status: newclosed

Hi guys,

We just released VirtualBox 7.0.18. This issue should be fixed in this release. It can be downloaded from here. Thank you for reporting the issue.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use