UBSAN errors in noble xen VM

From PryMar56, 8 Months ago, written in Plain Text, viewed 102 times.
URL https://pb.dynavirt.com/view/6b04ac36 Embed
Download Paste or View Raw
  1. $ !?anal
  2. sudo systemd-analyze time
  3. Startup finished in 1.934s (kernel) + 2.729s (userspace) = 4.664s
  4. multi-user.target reached after 2.689s in userspace.
  5.  
  6. tlviewer@noble1:~$ sudo dmesg
  7. [    0.000000] Linux version 6.5.0-9-generic (buildd@bos03-amd64-043) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.41) #9-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct  7 01:35:40 UTC 2023 (Ubuntu 6.5.0-9.9-generic 6.5.3)
  8. [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.5.0-9-generic root=/dev/xvda ipv6.disable=1 net.ifnames=0 console=hvc0 noresume nopti elevator=noop apparmor=0 audit=0
  9. [    0.000000] KERNEL supported cpus:
  10. [    0.000000]   Intel GenuineIntel
  11. [    0.000000]   AMD AuthenticAMD
  12. [    0.000000]   Hygon HygonGenuine
  13. [    0.000000]   Centaur CentaurHauls
  14. [    0.000000]   zhaoxin   Shanghai  
  15. [    0.000000] BIOS-provided physical RAM map:
  16. [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000003fffffff] usable
  17. [    0.000000] BIOS-e820: [mem 0x00000000fc000000-0x00000000fc008fff] ACPI data
  18. [    0.000000] BIOS-e820: [mem 0x00000000feff8000-0x00000000feffffff] reserved
  19. [    0.000000] NX (Execute Disable) protection: active
  20. [    0.000000] DMI not present or invalid.
  21. [    0.000000] Hypervisor detected: Xen HVM
  22. [    0.000000] Xen version 4.17.
  23. [    0.000000] platform_pci_unplug: Xen Platform PCI: unrecognised magic value
  24. [    0.000004] HVMOP_pagetable_dying not supported
  25. [    0.145709] tsc: Fast TSC calibration failed
  26. [    0.145712] tsc: Detected 3410.016 MHz processor
  27. [    0.145721] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
  28. [    0.145724] e820: remove [mem 0x000a0000-0x000fffff] usable
  29. [    0.145728] last_pfn = 0x40000 max_arch_pfn = 0x400000000
  30. [    0.145772] MTRR map: 0 entries (0 fixed + 0 variable; max 16), built from 8 variable MTRRs
  31. [    0.145774] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
  32. [    0.161271] Kernel/User page tables isolation: disabled on command line.
  33. [    0.161383] RAMDISK: [mem 0x37189000-0x378bbfff]
  34. [    0.161389] ACPI: Early table checksum verification disabled
  35. [    0.161394] ACPI: RSDP 0x00000000FC008000 000024 (v02 Xen   )
  36. [    0.161399] ACPI: XSDT 0x00000000FC007F70 000034 (v01 Xen    HVM      00000000 HVML 00000000)
  37. [    0.161405] ACPI: FACP 0x00000000FC007D60 00010C (v05 Xen    HVM      00000000 HVML 00000000)
  38. [    0.161412] ACPI: DSDT 0x00000000FC001040 006C9B (v05 Xen    HVM      00000000 INTL 20200925)
  39. [    0.161416] ACPI: FACS 0x00000000FC001000 000040
  40. [    0.161419] ACPI: FACS 0x00000000FC001000 000040
  41. [    0.161423] ACPI: APIC 0x00000000FC007E70 00004C (v02 Xen    HVM      00000000 HVML 00000000)
  42. [    0.161426] ACPI: Reserving FACP table memory at [mem 0xfc007d60-0xfc007e6b]
  43. [    0.161427] ACPI: Reserving DSDT table memory at [mem 0xfc001040-0xfc007cda]
  44. [    0.161428] ACPI: Reserving FACS table memory at [mem 0xfc001000-0xfc00103f]
  45. [    0.161429] ACPI: Reserving FACS table memory at [mem 0xfc001000-0xfc00103f]
  46. [    0.161429] ACPI: Reserving APIC table memory at [mem 0xfc007e70-0xfc007ebb]
  47. [    0.161621] No NUMA configuration found
  48. [    0.161622] Faking a node at [mem 0x0000000000000000-0x000000003fffffff]
  49. [    0.161630] NODE_DATA(0) allocated [mem 0x3ffd5000-0x3fffffff]
  50. [    0.161790] Zone ranges:
  51. [    0.161791]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
  52. [    0.161793]   DMA32    [mem 0x0000000001000000-0x000000003fffffff]
  53. [    0.161794]   Normal   empty
  54. [    0.161795]   Device   empty
  55. [    0.161796] Movable zone start for each node
  56. [    0.161798] Early memory node ranges
  57. [    0.161798]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
  58. [    0.161800]   node   0: [mem 0x0000000000100000-0x000000003fffffff]
  59. [    0.161801] Initmem setup node 0 [mem 0x0000000000001000-0x000000003fffffff]
  60. [    0.161806] On node 0, zone DMA: 1 pages in unavailable ranges
  61. [    0.161830] On node 0, zone DMA: 96 pages in unavailable ranges
  62. [    0.163442] ACPI: No IOAPIC entries present
  63. [    0.163447] ACPI: Using ACPI for processor (LAPIC) configuration information
  64. [    0.163449] TSC deadline timer available
  65. [    0.163462] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
  66. [    0.163470] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
  67. [    0.163472] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000fffff]
  68. [    0.163474] [mem 0x40000000-0xfbffffff] available for PCI devices
  69. [    0.163475] Booting paravirtualized kernel on Xen PVH
  70. [    0.163477] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
  71. [    0.163484] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
  72. [    0.163770] percpu: Embedded 63 pages/cpu s221184 r8192 d28672 u524288
  73. [    0.163773] pcpu-alloc: s221184 r8192 d28672 u524288 alloc=1*2097152
  74. [    0.163775] pcpu-alloc: [0] 0 1 2 3
  75. [    0.163793] xen: PV spinlocks enabled
  76. [    0.163796] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)
  77. [    0.163798] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.5.0-9-generic root=/dev/xvda ipv6.disable=1 net.ifnames=0 console=hvc0 noresume nopti elevator=noop apparmor=0 audit=0
  78. [    0.163892] Kernel parameter elevator= does not have any effect anymore.
  79.                Please use sysfs to set IO scheduler for individual devices.
  80. [    0.163913] audit: disabled (until reboot)
  81. [    0.163915] Unknown kernel command line parameters "nopti BOOT_IMAGE=/boot/vmlinuz-6.5.0-9-generic", will be passed to user space.
  82. [    0.164016] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
  83. [    0.164067] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
  84. [    0.164170] Fallback order for Node 0: 0
  85. [    0.164173] Built 1 zonelists, mobility grouping on.  Total pages: 257792
  86. [    0.164175] Policy zone: DMA32
  87. [    0.164183] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
  88. [    0.166331] Memory: 959240K/1048188K available (20480K kernel code, 4268K rwdata, 13520K rodata, 4788K init, 17396K bss, 88688K reserved, 0K cma-reserved)
  89. [    0.171994] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
  90. [    0.172121] ftrace: allocating 55224 entries in 216 pages
  91. [    0.179770] ftrace: allocated 216 pages with 4 groups
  92. [    0.180473] Dynamic Preempt: voluntary
  93. [    0.180553] rcu: Preemptible hierarchical RCU implementation.
  94. [    0.180554] rcu:     RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=4.
  95. [    0.180555]  Trampoline variant of Tasks RCU enabled.
  96. [    0.180556]  Rude variant of Tasks RCU enabled.
  97. [    0.180556]  Tracing variant of Tasks RCU enabled.
  98. [    0.180557] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
  99. [    0.180558] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
  100. [    0.183171] Using NULL legacy PIC
  101. [    0.183172] NR_IRQS: 524544, nr_irqs: 80, preallocated irqs: 0
  102. [    0.183195] xen:events: Using FIFO-based ABI
  103. [    0.183222] xen:events: Xen HVM callback vector for event delivery is enabled
  104. [    0.183245] rcu: srcu_init: Setting srcu_struct sizes based on contention.
  105. [    0.183308] Console: colour dummy device 80x25
  106. [    0.183324] printk: console [hvc0] enabled
  107. [    0.383810] ACPI: Core revision 20230331
  108. [    0.383987] ACPI: setting ELCR to 0200 (from ffff)
  109. [    0.384028] Failed to register legacy timer interrupt
  110. [    0.384040] APIC: Switch to symmetric I/O mode setup
  111. [    0.384064] x2apic enabled
  112. [    0.384072] Switched APIC routing to physical x2apic.
  113. [    0.384152] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x312743ea0a4, max_idle_ns: 440795205753 ns
  114. [    0.384181] Calibrating delay loop (skipped), value calculated using timer frequency.. 6820.03 BogoMIPS (lpj=13640064)
  115. [    0.384366] Last level iTLB entries: 4KB 512, 2MB 8, 4MB 8
  116. [    0.384381] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
  117. [    0.384399] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
  118. [    0.384428] Spectre V2 : Mitigation: Retpolines
  119. [    0.384439] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
  120. [    0.384456] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
  121. [    0.384470] Spectre V2 : Enabling Restricted Speculation for firmware calls
  122. [    0.384486] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
  123. [    0.384505] Spectre V2 : User space: Mitigation: STIBP via prctl
  124. [    0.384520] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl
  125. [    0.384542] MDS: Mitigation: Clear CPU buffers
  126. [    0.384553] MMIO Stale Data: Unknown: No mitigations
  127. [    0.384579] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
  128. [    0.384597] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
  129. [    0.384611] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
  130. [    0.384626] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
  131. [    0.384640] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
  132. [    0.388177] Freeing SMP alternatives memory: 44K
  133. [    0.388177] pid_max: default: 32768 minimum: 301
  134. [    0.388177] LSM: initializing lsm=lockdown,capability,landlock,yama,integrity
  135. [    0.388177] landlock: Up and running.
  136. [    0.388177] Yama: becoming mindful.
  137. [    0.388177] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
  138. [    0.388177] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
  139. [    0.388177] clocksource: xen: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
  140. [    0.388177] Xen: using vcpuop timer interface
  141. [    0.388177] installing Xen timer for CPU 0
  142. [    0.388177] smpboot: CPU0: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (family: 0x6, model: 0x3a, stepping: 0x9)
  143. [    0.388177] cpu 0 spinlock event irq 4
  144. [    0.388177] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
  145. [    0.388177] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
  146. [    0.388225] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
  147. [    0.388275] Performance Events: unsupported p6 CPU model 58 no PMU driver, software events only.
  148. [    0.388309] signal: max sigframe size: 1776
  149. [    0.388358] rcu: Hierarchical SRCU implementation.
  150. [    0.388373] rcu:     Max phase no-delay instances is 1000.
  151. [    0.388710] NMI watchdog: Perf NMI watchdog permanently disabled
  152. [    0.388793] smp: Bringing up secondary CPUs ...
  153. [    0.388950] installing Xen timer for CPU 1
  154. [    0.389022] smpboot: x86: Booting SMP configuration:
  155. [    0.389035] .... node  #0, CPUs:      #1
  156. [    0.389444] installing Xen timer for CPU 2
  157. [    0.389527]  #2
  158. [    0.389908] installing Xen timer for CPU 3
  159. [    0.389999]  #3
  160. [    0.394183] cpu 1 spinlock event irq 17
  161. [    0.400222] cpu 2 spinlock event irq 18
  162. [    0.402182] cpu 3 spinlock event irq 19
  163. [    0.402182] smp: Brought up 1 node, 4 CPUs
  164. [    0.402182] smpboot: Max logical packages: 1
  165. [    0.402182] smpboot: Total of 4 processors activated (27280.12 BogoMIPS)
  166. [    0.406446] devtmpfs: initialized
  167. [    0.406446] x86/mm: Memory block size: 128MB
  168. [    0.406446] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  169. [    0.406446] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
  170. [    0.406446] pinctrl core: initialized pinctrl subsystem
  171. [    0.408931] NET: Registered PF_NETLINK/PF_ROUTE protocol family
  172. [    0.408978] xen:grant_table: Grant tables using version 1 layout
  173. [    0.409015] Grant table initialized
  174. [    0.409140] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
  175. [    0.409170] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
  176. [    0.409197] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
  177. [    0.409352] thermal_sys: Registered thermal governor 'fair_share'
  178. [    0.409354] thermal_sys: Registered thermal governor 'bang_bang'
  179. [    0.409371] thermal_sys: Registered thermal governor 'step_wise'
  180. [    0.409387] thermal_sys: Registered thermal governor 'user_space'
  181. [    0.409402] thermal_sys: Registered thermal governor 'power_allocator'
  182. [    0.409423] EISA bus registered
  183. [    0.409468] cpuidle: using governor ladder
  184. [    0.409468] cpuidle: using governor menu
  185. [    0.409468] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
  186. [    0.409468] PCI: Fatal: No config space access function found
  187. [    0.409468] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
  188. [    0.415527] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
  189. [    0.415544] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
  190. [    0.420376] ACPI: Added _OSI(Module Device)
  191. [    0.420389] ACPI: Added _OSI(Processor Device)
  192. [    0.420402] ACPI: Added _OSI(3.0 _SCP Extensions)
  193. [    0.420415] ACPI: Added _OSI(Processor Aggregator Device)
  194. [    0.425870] ACPI: 1 ACPI AML tables successfully acquired and loaded
  195. [    0.426126] ACPI: OSL: SCI (ACPI GSI 9) not registered
  196. [    0.438259] ACPI: Interpreter enabled
  197. [    0.438278] ACPI: PM: (supports S0)
  198. [    0.438288] ACPI: Using platform specific model for interrupt routing
  199. [    0.438650] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
  200. [    0.438672] PCI: Using E820 reservations for host bridge windows
  201. [    0.438848] ACPI: Enabled 1 GPEs in block 00 to 0F
  202. [    0.438872] ACPI Error: No handler or method for GPE 00, disabling event (20230331/evgpe-839)
  203. [    0.580196] ACPI Error: No handler or method for GPE 01, disabling event (20230331/evgpe-839)
  204. [    0.580260] ACPI Error: No handler or method for GPE 03, disabling event (20230331/evgpe-839)
  205. [    0.580290] ACPI Error: No handler or method for GPE 04, disabling event (20230331/evgpe-839)
  206. [    0.580320] ACPI Error: No handler or method for GPE 05, disabling event (20230331/evgpe-839)
  207. [    0.580350] ACPI Error: No handler or method for GPE 06, disabling event (20230331/evgpe-839)
  208. [    0.580380] ACPI Error: No handler or method for GPE 07, disabling event (20230331/evgpe-839)
  209. [    0.595368] xen:balloon: Initialising balloon driver
  210. [    0.596282] iommu: Default domain type: Translated
  211. [    0.596282] iommu: DMA domain TLB invalidation policy: lazy mode
  212. [    0.596404] SCSI subsystem initialized
  213. [    0.596453] libata version 3.00 loaded.
  214. [    0.596453] ACPI: bus type USB registered
  215. [    0.596453] usbcore: registered new interface driver usbfs
  216. [    0.596453] usbcore: registered new interface driver hub
  217. [    0.596453] usbcore: registered new device driver usb
  218. [    0.596453] pps_core: LinuxPPS API ver. 1 registered
  219. [    0.596453] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  220. [    0.596453] PTP clock support registered
  221. [    0.596453] EDAC MC: Ver: 3.0.0
  222. [    0.596453] NetLabel: Initializing
  223. [    0.596453] NetLabel:  domain hash size = 128
  224. [    0.596453] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
  225. [    0.596453] NetLabel:  unlabeled traffic allowed by default
  226. [    0.596482] mctp: management component transport protocol core
  227. [    0.596482] NET: Registered PF_MCTP protocol family
  228. [    0.596482] PCI: Using ACPI for IRQ routing
  229. [    0.596482] PCI: System does not support PCI
  230. [    0.596482] vgaarb: loaded
  231. [    0.600568] clocksource: Switched to clocksource xen
  232. [    0.610952] VFS: Disk quotas dquot_6.6.0
  233. [    0.610989] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
  234. [    0.611108] pnp: PnP ACPI init
  235. [    0.611160] pnp: PnP ACPI: found 0 devices
  236. [    0.616012] NET: Registered PF_INET protocol family
  237. [    0.616074] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
  238. [    0.616603] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
  239. [    0.616636] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
  240. [    0.616659] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
  241. [    0.616709] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
  242. [    0.616750] TCP: Hash tables configured (established 8192 bind 8192)
  243. [    0.616904] MPTCP token hash table entries: 1024 (order: 2, 24576 bytes, linear)
  244. [    0.616978] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
  245. [    0.617000] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
  246. [    0.617095] NET: Registered PF_UNIX/PF_LOCAL protocol family
  247. [    0.617121] NET: Registered PF_XDP protocol family
  248. [    0.617136] PCI: CLS 0 bytes, default 64
  249. [    0.617227] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x312743ea0a4, max_idle_ns: 440795205753 ns
  250. [    0.617244] Trying to unpack rootfs image as initramfs...
  251. [    0.617558] Initialise system trusted keyrings
  252. [    0.617584] Key type blacklist registered
  253. [    0.617668] workingset: timestamp_bits=36 max_order=18 bucket_order=0
  254. [    0.617698] zbud: loaded
  255. [    0.618863] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  256. [    0.778763] Freeing initrd memory: 7372K
  257. [    0.779012] fuse: init (API version 7.38)
  258. [    0.779276] integrity: Platform Keyring initialized
  259. [    0.779294] integrity: Machine keyring initialized
  260. [    0.786297] Key type asymmetric registered
  261. [    0.786319] Asymmetric key parser 'x509' registered
  262. [    0.786350] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
  263. [    0.786469] io scheduler mq-deadline registered
  264. [    0.786999] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
  265. [    0.791277] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
  266. [    0.794471] Linux agpgart interface v0.103
  267. [    0.796315] loop: module loaded
  268. [    0.798631] tun: Universal TUN/TAP device driver, 1.6
  269. [    0.798778] PPP generic driver version 2.4.2
  270. [    0.798878] xen_netfront: Initialising Xen virtual ethernet driver
  271. [    0.799763] i8042: PNP: No PS/2 controller found.
  272. [    0.799970] mousedev: PS/2 mouse device common for all mice
  273. [    0.800089] i2c_dev: i2c /dev entries driver
  274. [    0.800122] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
  275. [    0.800164] device-mapper: uevent: version 1.0.3
  276. [    0.800310] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
  277. [    0.800354] platform eisa.0: Probing EISA bus 0
  278. [    0.800405] platform eisa.0: EISA: Detected 0 cards
  279. [    0.800420] intel_pstate: CPU model not supported
  280. [    0.800631] ledtrig-cpu: registered to indicate activity on CPUs
  281. [    0.800689] drop_monitor: Initializing network drop monitor service
  282. [    0.811958] xen_netfront: backend supports XDP headroom
  283. [    0.813412] ================================================================================
  284. [    0.813438] UBSAN: array-index-out-of-bounds in /build/linux-D15vQj/linux-6.5.0/drivers/net/xen-netfront.c:332:9
  285. [    0.813463] index 1 is out of range for type 'xen_netif_rx_sring_entry [1]'
  286. [    0.813479] CPU: 1 PID: 67 Comm: xenwatch Not tainted 6.5.0-9-generic #9-Ubuntu
  287. [    0.813499] Call Trace:
  288. [    0.813508]  <TASK>
  289. [    0.813517]  dump_stack_lvl+0x48/0x70
  290. [    0.813533]  dump_stack+0x10/0x20
  291. [    0.813545]  __ubsan_handle_out_of_bounds+0xc6/0x110
  292. [    0.813561]  xennet_alloc_rx_buffers+0x2e8/0x300
  293. [    0.813576]  xennet_connect+0x15d/0x210
  294. [    0.813588]  netback_changed+0xca/0xe0
  295. [    0.813599]  xenbus_otherend_changed+0xa0/0x170
  296. [    0.813614]  ? __pfx_xenwatch_thread+0x10/0x10
  297. [    0.813628]  backend_changed+0x13/0x30
  298. [    0.813640]  xenwatch_thread+0x93/0x1b0
  299. [    0.813652]  ? __pfx_autoremove_wake_function+0x10/0x10
  300. [    0.813667]  kthread+0xf2/0x120
  301. [    0.813679]  ? __pfx_kthread+0x10/0x10
  302. [    0.813691]  ret_from_fork+0x47/0x70
  303. [    0.813703]  ? __pfx_kthread+0x10/0x10
  304. [    0.813715]  ret_from_fork_asm+0x1b/0x30
  305. [    0.813727]  </TASK>
  306. [    0.813731] IPv6: Loaded, but administratively disabled, reboot required to enable
  307. [    0.813734] ================================================================================
  308. [    0.813781] NET: Registered PF_PACKET protocol family
  309. [    0.813927] Key type dns_resolver registered
  310. [    0.814724] IPI shorthand broadcast: enabled
  311. [    0.816109] sched_clock: Marking stable (613713648, 200929848)->(1022038552, -207395056)
  312. [    0.816470] registered taskstats version 1
  313. [    0.816926] Loading compiled-in X.509 certificates
  314. [    0.817608] Loaded X.509 cert 'Build time autogenerated kernel key: 68146f2d536c7f9efbc818156af57d8945afe4ba'
  315. [    0.818186] Loaded X.509 cert 'Canonical Ltd. Live Patch Signing: 14df34d1a87cf37625abec039ef2bf521249b969'
  316. [    0.818701] Loaded X.509 cert 'Canonical Ltd. Kernel Module Signing: 88f752e560a1e0737e31163a466ad7b70a850c19'
  317. [    0.818727] blacklist: Loading compiled-in revocation X.509 certificates
  318. [    0.818764] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing: 61482aa2830d0ab2ad5af10b7250da9033ddcef0'
  319. [    0.818811] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2017): 242ade75ac4a15e50d50c84b0d45ff3eae707a03'
  320. [    0.818855] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (ESM 2018): 365188c1d374d6b07c3c8f240f8ef722433d6a8b'
  321. [    0.818893] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2019): c0746fd6c5da3ae827864651ad66ae47fe24b3e8'
  322. [    0.818932] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021 v1): a8d54bbb3825cfb94fa13c9f8a594a195c107b8d'
  323. [    0.818975] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021 v2): 4cf046892d6fd3c9a5b03f98d845f90851dc6a8c'
  324. [    0.819016] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021 v3): 100437bb6de6e469b581e61cd66bce3ef4ed53af'
  325. [    0.819056] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (Ubuntu Core 2019): c1d57b8f6b743f23ee41f4f7ee292f06eecadfb9'
  326. [    0.820808] Key type .fscrypt registered
  327. [    0.820821] Key type fscrypt-provisioning registered
  328. [    0.825322] Key type encrypted registered
  329. [    0.825342] ima: No TPM chip found, activating TPM-bypass!
  330. [    0.825359] Loading compiled-in module X.509 certificates
  331. [    0.825870] Loaded X.509 cert 'Build time autogenerated kernel key: 68146f2d536c7f9efbc818156af57d8945afe4ba'
  332. [    0.825896] ima: Allocated hash algorithm: sha1
  333. [    0.825915] ima: No architecture policies found
  334. [    0.829243] blkfront: xvda: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled; bounce buffer: enabled
  335. [    0.979149] evm: Initialising EVM extended attributes:
  336. [    0.979151] evm: security.selinux
  337. [    0.979152] evm: security.SMACK64
  338. [    0.979153] evm: security.SMACK64EXEC
  339. [    0.979153] evm: security.SMACK64TRANSMUTE
  340. [    0.979154] evm: security.SMACK64MMAP
  341. [    0.979154] evm: security.apparmor
  342. [    0.979155] evm: security.ima
  343. [    0.979155] evm: security.capability
  344. [    0.979155] evm: HMAC attrs: 0x1
  345. [    0.980485] ================================================================================
  346. [    0.980510] UBSAN: array-index-out-of-bounds in /build/linux-D15vQj/linux-6.5.0/drivers/block/xen-blkfront.c:539:14
  347. [    0.980535] index 1 is out of range for type 'blkif_sring_entry [1]'
  348. [    0.980552] CPU: 1 PID: 67 Comm: xenwatch Not tainted 6.5.0-9-generic #9-Ubuntu
  349. [    0.980572] Call Trace:
  350. [    0.980580]  <TASK>
  351. [    0.980589]  dump_stack_lvl+0x48/0x70
  352. [    0.980603]  dump_stack+0x10/0x20
  353. [    0.980616]  __ubsan_handle_out_of_bounds+0xc6/0x110
  354. [    0.980631]  blkif_queue_rw_req+0x679/0x690
  355. [    0.980644]  ? blk_mq_get_tag+0x26e/0x2f0
  356. [    0.980658]  blkif_queue_rq+0xc3/0x350
  357. [    0.980670]  __blk_mq_issue_directly+0x4d/0xc0
  358. [    0.980684]  blk_mq_try_issue_directly+0x97/0xf0
  359. [    0.980699]  blk_mq_submit_bio+0x530/0x570
  360. [    0.980711]  __submit_bio+0xb3/0x1c0
  361. [    0.980723]  submit_bio_noacct_nocheck+0x13c/0x1f0
  362. [    0.980738]  submit_bio_noacct+0x17f/0x5e0
  363. [    0.980749]  submit_bio+0x4d/0x80
  364. [    0.980761]  submit_bh_wbc+0x124/0x150
  365. [    0.980774]  block_read_full_folio+0x33a/0x450
  366. [    0.980789]  ? __pfx_blkdev_get_block+0x10/0x10
  367. [    0.980804]  ? __pfx_blkdev_read_folio+0x10/0x10
  368. [    0.980819]  blkdev_read_folio+0x18/0x30
  369. [    0.980831]  filemap_read_folio+0x45/0xf0
  370. [    0.980843]  ? __pfx_blkdev_read_folio+0x10/0x10
  371. [    0.980858]  do_read_cache_folio+0x80/0x1a0
  372. [    0.980869]  ? __pfx_amiga_partition+0x10/0x10
  373. [    0.980883]  read_cache_folio+0x12/0x30
  374. [    0.980894]  read_part_sector+0x3b/0xd0
  375. [    0.980905]  amiga_partition+0x4a/0x8e0
  376. [    0.980916]  ? __pfx_sun_partition+0x10/0x10
  377. [    0.980935]  ? read_cache_folio+0x12/0x30
  378. [    0.980947]  ? sun_partition+0x3b/0x340
  379. [    0.980958]  ? __pfx_amiga_partition+0x10/0x10
  380. [    0.980972]  check_partition+0x13a/0x370
  381. [    0.980983]  bdev_disk_changed+0x1c6/0x440
  382. [    0.980994]  ? _raw_spin_unlock+0xe/0x40
  383. [    0.981007]  blkdev_get_whole+0x85/0xa0
  384. [    0.981018]  blkdev_get_by_dev.part.0+0xb2/0x350
  385. [    0.981033]  ? bd_prepare_to_claim+0x11b/0x130
  386. [    0.981047]  blkdev_get_by_dev+0x63/0x80
  387. [    0.981059]  disk_scan_partitions+0x6c/0x100
  388. [    0.981073]  device_add_disk+0x3de/0x3e0
  389. [    0.981085]  blkfront_connect+0x4b7/0x580
  390. [    0.981098]  blkback_changed+0x5d/0x160
  391. [    0.981110]  xenbus_otherend_changed+0xa0/0x170
  392. [    0.981125]  ? __pfx_xenwatch_thread+0x10/0x10
  393. [    0.981139]  backend_changed+0x13/0x30
  394. [    0.981151]  xenwatch_thread+0x93/0x1b0
  395. [    0.981162]  ? __pfx_autoremove_wake_function+0x10/0x10
  396. [    0.981177]  kthread+0xf2/0x120
  397. [    0.981189]  ? __pfx_kthread+0x10/0x10
  398. [    0.981201]  ret_from_fork+0x47/0x70
  399. [    0.981213]  ? __pfx_kthread+0x10/0x10
  400. [    0.981225]  ret_from_fork_asm+0x1b/0x30
  401. [    0.981237]  </TASK>
  402. [    0.981244] ================================================================================
  403. [    0.981438] ================================================================================
  404. [    0.981461] UBSAN: array-index-out-of-bounds in /build/linux-D15vQj/linux-6.5.0/drivers/block/xen-blkfront.c:1544:3
  405. [    0.981485] index 1 is out of range for type 'blkif_sring_entry [1]'
  406. [    0.981501] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.5.0-9-generic #9-Ubuntu
  407. [    0.981520] Call Trace:
  408. [    0.981528]  <IRQ>
  409. [    0.981535]  dump_stack_lvl+0x48/0x70
  410. [    0.981549]  dump_stack+0x10/0x20
  411. [    0.981561]  __ubsan_handle_out_of_bounds+0xc6/0x110
  412. [    0.981575]  blkif_interrupt+0x84f/0x940
  413. [    0.981588]  __handle_irq_event_percpu+0x4f/0x1b0
  414. [    0.981602]  handle_irq_event+0x39/0x80
  415. [    0.981614]  handle_edge_irq+0x8c/0x250
  416. [    0.981625]  handle_irq_desc+0x40/0x60
  417. [    0.981636]  generic_handle_irq+0x1f/0x30
  418. [    1.179183]  handle_irq_for_port+0x8e/0x180
  419. [    1.179228]  __evtchn_fifo_handle_events+0x221/0x330
  420. [    1.179259]  evtchn_fifo_handle_events+0xe/0x20
  421. [    1.179275]  __xen_evtchn_do_upcall+0x72/0xd0
  422. [    1.179288]  xen_hvm_evtchn_do_upcall+0xe/0x20
  423. [    1.179302]  __sysvec_xen_hvm_callback+0x53/0x70
  424. [    1.179316]  sysvec_xen_hvm_callback+0x8d/0xd0
  425. [    1.179330]  </IRQ>
  426. [    1.179337]  <TASK>
  427. [    1.179344]  asm_sysvec_xen_hvm_callback+0x1b/0x20
  428. [    1.179359] RIP: 0010:pv_native_safe_halt+0xb/0x10
  429. [    1.179373] Code: 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 eb 07 0f 00 2d 89 cf 2c 00 fb f4 <c3> cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55
  430. [    1.179412] RSP: 0018:ffffacbfc00bbdb0 EFLAGS: 00000246
  431. [    1.179426] RAX: 0000000000004000 RBX: ffffa00e41a6b864 RCX: 0000000000000000
  432. [    1.179444] RDX: 0000000000000001 RSI: ffffa00e41a6b800 RDI: 0000000000000001
  433. [    1.179461] RBP: ffffacbfc00bbdb8 R08: 0000000000000000 R09: 0000000000000000
  434. [    1.179478] R10: 0000000000000000 R11: 0000000000000000 R12: ffffa00e41a6b864
  435. [    1.179496] R13: 0000000000000003 R14: ffffffff8bae5bc0 R15: ffffa00e7ed80000
  436. [    1.179514]  ? acpi_safe_halt+0x19/0x60
  437. [    1.179526]  acpi_idle_do_entry+0x40/0x80
  438. [    1.179537]  acpi_idle_enter+0xb6/0x180
  439. [    1.179549]  cpuidle_enter_state+0x91/0x730
  440. [    1.179560]  ? finish_task_switch.isra.0+0x89/0x2b0
  441. [    1.179575]  cpuidle_enter+0x2e/0x50
  442. [    1.179586]  call_cpuidle+0x23/0x60
  443. [    1.179598]  cpuidle_idle_call+0x11d/0x190
  444. [    1.179608]  do_idle+0x82/0xf0
  445. [    1.179619]  cpu_startup_entry+0x1d/0x20
  446. [    1.179630]  start_secondary+0x129/0x160
  447. [    1.179641]  secondary_startup_64_no_verify+0x17e/0x18b
  448. [    1.179656]  </TASK>
  449. [    1.179662] ================================================================================
  450. [    1.182663] blkfront: xvdb: flush diskcache: enabled; persistent grants: enabled; indirect descriptors: enabled; bounce buffer: enabled
  451. [    1.297158] RAS: Correctable Errors collector initialized.
  452. [    1.297241] clk: Disabling unused clocks
  453. [    1.298378] Freeing unused decrypted memory: 2036K
  454. [    1.298905] Freeing unused kernel image (initmem) memory: 4788K
  455. [    1.312998] Write protecting the kernel read-only data: 34816k
  456. [    1.313569] Freeing unused kernel image (rodata/data gap) memory: 816K
  457. [    1.350398] x86/mm: Checked W+X mappings: passed, no W+X pages found.
  458. [    1.350421] Run /init as init process
  459. [    1.350432]   with arguments:
  460. [    1.350433]     /init
  461. [    1.350434]     nopti
  462. [    1.350435]   with environment:
  463. [    1.350435]     HOME=/
  464. [    1.350436]     TERM=linux
  465. [    1.350437]     BOOT_IMAGE=/boot/vmlinuz-6.5.0-9-generic
  466. [    1.684367] EXT4-fs (xvda): mounted filesystem bed25eb7-c048-42a6-9b97-00968c562c71 ro with ordered data mode. Quota mode: none.
  467. [    2.262929] systemd[1]: Inserted module 'autofs4'
  468. [    2.333315] systemd[1]: systemd 253.5-1ubuntu7 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
  469. [    2.333391] systemd[1]: Detected virtualization xen.
  470. [    2.333408] systemd[1]: Detected architecture x86-64.
  471. [    2.340118] systemd[1]: Hostname set to <noble1>.
  472. [    2.717098] systemd[1]: Queued start job for default target multi-user.target.
  473. [    2.749856] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
  474. [    2.750463] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
  475. [    2.750828] systemd[1]: Created slice user.slice - User and Session Slice.
  476. [    2.750975] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
  477. [    2.751181] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
  478. [    2.751442] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
  479. [    2.751579] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
  480. [    2.751687] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
  481. [    2.751801] systemd[1]: Reached target paths.target - Path Units.
  482. [    2.751900] systemd[1]: Reached target remote-fs.target - Remote File Systems.
  483. [    2.751997] systemd[1]: Reached target slices.target - Slice Units.
  484. [    2.752139] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
  485. [    2.752394] systemd[1]: Listening on syslog.socket - Syslog Socket.
  486. [    2.752593] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
  487. [    2.752752] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
  488. [    2.752983] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
  489. [    2.753189] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
  490. [    2.753421] systemd[1]: Listening on systemd-networkd.socket - Network Service Netlink Socket.
  491. [    2.753654] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
  492. [    2.753845] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
  493. [    2.754832] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
  494. [    2.755770] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
  495. [    2.919239] systemd[1]: Mounting proc-xen.mount - /proc/xen...
  496. [    2.920316] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
  497. [    2.921355] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
  498. [    2.926077] systemd[1]: Starting systemd-journald.service - Journal Service...
  499. [    2.931566] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
  500. [    2.932568] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
  501. [    2.933624] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
  502. [    2.934727] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
  503. [    2.935829] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
  504. [    2.937337] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
  505. [    2.938712] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
  506. [    2.940304] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
  507. [    2.940457] systemd[1]: netplan-ovs-cleanup.service - OpenVSwitch configuration for cleanup was skipped because of an unmet condition check (ConditionFileIsExecutable=/usr/bin/ovs-vsctl).
  508. [    2.940580] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
  509. [    2.943051] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
  510. [    2.944067] systemd[1]: Starting systemd-network-generator.service - Generate network units from Kernel command line...
  511. [    2.944210] systemd[1]: systemd-pcrmachine.service - TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
  512. [    2.945252] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
  513. [    2.946214] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
  514. [    2.947880] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
  515. [    2.949899] systemd[1]: modprobe@configfs.service: Deactivated successfully.
  516. [    2.950065] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
  517. [    2.950408] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
  518. [    2.950562] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
  519. [    2.950943] systemd[1]: modprobe@fuse.service: Deactivated successfully.
  520. [    2.951098] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
  521. [    2.951443] systemd[1]: modprobe@loop.service: Deactivated successfully.
  522. [    2.951602] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
  523. [    2.952636] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
  524. [    2.956654] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
  525. [    2.956832] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met.
  526. [    2.962965] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
  527. [    2.963159] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
  528. [    2.972472] systemd[1]: Finished systemd-network-generator.service - Generate network units from Kernel command line.
  529. [    2.972681] systemd[1]: Reached target network-pre.target - Preparation for Network.
  530. [    3.005423] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
  531. [    3.005716] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
  532. [    3.005889] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
  533. [    3.006061] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
  534. [    3.006228] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
  535. [    3.006411] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
  536. [    3.044507] EXT4-fs (xvda): re-mounted bed25eb7-c048-42a6-9b97-00968c562c71 r/w. Quota mode: none.
  537. [    3.045406] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
  538. [    3.045693] systemd[1]: systemd-firstboot.service - First Boot Wizard was skipped because of an unmet condition check (ConditionFirstBoot=yes).
  539. [    3.045773] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
  540. [    3.058778] systemd-journald[167]: Collecting audit messages is disabled.
  541. [    3.065402] systemd[1]: Starting systemd-random-seed.service - Load/Save OS Random Seed...
  542. [    3.066555] systemd[1]: Starting systemd-sysusers.service - Create System Users...
  543. [    3.073496] systemd[1]: Started systemd-journald.service - Journal Service.
  544. [    3.125281] systemd-journald[167]: Received client request to flush runtime journal.
  545. [    3.130416] ACPI: bus type drm_connector registered
  546. [    3.857469] cryptd: max_cpu_qlen set to 1000
  547. [    3.894039] AVX version of gcm_enc/dec engaged.
  548. [    3.894213] AES CTR mode by8 optimization enabled
  549. [    3.932970] random: crng init done
  550. [    4.020542] Adding 1048572k swap on /dev/xvdb.  Priority:-2 extents:1 across:1048572k SSFS
  551. [    4.183229] ================================================================================
  552. [    4.183256] UBSAN: array-index-out-of-bounds in /build/linux-D15vQj/linux-6.5.0/drivers/net/xen-netfront.c:1291:3
  553. [    4.183280] index 1 is out of range for type 'xen_netif_rx_sring_entry [1]'
  554. [    4.183296] CPU: 3 PID: 229 Comm: systemd-network Not tainted 6.5.0-9-generic #9-Ubuntu
  555. [    4.183299] Call Trace:
  556. [    4.183301]  <IRQ>
  557. [    4.183304]  dump_stack_lvl+0x48/0x70
  558. [    4.183310]  dump_stack+0x10/0x20
  559. [    4.183312]  __ubsan_handle_out_of_bounds+0xc6/0x110
  560. [    4.183316]  xennet_poll+0x930/0x960
  561. [    4.183320]  __napi_poll+0x33/0x1f0
  562. [    4.183324]  net_rx_action+0x181/0x2e0
  563. [    4.183335]  __do_softirq+0xd9/0x346
  564. [    4.183338]  do_softirq.part.0+0x41/0x80
  565. [    4.183342]  </IRQ>
  566. [    4.183343]  <TASK>
  567. [    4.183344]  __local_bh_enable_ip+0x72/0x80
  568. [    4.183346]  _raw_spin_unlock_bh+0x1d/0x30
  569. [    4.183348]  xennet_open+0x75/0x160
  570. [    4.183351]  __dev_open+0x105/0x1d0
  571. [    4.183354]  __dev_change_flags+0x1b5/0x230
  572. [    4.183356]  ? irq_get_irq_data+0xe/0x30
  573. [    4.183359]  dev_change_flags+0x27/0x80
  574. [    4.183362]  do_setlink+0x3c8/0xe60
  575. [    4.183365]  ? __smp_call_single_queue+0xfd/0x180
  576. [    4.183368]  ? ttwu_queue_wakelist+0x135/0x1c0
  577. [    4.183372]  ? __nla_validate_parse+0x49/0x1e0
  578. [    4.183376]  ? _raw_spin_unlock_irqrestore+0x11/0x60
  579. [    4.183378]  rtnl_setlink+0x12f/0x1f0
  580. [    4.183381]  ? default_wake_function+0x1a/0x40
  581. [    4.183387]  ? find_get_entries+0x135/0x280
  582. [    4.183389]  ? security_capable+0x47/0x80
  583. [    4.183392]  rtnetlink_rcv_msg+0x170/0x430
  584. [    4.183395]  ? __pfx_rtnetlink_rcv_msg+0x10/0x10
  585. [    4.183398]  netlink_rcv_skb+0x5d/0x110
  586. [    4.183418]  rtnetlink_rcv+0x15/0x30
  587. [    4.183421]  netlink_unicast+0x247/0x390
  588. [    4.183423]  netlink_sendmsg+0x25e/0x4e0
  589. [    4.183426]  sock_sendmsg+0xcc/0xd0
  590. [    4.183429]  __sys_sendto+0x151/0x1b0
  591. [    4.183433]  __x64_sys_sendto+0x24/0x40
  592. [    4.183436]  do_syscall_64+0x5c/0x90
  593. [    4.183438]  ? __x64_sys_clock_gettime+0xb4/0x110
  594. [    4.183441]  ? exit_to_user_mode_prepare+0x30/0xb0
  595. [    4.183444]  ? syscall_exit_to_user_mode+0x37/0x60
  596. [    4.183447]  ? do_syscall_64+0x68/0x90
  597. [    4.183449]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
  598. [    4.183453] RIP: 0033:0x7f838012a8b7
  599. [    4.183458] Code: 0d 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 80 3d 95 bc 0d 00 00 41 89 ca 74 10 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 71 c3 55 48 83 ec 30 44 89 4c 24 2c 4c 89 44
  600. [    4.183459] RSP: 002b:00007ffe2156a7a8 EFLAGS: 00000202 ORIG_RAX: 000000000000002c
  601. [    4.183462] RAX: ffffffffffffffda RBX: 00005622ebbe7a90 RCX: 00007f838012a8b7
  602. [    4.183463] RDX: 0000000000000020 RSI: 00005622ebbfe9f0 RDI: 0000000000000003
  603. [    4.183464] RBP: 00005622ebbeae00 R08: 00007ffe2156a7b0 R09: 0000000000000080
  604. [    4.183465] R10: 0000000000000000 R11: 0000000000000202 R12: 00005622ebbfb188
  605. [    4.183466] R13: 0000000000000000 R14: 00005622ebbfb140 R15: 00005622e9ee58b0
  606. [    4.183468]  </TASK>
  607. [    4.183469] ================================================================================
  608. [    4.344245] systemd-journald[167]: Data hash table of /run/log/journal/46c077f513a949cb9338506d6caf3540/system.journal has a fill level at 75.1 (1629 of 2168 items, 1249280 file size, 766 bytes per hash table item), suggesting rotation.
  609. [    4.344252] systemd-journald[167]: /run/log/journal/46c077f513a949cb9338506d6caf3540/system.journal: Journal header limits reached or header out-of-date, rotating.
  610. [    4.541025] ================================================================================
  611. [    4.541053] UBSAN: array-index-out-of-bounds in /build/linux-D15vQj/linux-6.5.0/drivers/net/xen-netfront.c:485:7
  612. [    4.541078] index 1 is out of range for type 'xen_netif_tx_sring_entry [1]'
  613. [    4.541094] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.5.0-9-generic #9-Ubuntu
  614. [    4.541097] Call Trace:
  615. [    4.541099]  <IRQ>
  616. [    4.541102]  dump_stack_lvl+0x48/0x70
  617. [    4.541108]  dump_stack+0x10/0x20
  618. [    4.541111]  __ubsan_handle_out_of_bounds+0xc6/0x110
  619. [    4.541115]  xennet_tx_setup_grant+0x1f7/0x230
  620. [    4.541117]  ? enqueue_entity+0x18e/0x560
  621. [    4.541120]  ? __pfx_xennet_tx_setup_grant+0x10/0x10
  622. [    4.541122]  gnttab_foreach_grant_in_range+0x5c/0x100
  623. [    4.541125]  xennet_start_xmit+0x428/0x990
  624. [    4.541128]  dev_hard_start_xmit+0x68/0x1e0
  625. [    4.541132]  sch_direct_xmit+0x10b/0x350
  626. [    4.541134]  __dev_xmit_skb+0x30f/0x580
  627. [    4.541136]  ? xennet_select_queue+0x4b/0x50
  628. [    4.541138]  __dev_queue_xmit+0x38b/0x710
  629. [    4.541141]  neigh_hh_output+0x93/0xf0
  630. [    4.541144]  ip_finish_output2+0x1de/0x480
  631. [    4.541146]  __ip_finish_output+0xb6/0x180
  632. [    4.541148]  ip_finish_output+0x29/0x100
  633. [    4.541150]  ip_output+0x73/0x120
  634. [    4.541151]  ? __ip_local_out+0x5c/0x170
  635. [    4.541153]  ? add_grec+0x4a9/0x540
  636. [    4.541156]  ip_local_out+0x61/0x70
  637. [    4.541158]  igmpv3_sendpack.isra.0+0x54/0x70
  638. [    4.541161]  igmpv3_send_cr+0x1c8/0x330
  639. [    4.541163]  ? __pfx_igmp_ifc_timer_expire+0x10/0x10
  640. [    4.541166]  igmp_ifc_timer_expire+0x22/0x130
  641. [    4.541169]  call_timer_fn+0x2c/0x160
  642. [    4.541172]  ? __pfx_igmp_ifc_timer_expire+0x10/0x10
  643. [    4.541174]  __run_timers+0x259/0x310
  644. [    4.541177]  run_timer_softirq+0x1d/0x40
  645. [    4.541179]  __do_softirq+0xd9/0x346
  646. [    4.541182]  ? evtchn_fifo_handle_events+0xe/0x20
  647. [    4.541186]  __irq_exit_rcu+0x75/0xa0
  648. [    4.541189]  irq_exit_rcu+0xe/0x20
  649. [    4.541192]  sysvec_xen_hvm_callback+0x92/0xd0
  650. [    4.541194]  </IRQ>
  651. [    4.541195]  <TASK>
  652. [    4.541196]  asm_sysvec_xen_hvm_callback+0x1b/0x20
  653. [    4.541200] RIP: 0010:pv_native_safe_halt+0xb/0x10
  654. [    4.541203] Code: 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 eb 07 0f 00 2d 89 cf 2c 00 fb f4 <c3> cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55
  655. [    4.541204] RSP: 0018:ffffffff8b803d50 EFLAGS: 00000246
  656. [    4.541206] RAX: 0000000000004000 RBX: ffffa00e41a69c64 RCX: 0000000000000000
  657. [    4.541208] RDX: 0000000000000001 RSI: ffffa00e41a69c00 RDI: 0000000000000001
  658. [    4.541209] RBP: ffffffff8b803d58 R08: 0000000000000000 R09: 0000000000000000
  659. [    4.541210] R10: 0000000000000000 R11: 0000000000000000 R12: ffffa00e41a69c64
  660. [    4.541210] R13: 0000000000000000 R14: ffffffff8bae5bc0 R15: ffffa00e7ec00000
  661. [    4.541213]  ? acpi_safe_halt+0x19/0x60
  662. [    4.541216]  acpi_idle_do_entry+0x40/0x80
  663. [    4.541219]  acpi_idle_enter+0xb6/0x180
  664. [    4.541221]  cpuidle_enter_state+0x91/0x730
  665. [    4.541224]  ? finish_task_switch.isra.0+0x89/0x2b0
  666. [    4.541227]  cpuidle_enter+0x2e/0x50
  667. [    4.541230]  call_cpuidle+0x23/0x60
  668. [    4.541233]  cpuidle_idle_call+0x11d/0x190
  669. [    4.541235]  do_idle+0x82/0xf0
  670. [    4.541236]  cpu_startup_entry+0x1d/0x20
  671. [    4.541238]  rest_init+0xde/0x100
  672. [    4.541240]  ? acpi_enable_subsystem+0xe6/0x2a0
  673. [    4.541243]  ? static_key_disable+0x1f/0x30
  674. [    4.541247]  arch_call_rest_init+0xe/0x30
  675. [    4.541250]  start_kernel+0x34f/0x440
  676. [    4.541252]  x86_64_start_reservations+0x18/0x30
  677. [    4.541255]  x86_64_start_kernel+0xbf/0x110
  678. [    4.541257]  secondary_startup_64_no_verify+0x17e/0x18b
  679. [    4.541261]  </TASK>
  680. [    4.541262] ================================================================================
  681. [    4.541504] ================================================================================
  682. [    4.541533] UBSAN: array-index-out-of-bounds in /build/linux-D15vQj/linux-6.5.0/drivers/net/xen-netfront.c:413:4
  683. [    4.541567] index 1 is out of range for type 'xen_netif_tx_sring_entry [1]'
  684. [    4.541592] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.5.0-9-generic #9-Ubuntu
  685. [    4.541594] Call Trace:
  686. [    4.541595]  <IRQ>
  687. [    4.541597]  dump_stack_lvl+0x48/0x70
  688. [    4.541601]  dump_stack+0x10/0x20
  689. [    4.541604]  __ubsan_handle_out_of_bounds+0xc6/0x110
  690. [    4.541607]  xennet_tx_buf_gc+0x34a/0x440
  691. [    4.541609]  xennet_handle_tx.constprop.0+0x49/0x90
  692. [    4.541611]  xennet_tx_interrupt+0x32/0x70
  693. [    4.541613]  __handle_irq_event_percpu+0x4f/0x1b0
  694. [    4.541616]  handle_irq_event+0x39/0x80
  695. [    4.541618]  handle_edge_irq+0x8c/0x250
  696. [    4.541620]  handle_irq_desc+0x40/0x60
  697. [    4.541622]  generic_handle_irq+0x1f/0x30
  698. [    4.541624]  handle_irq_for_port+0x8e/0x180
  699. [    4.541627]  __evtchn_fifo_handle_events+0x221/0x330
  700. [    4.541630]  evtchn_fifo_handle_events+0xe/0x20
  701. [    4.541633]  __xen_evtchn_do_upcall+0x72/0xd0
  702. [    4.541635]  xen_hvm_evtchn_do_upcall+0xe/0x20
  703. [    4.541637]  __sysvec_xen_hvm_callback+0x53/0x70
  704. [    4.541640]  sysvec_xen_hvm_callback+0x8d/0xd0
  705. [    4.541642]  </IRQ>
  706. [    4.541643]  <TASK>
  707. [    4.541652]  asm_sysvec_xen_hvm_callback+0x1b/0x20
  708. [    4.541655] RIP: 0010:pv_native_safe_halt+0xb/0x10
  709. [    4.541658] Code: 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 eb 07 0f 00 2d 89 cf 2c 00 fb f4 <c3> cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55
  710. [    4.541659] RSP: 0018:ffffacbfc00bbdb0 EFLAGS: 00000246
  711. [    4.541661] RAX: 0000000000004000 RBX: ffffa00e41a6b864 RCX: 0000000000000000
  712. [    4.541662] RDX: 0000000000000001 RSI: ffffa00e41a6b800 RDI: 0000000000000001
  713. [    4.541663] RBP: ffffacbfc00bbdb8 R08: 0000000000000000 R09: 0000000000000000
  714. [    4.541664] R10: 0000000000000000 R11: 0000000000000000 R12: ffffa00e41a6b864
  715. [    4.541665] R13: 0000000000000003 R14: ffffffff8bae5bc0 R15: ffffa00e7ed80000
  716. [    4.541676]  ? acpi_safe_halt+0x19/0x60
  717. [    4.541679]  acpi_idle_do_entry+0x40/0x80
  718. [    4.541681]  acpi_idle_enter+0xb6/0x180
  719. [    4.541684]  cpuidle_enter_state+0x91/0x730
  720. [    4.541687]  cpuidle_enter+0x2e/0x50
  721. [    4.541689]  call_cpuidle+0x23/0x60
  722. [    4.541692]  cpuidle_idle_call+0x11d/0x190
  723. [    4.541694]  do_idle+0x82/0xf0
  724. [    4.541696]  cpu_startup_entry+0x1d/0x20
  725. [    4.541697]  start_secondary+0x129/0x160
  726. [    4.541700]  secondary_startup_64_no_verify+0x17e/0x18b
  727. [    4.541704]  </TASK>
  728. [    4.541704] ================================================================================
  729. [    4.896965] fbcon: Taking over console
  730. [   21.789628] systemd[313]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
  731. [   25.551442] ================================================================================
  732. [   25.551478] UBSAN: array-index-out-of-bounds in /build/linux-D15vQj/linux-6.5.0/drivers/net/xen-netfront.c:807:4
  733. [   25.551503] index 67 is out of range for type 'xen_netif_tx_sring_entry [1]'
  734. [   25.551522] CPU: 2 PID: 333 Comm: sshd Not tainted 6.5.0-9-generic #9-Ubuntu
  735. [   25.551525] Call Trace:
  736. [   25.551527]  <TASK>
  737. [   25.551530]  dump_stack_lvl+0x48/0x70
  738. [   25.551536]  dump_stack+0x10/0x20
  739. [   25.551538]  __ubsan_handle_out_of_bounds+0xc6/0x110
  740. [   25.551542]  xennet_start_xmit+0x932/0x990
  741. [   25.551546]  dev_hard_start_xmit+0x68/0x1e0
  742. [   25.551549]  sch_direct_xmit+0x10b/0x350
  743. [   25.551552]  __dev_xmit_skb+0x30f/0x580
  744. [   25.551554]  __dev_queue_xmit+0x38b/0x710
  745. [   25.551557]  ? __schedule+0x2d4/0x770
  746. [   25.551559]  ? neigh_hh_output+0x93/0xf0
  747. [   25.551563]  neigh_hh_output+0x93/0xf0
  748. [   25.551565]  ip_finish_output2+0x1de/0x480
  749. [   25.551567]  __ip_finish_output+0xb6/0x180
  750. [   25.551569]  ip_finish_output+0x29/0x100
  751. [   25.551571]  ip_output+0x73/0x120
  752. [   25.551572]  ? __ip_local_out+0x5c/0x170
  753. [   25.551574]  ? set_next_entity+0xec/0x170
  754. [   25.551578]  ? psi_group_change+0x24a/0x550
  755. [   25.551580]  ip_local_out+0x61/0x70
  756. [   25.551582]  __ip_queue_xmit+0x18d/0x4a0
  757. [   25.551584]  ip_queue_xmit+0x15/0x30
  758. [   25.551586]  __tcp_transmit_skb+0x952/0xa00
  759. [   25.551590]  tcp_write_xmit+0x4a7/0xab0
  760. [   25.551592]  ? __check_object_size.part.0+0x72/0x150
  761. [   25.551596]  __tcp_push_pending_frames+0x37/0x110
  762. [   25.551598]  tcp_push+0x123/0x190
  763. [   25.551600]  tcp_sendmsg_locked+0x9a4/0xd50
  764. [   25.551602]  ? copyout+0x25/0x60
  765. [   25.551606]  tcp_sendmsg+0x2c/0x50
  766. [   25.551608]  inet_sendmsg+0x42/0x80
  767. [   25.551611]  sock_write_iter+0x16d/0x1a0
  768. [   25.551615]  vfs_write+0x397/0x440
  769. [   25.551619]  ksys_write+0xc9/0x100
  770. [   25.551622]  __x64_sys_write+0x19/0x30
  771. [   25.551623]  do_syscall_64+0x5c/0x90
  772. [   25.551626]  ? exit_to_user_mode_prepare+0x30/0xb0
  773. [   25.551629]  ? syscall_exit_to_user_mode+0x37/0x60
  774. [   25.551632]  ? do_syscall_64+0x68/0x90
  775. [   25.551634]  ? syscall_exit_to_user_mode+0x37/0x60
  776. [   25.551636]  ? do_syscall_64+0x68/0x90
  777. [   25.551637]  ? sysvec_xen_hvm_callback+0x4b/0xd0
  778. [   25.551640]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
  779. [   25.551642] RIP: 0033:0x7fa354f1b214
  780. [   25.551647] Code: c7 00 16 00 00 00 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 80 3d 35 b3 0e 00 00 74 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 48 83 ec 28 48 89 54 24 18 48
  781. [   25.551648] RSP: 002b:00007ffdd7b191d8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
  782. [   25.551651] RAX: ffffffffffffffda RBX: 0000000000000d24 RCX: 00007fa354f1b214
  783. [   25.551652] RDX: 0000000000000d24 RSI: 000055dcebbeed30 RDI: 0000000000000004
  784. [   25.551653] RBP: 000055dcebbf17a0 R08: 0000000000000000 R09: 0000000000000000
  785. [   25.551654] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
  786. [   25.551655] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000003
  787. [   25.551657]  </TASK>
  788. [   25.551658] ================================================================================

Reply to "UBSAN errors in noble xen VM"

Here you can reply to the paste above

captcha