Public bug reported:

After updating linux-image-oem-24.04d from 6.17.0-1030.30 to 
6.17.0-1032.32 (system update on 2026-08-17), the kvm_amd kernel 
module now auto-loads at boot with 0 active references:

kvm_amd    241664  0
kvm        1445888  2 kvm_amd,vboxdrv
irqbypass    16384  1 kvm
ccp         159744  2 kvm_amd,amdtee

No libvirtd, docker, or qemu processes are running - the module is 
loaded but genuinely unused. Before this kernel update, VirtualBox 
7.0.16 could start VMs using AMD-V without conflict. After the update, 
starting any VM fails with:

"VirtualBox can't enable the AMD-V extension. Please disable the KVM 
kernel extension, recompile your kernel and reboot (VERR_SVM_IN_USE)."

Workaround: manually running "sudo modprobe -r kvm_amd kvm" before 
starting VirtualBox resolves the issue every time, confirming this is 
an auto-load regression (likely initramfs/udev rule change between 
1030 and 1032) rather than a VirtualBox-side issue.

System: ThinkPad L16 Gen 2, AMD CPU, kernel 6.17.0-1032-oem (OEM kernel)
VirtualBox version: 7.0.16_Ubuntur162802

Installed kernels:
- 6.17.0-1030-oem (previous, still installed)
- 6.17.0-1032-oem (current)
Ubuntu release: 24.04 LTS (Noble Numbat)

Expected: VirtualBox should be able to acquire AMD-V after boot, as it
did before this kernel update.

Actual: VirtualBox fails to start any VM with VERR_SVM_IN_USE because
kvm_amd auto-loaded at boot despite no process using it.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-image-6.17.0-1032-oem 6.17.0-1032.32
ProcVersionSignature: Ubuntu 6.17.0-1032.32-oem 6.17.13
Uname: Linux 6.17.0-1032-oem x86_64
ApportVersion: 2.28.3-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Aug 17 23:09:26 2026
InstallationDate: Installed on 2026-04-24 (116 days ago)
InstallationMedia: Ubuntu 24.04.4 LTS "Noble Numbat" - Release amd64 (20260210)
IwConfig:
 lo        no wireless extensions.
 
 enp1s0f0  no wireless extensions.
 
 wlp3s0    no wireless extensions.
MachineType: LENOVO 21SD000GAC
ProcEnviron:
 LANG=es_ES.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.17.0-1032-oem 
root=UUID=54f1da30-bb2f-4de5-bd79-8c8bb5191654 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-6.17.0-1032-oem N/A
 linux-backports-modules-6.17.0-1032-oem  N/A
 linux-firmware                           20240318.git3b128b60-0ubuntu2.29
SourcePackage: linux-oem-6.17
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/24/2025
dmi.bios.release: 1.27
dmi.bios.vendor: LENOVO
dmi.bios.version: R2UET27W (1.27 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21SD000GAC
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.22
dmi.modalias: 
dmi:bvnLENOVO:bvrR2UET27W(1.27):bd12/24/2025:br1.27:efr1.22:svnLENOVO:pn21SD000GAC:pvrThinkPadL16Gen2:rvnLENOVO:rn21SD000GAC:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21SD_BU_Think_FM_ThinkPadL16Gen2:
dmi.product.family: ThinkPad L16 Gen 2
dmi.product.name: 21SD000GAC
dmi.product.sku: LENOVO_MT_21SD_BU_Think_FM_ThinkPad L16 Gen 2
dmi.product.version: ThinkPad L16 Gen 2
dmi.sys.vendor: LENOVO

** Affects: linux-oem-6.17 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163713

Title:
  kvm_amd module auto-loads on boot after kernel update (1030→1032-oem),
  blocking VirtualBox AMD-V access

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-oem-6.17/+bug/2163713/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to