Public bug reported:

Updated my machine to questing. KVM virtual machines that use VirGL for
GPU acceleration are no longer booting.

The journal shows apparmor denials in accessing GPU sysfs entries before
qemu-system-x86 segfaults.

Disabling virtio 3d acceleration in the libvirt config makes the VMs
boot again.

Sep 05 22:04:17 thinkpad kernel: audit: type=1400 audit(1757102657.325:2084): 
apparmor="DENIED" operation="open" class="file" 
profile="libvirt-2db316c7-ff08-49b7-bb1b-b29ace2efaaa" 
name="/sys/devices/pci0000:00/0000:00:08.1/0000:63:00.0/drm/" pid=21926 
comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
Sep 05 22:04:17 thinkpad kernel: audit: type=1400 audit(1757102657.325:2085): 
apparmor="DENIED" operation="open" class="file" 
profile="libvirt-2db316c7-ff08-49b7-bb1b-b29ace2efaaa" 
name="/sys/devices/pci0000:00/0000:00:08.1/0000:63:00.0/drm/" pid=21926 
comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
Sep 05 22:04:17 thinkpad kernel: qemu-system-x86[21926]: segfault at 0 ip 
00007f02fd448370 sp 00007ffea6e02430 error 4 in 
ui-spice-core.so[a370,7f02fd444000+7000] likely on CPU 9 (core 4, socket 0)
Sep 05 22:04:17 thinkpad kernel: Code: 84 c0 74 26 48 8b 05 07 6c 00 00 80 38 
00 74 1a 83 bb 10 01 00 00 00 74 11 80 bb 14 01 00 00 00 75 3e 0f 1f 84 00 00 
00 00 00 <8b> 04 25 00 00 00 00 0f 0b 48 8b 05 d0 6b 00 00 66 83 38 00 74 b7

** Affects: apparmor (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Updated my machine to questing. KVM virtual machines that use VirGL for
- GPU acceleration are no longer booting. The journal shows apparmor
- denials in accessing GPU sysfs entries before qemu-system-x86 segfaults.
+ GPU acceleration are no longer booting.
+ 
+ The journal shows apparmor denials in accessing GPU sysfs entries before
+ qemu-system-x86 segfaults.
+ 
+ Disabling virtio 3d acceleration in the KVM config makes the VMs boot
+ again.
  
  Sep 05 22:04:17 thinkpad kernel: audit: type=1400 audit(1757102657.325:2084): 
apparmor="DENIED" operation="open" class="file" 
profile="libvirt-2db316c7-ff08-49b7-bb1b-b29ace2efaaa" 
name="/sys/devices/pci0000:00/0000:00:08.1/0000:63:00.0/drm/" pid=21926 
comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
  Sep 05 22:04:17 thinkpad kernel: audit: type=1400 audit(1757102657.325:2085): 
apparmor="DENIED" operation="open" class="file" 
profile="libvirt-2db316c7-ff08-49b7-bb1b-b29ace2efaaa" 
name="/sys/devices/pci0000:00/0000:00:08.1/0000:63:00.0/drm/" pid=21926 
comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
  Sep 05 22:04:17 thinkpad kernel: qemu-system-x86[21926]: segfault at 0 ip 
00007f02fd448370 sp 00007ffea6e02430 error 4 in 
ui-spice-core.so[a370,7f02fd444000+7000] likely on CPU 9 (core 4, socket 0)
  Sep 05 22:04:17 thinkpad kernel: Code: 84 c0 74 26 48 8b 05 07 6c 00 00 80 38 
00 74 1a 83 bb 10 01 00 00 00 74 11 80 bb 14 01 00 00 00 75 3e 0f 1f 84 00 00 
00 00 00 <8b> 04 25 00 00 00 00 0f 0b 48 8b 05 d0 6b 00 00 66 83 38 00 74 b7

** Description changed:

  Updated my machine to questing. KVM virtual machines that use VirGL for
  GPU acceleration are no longer booting.
  
  The journal shows apparmor denials in accessing GPU sysfs entries before
  qemu-system-x86 segfaults.
  
- Disabling virtio 3d acceleration in the KVM config makes the VMs boot
- again.
+ Disabling virtio 3d acceleration in the libvirt config makes the VMs
+ boot again.
  
  Sep 05 22:04:17 thinkpad kernel: audit: type=1400 audit(1757102657.325:2084): 
apparmor="DENIED" operation="open" class="file" 
profile="libvirt-2db316c7-ff08-49b7-bb1b-b29ace2efaaa" 
name="/sys/devices/pci0000:00/0000:00:08.1/0000:63:00.0/drm/" pid=21926 
comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
  Sep 05 22:04:17 thinkpad kernel: audit: type=1400 audit(1757102657.325:2085): 
apparmor="DENIED" operation="open" class="file" 
profile="libvirt-2db316c7-ff08-49b7-bb1b-b29ace2efaaa" 
name="/sys/devices/pci0000:00/0000:00:08.1/0000:63:00.0/drm/" pid=21926 
comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
  Sep 05 22:04:17 thinkpad kernel: qemu-system-x86[21926]: segfault at 0 ip 
00007f02fd448370 sp 00007ffea6e02430 error 4 in 
ui-spice-core.so[a370,7f02fd444000+7000] likely on CPU 9 (core 4, socket 0)
  Sep 05 22:04:17 thinkpad kernel: Code: 84 c0 74 26 48 8b 05 07 6c 00 00 80 38 
00 74 1a 83 bb 10 01 00 00 00 74 11 80 bb 14 01 00 00 00 75 3e 0f 1f 84 00 00 
00 00 00 <8b> 04 25 00 00 00 00 0f 0b 48 8b 05 d0 6b 00 00 66 83 38 00 74 b7

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/2122168

Title:
  qemu-system crashes when booting KVM with VirGL acceleration

Status in apparmor package in Ubuntu:
  New

Bug description:
  Updated my machine to questing. KVM virtual machines that use VirGL
  for GPU acceleration are no longer booting.

  The journal shows apparmor denials in accessing GPU sysfs entries
  before qemu-system-x86 segfaults.

  Disabling virtio 3d acceleration in the libvirt config makes the VMs
  boot again.

  Sep 05 22:04:17 thinkpad kernel: audit: type=1400 audit(1757102657.325:2084): 
apparmor="DENIED" operation="open" class="file" 
profile="libvirt-2db316c7-ff08-49b7-bb1b-b29ace2efaaa" 
name="/sys/devices/pci0000:00/0000:00:08.1/0000:63:00.0/drm/" pid=21926 
comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
  Sep 05 22:04:17 thinkpad kernel: audit: type=1400 audit(1757102657.325:2085): 
apparmor="DENIED" operation="open" class="file" 
profile="libvirt-2db316c7-ff08-49b7-bb1b-b29ace2efaaa" 
name="/sys/devices/pci0000:00/0000:00:08.1/0000:63:00.0/drm/" pid=21926 
comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
  Sep 05 22:04:17 thinkpad kernel: qemu-system-x86[21926]: segfault at 0 ip 
00007f02fd448370 sp 00007ffea6e02430 error 4 in 
ui-spice-core.so[a370,7f02fd444000+7000] likely on CPU 9 (core 4, socket 0)
  Sep 05 22:04:17 thinkpad kernel: Code: 84 c0 74 26 48 8b 05 07 6c 00 00 80 38 
00 74 1a 83 bb 10 01 00 00 00 74 11 80 bb 14 01 00 00 00 75 3e 0f 1f 84 00 00 
00 00 00 <8b> 04 25 00 00 00 00 0f 0b 48 8b 05 d0 6b 00 00 66 83 38 00 74 b7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2122168/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to