Public bug reported:

Since upgrading to Ubuntu 26.04 my system which runs as a xen host has
regularly crashed with an error similar to:

```
Nov 11 17:17:50 xendom0 kernel: ------------[ cut here ]------------
Nov 11 17:17:50 xendom0 kernel: kernel BUG at 
arch/x86/include/asm/xen/hypervisor.h:85!
Nov 11 17:17:50 xendom0 kernel: Oops: invalid opcode: 0000 [#1] SMP NOPTI
Nov 11 17:17:50 xendom0 kernel: CPU: 2 UID: 0 PID: 1851041 Comm: z_wr_int 
Tainted: P           O        7.0.0-43-generic #43-Ubuntu PREEMPT(lazy) 
Nov 11 17:17:50 xendom0 kernel: Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE
Nov 11 17:17:50 xendom0 kernel: Hardware name: Dell Inc. PowerEdge T320/======, 
BIOS 2.6.0 06/11/2018
Nov 11 17:17:50 xendom0 kernel: RIP: e030:xen_leave_lazy_mmu+0x4a/0x50
Nov 11 17:17:50 xendom0 kernel: Code: 29 65 c7 05 1c ac 09 03 00 00 00 00 65 ff 
0d 2d 80 09 03 74 08 5d 31 c0 c3 cc cc cc cc e8 ee 1f fc ff 5d 31 c0 c3 cc cc 
cc cc <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
Nov 11 17:17:50 xendom0 kernel: RSP: e02b:ffffc900687d7958 EFLAGS: 00010297
Nov 11 17:17:50 xendom0 kernel: RAX: 0000000000000000 RBX: ffff8881a6e1e618 
RCX: 0000000000000000
Nov 11 17:17:50 xendom0 kernel: RDX: 0000000000000000 RSI: 0000000000000000 
RDI: 0000000000000000
Nov 11 17:17:50 xendom0 kernel: RBP: ffffc900687d7958 R08: 0000000000000000 
R09: 0000000000000000
Nov 11 17:17:50 xendom0 kernel: R10: 0000000000000000 R11: 0000000000000000 
R12: ffffc9006b8c3000
Nov 11 17:17:50 xendom0 kernel: R13: ffffc9006b8c3000 R14: ffff888100331ae0 
R15: ffffc900687d7a34
Nov 11 17:17:50 xendom0 kernel: FS:  0000000000000000(0000) 
GS:ffff8883b36f7000(0000) knlGS:0000000000000000
Nov 11 17:17:50 xendom0 kernel: CS:  e030 DS: 0000 ES: 0000 CR0: 
0000000080050033
Nov 11 17:17:50 xendom0 kernel: CR2: 00007ea8cc86e780 CR3: 00000001dd333000 
CR4: 0000000000040660
Nov 11 17:17:50 xendom0 kernel: Call Trace:
Nov 11 17:17:50 xendom0 kernel:  <TASK>
Nov 11 17:17:50 xendom0 kernel:  vunmap_pmd_range.isra.0+0x1f1/0x300
Nov 11 17:17:50 xendom0 kernel:  vunmap_p4d_range+0x183/0x2b0
Nov 11 17:17:50 xendom0 kernel:  __vunmap_range_noflush+0x15c/0x1b0
Nov 11 17:17:50 xendom0 kernel:  ? _raw_spin_unlock+0xe/0x40
Nov 11 17:17:50 xendom0 kernel:  remove_vm_area+0x44/0x80
Nov 11 17:17:50 xendom0 kernel:  vfree.part.0+0x1a/0x2f0
Nov 11 17:17:50 xendom0 kernel:  ? wakeup_preempt_fair+0x296/0x490
Nov 11 17:17:50 xendom0 kernel:  vfree+0x30/0x50
Nov 11 17:17:50 xendom0 kernel:  spl_slab_reclaim+0x1d0/0x220 [spl]
Nov 11 17:17:50 xendom0 kernel:  ? _raw_spin_unlock+0xe/0x40
Nov 11 17:17:50 xendom0 kernel:  ? spl_cache_flush+0x195/0x240 [spl]
Nov 11 17:17:50 xendom0 kernel:  spl_kmem_cache_free+0x9a/0x220 [spl]
Nov 11 17:17:50 xendom0 kernel:  zio_buf_free+0x3d/0xb0 [zfs]
Nov 11 17:17:50 xendom0 kernel:  arc_buf_destroy_impl+0x164/0x2a0 [zfs]
Nov 11 17:17:50 xendom0 kernel:  arc_buf_destroy+0x77/0x100 [zfs]
Nov 11 17:17:50 xendom0 kernel:  dbuf_write_done+0xc0/0x200 [zfs]
Nov 11 17:17:50 xendom0 kernel:  arc_write_done+0xa4/0x530 [zfs]
Nov 11 17:17:50 xendom0 kernel:  zio_done+0x541/0x1190 [zfs]
Nov 11 17:17:50 xendom0 kernel:  ? spl_kmem_free+0x32/0x40 [spl]
Nov 11 17:17:50 xendom0 kernel:  zio_execute+0x99/0x170 [zfs]
Nov 11 17:17:50 xendom0 kernel:  ? _raw_spin_unlock_irqrestore+0x11/0x60
Nov 11 17:17:50 xendom0 kernel:  taskq_thread+0x3d2/0x810 [spl]
Nov 11 17:17:50 xendom0 kernel:  ? __pfx_default_wake_function+0x10/0x10
Nov 11 17:17:50 xendom0 kernel:  ? __pfx_zio_execute+0x10/0x10 [zfs]
Nov 11 17:17:50 xendom0 kernel:  ? __pfx_taskq_thread+0x10/0x10 [spl]
Nov 11 17:17:50 xendom0 kernel:  kthread+0xf7/0x130
Nov 11 17:17:50 xendom0 kernel:  ? __pfx_kthread+0x10/0x10
Nov 11 17:17:50 xendom0 kernel:  ret_from_fork+0x195/0x2a0
Nov 11 17:17:50 xendom0 kernel:  ? __pfx_kthread+0x10/0x10
Nov 11 17:17:50 xendom0 kernel:  ? __pfx_kthread+0x10/0x10
Nov 11 17:17:50 xendom0 kernel:  ret_from_fork_asm+0x1a/0x30
Nov 11 17:17:50 xendom0 kernel:  </TASK>
Nov 11 17:17:50 xendom0 kernel: Modules linked in: rpcsec_gss_krb5 xen_netback 
xen_blkback xt_tcpudp nft_compat x_tables nf_tables nfnetlink_log dell_rbu 
8021q garp mrp bridge stp llc bonding tls nfnetlink cfg80211 binfmt_misc 
nls_iso88>
Nov 11 17:17:50 xendom0 kernel: ---[ end trace 0000000000000000 ]---
Nov 11 17:17:50 xendom0 kernel: RIP: e030:xen_leave_lazy_mmu+0x4a/0x50
Nov 11 17:17:50 xendom0 kernel: Code: 29 65 c7 05 1c ac 09 03 00 00 00 00 65 ff 
0d 2d 80 09 03 74 08 5d 31 c0 c3 cc cc cc cc e8 ee 1f fc ff 5d 31 c0 c3 cc cc 
cc cc <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
Nov 11 17:17:50 xendom0 kernel: RSP: e02b:ffffc900687d7958 EFLAGS: 00010297
Nov 11 17:17:50 xendom0 kernel: RAX: 0000000000000000 RBX: ffff8881a6e1e618 
RCX: 0000000000000000
Nov 11 17:17:50 xendom0 kernel: RDX: 0000000000000000 RSI: 0000000000000000 
RDI: 0000000000000000
Nov 11 17:17:50 xendom0 kernel: RBP: ffffc900687d7958 R08: 0000000000000000 
R09: 0000000000000000
Nov 11 17:17:50 xendom0 kernel: R10: 0000000000000000 R11: 0000000000000000 
R12: ffffc9006b8c3000
Nov 11 17:17:50 xendom0 kernel: R13: ffffc9006b8c3000 R14: ffff888100331ae0 
R15: ffffc900687d7a34
Nov 11 17:17:50 xendom0 kernel: FS:  0000000000000000(0000) 
GS:ffff8883b36f7000(0000) knlGS:0000000000000000
Nov 11 17:17:50 xendom0 kernel: CS:  e030 DS: 0000 ES: 0000 CR0: 
0000000080050033
Nov 11 17:17:50 xendom0 kernel: CR2: 00007ea8cc86e780 CR3: 00000001dd333000 
CR4: 0000000000040660
Nov 11 17:17:50 xendom0 kernel: note: z_wr_int[1851041] exited with 
preempt_count 1
```

I haven't always ended up with a log in the journal but these are the
ones that have been recorded and indicate the frequency of the error.
Initially I tried `preempt=none` as kernel option but this did not help.

```
# journalctl  | grep 'arch/x86/include/asm/xen/hypervisor.h:85'
Oct 29 10:03:13 xendom0 kernel: kernel BUG at 
arch/x86/include/asm/xen/hypervisor.h:85!
Oct 31 12:09:05 xendom0 kernel: kernel BUG at 
arch/x86/include/asm/xen/hypervisor.h:85!
Nov 02 23:03:11 xendom0 kernel: kernel BUG at 
arch/x86/include/asm/xen/hypervisor.h:85!
Nov 03 05:41:38 xendom0 kernel: kernel BUG at 
arch/x86/include/asm/xen/hypervisor.h:85!
Nov 04 10:30:21 xendom0 kernel: kernel BUG at 
arch/x86/include/asm/xen/hypervisor.h:85!
Nov 06 23:49:37 xendom0 kernel: kernel BUG at 
arch/x86/include/asm/xen/hypervisor.h:85!
Nov 07 05:39:44 xendom0 kernel: kernel BUG at 
arch/x86/include/asm/xen/hypervisor.h:85!
Nov 11 17:17:50 xendom0 kernel: kernel BUG at 
arch/x86/include/asm/xen/hypervisor.h:85!
Nov 21 00:00:11 xendom0 kernel: kernel BUG at 
arch/x86/include/asm/xen/hypervisor.h:85!
Nov 23 08:28:36 xendom0 kernel: kernel BUG at 
arch/x86/include/asm/xen/hypervisor.h:85!
```

```
# journalctl --list-boots
-15 0e0ff6fee1514f25a432a2960e19d6f0 Sat 2026-10-24 20:08:48 BST Thu 2026-10-29 
10:25:23 GMT
-14 5888255b54ed47d9b965fb0d006b264f Thu 2026-10-29 10:34:26 GMT Thu 2026-10-29 
10:42:49 GMT
-13 8e4ef06057d14a84bdff87e318c5e7fa Thu 2026-10-29 10:55:44 GMT Thu 2026-10-29 
20:24:39 GMT
-12 c03f9c0038b64a58938cb5db12d5aa9d Thu 2026-10-29 20:40:29 GMT Sat 2026-10-31 
14:51:30 GMT
-11 043e57cbb29540549c5ed047ad6fc36e Sat 2026-10-31 15:06:28 GMT Sat 2026-10-31 
15:41:33 GMT
-10 9c1bdea9fa60440b9b444533d1692d45 Sat 2026-10-31 15:51:23 GMT Tue 2026-11-03 
07:14:43 GMT
 -9 6a1998aca7d54015ac86617e84698cfa Tue 2026-11-03 07:20:48 GMT Tue 2026-11-03 
08:23:57 GMT
 -8 0594fc1ddc214989a0d15484bf320ace Tue 2026-11-03 08:29:57 GMT Tue 2026-11-03 
18:24:46 GMT
 -7 0836290eeaa94a93a8ed338afb3fecfa Tue 2026-11-03 18:33:23 GMT Wed 2026-11-04 
11:31:54 GMT
 -6 004144e1fee5453c9281d4e549569664 Wed 2026-11-04 18:17:34 GMT Thu 2026-11-05 
06:51:01 GMT
 -5 459b41fd529343909ec097b21ece81db Thu 2026-11-05 06:56:00 GMT Sat 2026-11-07 
05:39:44 GMT
 -4 c08d15d678c04d3eba808e34dbcb0dbb Sat 2026-11-07 07:04:59 GMT Wed 2026-11-11 
18:04:18 GMT
 -3 d8df870b8a9340baaf82c7005df65b93 Wed 2026-11-11 18:10:12 GMT Sat 2026-11-21 
07:13:48 GMT
 -2 d01683dbda6c4dc28f14cf586c5b3612 Sat 2026-11-21 07:18:27 GMT Mon 2026-11-23 
08:34:09 GMT
 -1 2f637e6d196d4757b8b985b81f48e00f Mon 2026-11-23 08:38:13 GMT Mon 2026-11-23 
08:55:43 GMT
  0 63ffc212ee6848bab9d6c51e179806b8 Mon 2026-11-23 08:59:23 GMT Sat 2026-11-28 
13:28:34 GMT
```

I have kept current with the 7.0 kernels as they have been released with
all versions since the upgrade demonstrating this problem.  Guests are
served by zvols provisioned from the host system.  Heavy I/O seems to be
a particular trigger.

Since building Ubuntu-7.0.0-45.45 and only adding 'x86/xen: Tolerate
nested XEN_LAZY_MMU entering/leaving' (commit
4594437880ce347ac8438758fd91543f70da1aa9) the system appears to have
been stable with a current uptime of 5 days.  No changes were made to
the .config.  (Google AI confidently stated this would be the fix when
questioned about the error and the commit...)


```
# uname -a
Linux xendom0 7.0.0-999-generic #45 SMP PREEMPT_DYNAMIC Sun Nov 22 22:10:39 UTC 
2026 x86_64 x86_64 x86_64 GNU/Linux
```

```
# cat /proc/version_signature 
Ubuntu 7.0.0-999.45-generic 7.0.14
```

```
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 26.04.1 LTS
Release:        26.04
Codename:       resolute
```

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

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

Title:
  linux 7.0 kernels crash with heavy I/O when running as xen dom0

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


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

Reply via email to