openzfs / zfs

OpenZFS on Linux and FreeBSD
https://openzfs.github.io/openzfs-docs
Other
10.44k stars 1.73k forks source link

Various errors from UBSAN #16278

Closed SkewedZeppelin closed 1 month ago

SkewedZeppelin commented 3 months ago

System information

Type Version/Name
Distribution Name Fedora
Distribution Version 39
Kernel Version kernel-6.9.5-100.fc39.src.rpm
Architecture x86_64
OpenZFS Version zfs-2.2.4-1.fc39.src.rpm

Describe the problem you're observing

Various errors in dmesg

Describe how to reproduce the problem

Happens in normal operation

Include any warning/errors/backtraces from the system logs

[   56.976840] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:314:44
[   56.976844] index 1 is out of range for type 'mzap_ent_phys_t [1]'

[   56.978195] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:473:34
[   56.978198] index 2 is out of range for type 'mzap_ent_phys_t [1]'

[   56.979496] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:1715:28
[   56.979499] index 19 is out of range for type 'mzap_ent_phys_t [1]'

[   56.980986] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:339:46
[   56.980990] index 1 is out of range for type 'mzap_ent_phys_t [1]'

[   56.982311] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:1019:27
[   56.982314] index 1 is out of range for type 'mzap_ent_phys_t [1]'

[   58.738707] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:1415:22
[   58.738712] index 3 is out of range for type 'mzap_ent_phys_t [1]'

[   58.740441] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:1232:52
[   58.740444] index 2 is out of range for type 'mzap_ent_phys_t [1]'

[   58.742086] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:314:44
[   58.742090] index 27 is out of range for type 'mzap_ent_phys_t [1]'

[   58.783463] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:1504:4
[   58.783468] index 62 is out of range for type 'mzap_ent_phys_t [1]'

[   72.318409] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/sa.c:339:4
[   72.318414] index 1 is out of range for type 'uint16_t [1]'

[   72.324087] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/sa.c:1733:24
[   72.324091] index 1 is out of range for type 'uint16_t [1]'

[  237.852765] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/sa.c:765:21
[  237.852770] index 1 is out of range for type 'uint16_t [1]'

[20165.514350] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:679:40
[20165.514354] index 2 is out of range for type 'mzap_ent_phys_t [1]'
siebenmann commented 3 months ago

I am also seeing this on Fedora 40 with their 6.8.9-300.fc40.x86_64 kernel and the current ZFS git tip. The comments in the source code suggest that mzap_ent_phys_t is variable sized, so presumably this is actually a harmless UBSAN warning (for now).

thwalker3 commented 3 months ago

Looks to be the same issue as the last few times that false positives for variable length arrays have popped up. This time with sa_hdr_phys->sa_lengths and mzap_phys->mz_chunk. Simply changing '[1]' to '[]' in the headers clears up the ubsan warnings.

robn commented 3 months ago

FWIW, mechanically changing [1] to [] is not necessarily safe, as it changes the result of sizeof (...) on that type, so matching changes may need to be made elsewhere.

thwalker3 commented 3 months ago

@robn good point, I hadn't thought of that. In any case, the ubsan warnings are false positives and folks can wait on a proper fix. I just spun up a guess on a throwaway system to confirm. I didn't mean to suggest that anyone else should go do that with real data.

ossimoi commented 2 months ago

Just a quick note. Hardened kernels with CONFIG_UBSAN_TRAP=y will silence UBSAN errors and just throw Oops which do not indicate a problem with UBSAN making it harder to debug.

Also note that selecting Y will cause your kernel to Oops with an "illegal instruction" error with no further details when a UBSAN violation occurs. (Except on arm64, which will report which Sanitizer failed.) This may make it hard to determine whether an Oops was caused by UBSAN or to figure out the details of a UBSAN violation. It makes the kernel log output less useful for bug reports.

Trace will look something like this:

invalid opcode: 0000 [#2] PREEMPT SMP NOPTI
CPU: 8 PID: 975 Comm: zpool Tainted: P D O T
tonyhutter commented 2 months ago

If this UBSAN is a harmless false positive, we could consider something like this

luckylinux commented 2 months ago

Similar Story here on Fedora 40 AMD64 (inside KVM Virtual Machine, on top of Proxmox VE and ZFS over ZVOL for the Data Storage, NOT the Fedora "/" though).

Full dmesg

[    0.000000] Linux version 6.9.5-200.fc40.x86_64 (mockbuild@4309b9b4f8924c639a866b25d8b169fd) (gcc (GCC) 14.1.1 20240607 (Red Hat 14.1.1-5), GNU ld version 2.41-37.fc40) #1 SMP PREEMPT_DYNAMIC Sun Jun 16 15:47:09 UTC 2024
[    0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-6.9.5-200.fc40.x86_64 root=UUID=141e6012-6ecd-4475-a179-1633507ffce0 ro resume=UUID=de34c4c4-91ad-459b-9dd5-bcb5c1e1a066 rhgb quiet systemd.unified_cgroup_hierarchy=1
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bffd9fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000bffda000-0x00000000bfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000043fffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] APIC: Static calls initialized
[    0.000000] SMBIOS 3.0.0 present.
[    0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[    0.000000] Hypervisor detected: KVM
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000001] kvm-clock: using sched offset of 296030427580395 cycles
[    0.000002] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000005] tsc: Detected 3503.986 MHz processor
[    0.000955] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000958] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000963] last_pfn = 0x440000 max_arch_pfn = 0x400000000
[    0.001010] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs
[    0.001013] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.001069] last_pfn = 0xbffda max_arch_pfn = 0x400000000
[    0.008608] found SMP MP-table at [mem 0x000f5b70-0x000f5b7f]
[    0.008623] Using GB pages for direct mapping
[    0.008717] RAMDISK: [mem 0x354bd000-0x36a56fff]
[    0.008721] ACPI: Early table checksum verification disabled
[    0.008724] ACPI: RSDP 0x00000000000F5960 000014 (v00 BOCHS )
[    0.008729] ACPI: RSDT 0x00000000BFFE3313 00003C (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.008734] ACPI: FACP 0x00000000BFFE2F9D 000074 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.008740] ACPI: DSDT 0x00000000BFFDF040 003F5D (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.008744] ACPI: FACS 0x00000000BFFDF000 000040
[    0.008747] ACPI: APIC 0x00000000BFFE3011 0000B0 (v03 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.008750] ACPI: SSDT 0x00000000BFFE30C1 0000CA (v01 BOCHS  VMGENID  00000001 BXPC 00000001)
[    0.008753] ACPI: HPET 0x00000000BFFE318B 000038 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.008757] ACPI: SRAT 0x00000000BFFE31C3 000128 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.008760] ACPI: WAET 0x00000000BFFE32EB 000028 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.008763] ACPI: Reserving FACP table memory at [mem 0xbffe2f9d-0xbffe3010]
[    0.008764] ACPI: Reserving DSDT table memory at [mem 0xbffdf040-0xbffe2f9c]
[    0.008765] ACPI: Reserving FACS table memory at [mem 0xbffdf000-0xbffdf03f]
[    0.008765] ACPI: Reserving APIC table memory at [mem 0xbffe3011-0xbffe30c0]
[    0.008766] ACPI: Reserving SSDT table memory at [mem 0xbffe30c1-0xbffe318a]
[    0.008767] ACPI: Reserving HPET table memory at [mem 0xbffe318b-0xbffe31c2]
[    0.008767] ACPI: Reserving SRAT table memory at [mem 0xbffe31c3-0xbffe32ea]
[    0.008768] ACPI: Reserving WAET table memory at [mem 0xbffe32eb-0xbffe3312]
[    0.008848] SRAT: PXM 0 -> APIC 0x00 -> Node 0
[    0.008850] SRAT: PXM 0 -> APIC 0x01 -> Node 0
[    0.008851] SRAT: PXM 0 -> APIC 0x02 -> Node 0
[    0.008851] SRAT: PXM 0 -> APIC 0x03 -> Node 0
[    0.008852] SRAT: PXM 0 -> APIC 0x04 -> Node 0
[    0.008852] SRAT: PXM 0 -> APIC 0x05 -> Node 0
[    0.008853] SRAT: PXM 0 -> APIC 0x06 -> Node 0
[    0.008853] SRAT: PXM 0 -> APIC 0x07 -> Node 0
[    0.008856] ACPI: SRAT: Node 0 PXM 0 [mem 0x00000000-0x0009ffff]
[    0.008858] ACPI: SRAT: Node 0 PXM 0 [mem 0x00100000-0xbfffffff]
[    0.008859] ACPI: SRAT: Node 0 PXM 0 [mem 0x100000000-0x43fffffff]
[    0.008862] NUMA: Node 0 [mem 0x00000000-0x0009ffff] + [mem 0x00100000-0xbfffffff] -> [mem 0x00000000-0xbfffffff]
[    0.008863] NUMA: Node 0 [mem 0x00000000-0xbfffffff] + [mem 0x100000000-0x43fffffff] -> [mem 0x00000000-0x43fffffff]
[    0.008871] NODE_DATA(0) allocated [mem 0x43ffd5000-0x43fffffff]
[    0.009045] Zone ranges:
[    0.009046]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.009048]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.009049]   Normal   [mem 0x0000000100000000-0x000000043fffffff]
[    0.009050]   Device   empty
[    0.009051] Movable zone start for each node
[    0.009053] Early memory node ranges
[    0.009054]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.009055]   node   0: [mem 0x0000000000100000-0x00000000bffd9fff]
[    0.009056]   node   0: [mem 0x0000000100000000-0x000000043fffffff]
[    0.009058] Initmem setup node 0 [mem 0x0000000000001000-0x000000043fffffff]
[    0.009065] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.009089] On node 0, zone DMA: 97 pages in unavailable ranges
[    0.034898] On node 0, zone Normal: 38 pages in unavailable ranges
[    0.036384] ACPI: PM-Timer IO Port: 0x608
[    0.036401] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.036447] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.036451] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.036453] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.036454] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.036455] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.036456] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.036460] ACPI: Using ACPI (MADT) for SMP configuration information
[    0.036461] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.036465] TSC deadline timer available
[    0.036469] CPU topo: Max. logical packages:   1
[    0.036469] CPU topo: Max. logical dies:       1
[    0.036470] CPU topo: Max. dies per package:   1
[    0.036473] CPU topo: Max. threads per core:   1
[    0.036474] CPU topo: Num. cores per package:     8
[    0.036474] CPU topo: Num. threads per package:   8
[    0.036475] CPU topo: Allowing 8 present CPUs plus 0 hotplug CPUs
[    0.036492] kvm-guest: APIC: eoi() replaced with kvm_guest_apic_eoi_write()
[    0.036504] kvm-guest: KVM setup pv remote TLB flush
[    0.036509] kvm-guest: setup PV sched yield
[    0.036514] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.036515] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.036516] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.036517] PM: hibernation: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.036518] PM: hibernation: Registered nosave memory: [mem 0xbffda000-0xbfffffff]
[    0.036518] PM: hibernation: Registered nosave memory: [mem 0xc0000000-0xfeffbfff]
[    0.036519] PM: hibernation: Registered nosave memory: [mem 0xfeffc000-0xfeffffff]
[    0.036520] PM: hibernation: Registered nosave memory: [mem 0xff000000-0xfffbffff]
[    0.036520] PM: hibernation: Registered nosave memory: [mem 0xfffc0000-0xffffffff]
[    0.036522] [mem 0xc0000000-0xfeffbfff] available for PCI devices
[    0.036523] Booting paravirtualized kernel on KVM
[    0.036524] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.042009] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:8 nr_cpu_ids:8 nr_node_ids:1
[    0.042427] percpu: Embedded 87 pages/cpu s233472 r8192 d114688 u524288
[    0.042431] pcpu-alloc: s233472 r8192 d114688 u524288 alloc=1*2097152
[    0.042433] pcpu-alloc: [0] 0 1 2 3 [0] 4 5 6 7 
[    0.042472] kvm-guest: PV spinlocks enabled
[    0.042475] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.042478] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-6.9.5-200.fc40.x86_64 root=UUID=141e6012-6ecd-4475-a179-1633507ffce0 ro resume=UUID=de34c4c4-91ad-459b-9dd5-bcb5c1e1a066 rhgb quiet systemd.unified_cgroup_hierarchy=1
[    0.042601] Unknown kernel command line parameters "rhgb BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-6.9.5-200.fc40.x86_64", will be passed to user space.
[    0.042619] random: crng init done
[    0.043949] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[    0.044622] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.044793] Fallback order for Node 0: 0 
[    0.044799] Built 1 zonelists, mobility grouping on.  Total pages: 4128474
[    0.044801] Policy zone: Normal
[    0.045004] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[    0.045008] software IO TLB: area num 8.
[    0.086131] Memory: 16337784K/16776672K available (20480K kernel code, 4290K rwdata, 15096K rodata, 4704K init, 5356K bss, 438628K reserved, 0K cma-reserved)
[    0.086925] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.086948] Kernel/User page tables isolation: enabled
[    0.086978] ftrace: allocating 55369 entries in 217 pages
[    0.094849] ftrace: allocated 217 pages with 5 groups
[    0.095699] Dynamic Preempt: voluntary
[    0.095764] rcu: Preemptible hierarchical RCU implementation.
[    0.095765] rcu:     RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=8.
[    0.095766]  Trampoline variant of Tasks RCU enabled.
[    0.095767]  Rude variant of Tasks RCU enabled.
[    0.095767]  Tracing variant of Tasks RCU enabled.
[    0.095767] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.095768] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[    0.095774] RCU Tasks: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
[    0.095775] RCU Tasks Rude: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
[    0.095777] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
[    0.099636] NR_IRQS: 524544, nr_irqs: 488, preallocated irqs: 16
[    0.099878] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.100088] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)
[    0.117140] Console: colour VGA+ 80x25
[    0.117145] printk: legacy console [tty0] enabled
[    0.117182] ACPI: Core revision 20230628
[    0.117344] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[    0.117492] APIC: Switch to symmetric I/O mode setup
[    0.117798] x2apic enabled
[    0.118146] APIC: Switched APIC routing to: physical x2apic
[    0.118150] kvm-guest: APIC: send_IPI_mask() replaced with kvm_send_ipi_mask()
[    0.118154] kvm-guest: APIC: send_IPI_mask_allbutself() replaced with kvm_send_ipi_mask_allbutself()
[    0.118156] kvm-guest: setup PV IPIs
[    0.119557] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.119600] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x32820676e60, max_idle_ns: 440795215172 ns
[    0.119606] Calibrating delay loop (skipped) preset value.. 7007.97 BogoMIPS (lpj=3503986)
[    0.119754] x86/cpu: User Mode Instruction Prevention (UMIP) activated
[    0.119846] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.119847] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.119854] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.119856] Spectre V2 : Spectre BHI mitigation: SW BHB clearing on vm exit
[    0.119857] Spectre V2 : Spectre BHI mitigation: SW BHB clearing on syscall
[    0.119858] Spectre V2 : Mitigation: IBRS
[    0.119859] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.119860] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[    0.119861] RETBleed: Mitigation: IBRS
[    0.119862] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.119864] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl
[    0.119869] MDS: Mitigation: Clear CPU buffers
[    0.119870] MMIO Stale Data: Mitigation: Clear CPU buffers
[    0.119871] SRBDS: Unknown: Dependent on hypervisor status
[    0.119872] GDS: Unknown: Dependent on hypervisor status
[    0.119895] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.119896] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.119897] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.119898] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[    0.119899] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[    0.119900] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.119902] x86/fpu: xstate_offset[3]:  832, xstate_sizes[3]:   64
[    0.119903] x86/fpu: xstate_offset[4]:  896, xstate_sizes[4]:   64
[    0.119904] x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using 'compacted' format.
[    0.147097] Freeing SMP alternatives memory: 48K
[    0.147101] pid_max: default: 32768 minimum: 301
[    0.147141] LSM: initializing lsm=lockdown,capability,yama,selinux,bpf,landlock,ima,evm
[    0.147160] Yama: becoming mindful.
[    0.147164] SELinux:  Initializing.
[    0.147196] LSM support for eBPF active
[    0.147198] landlock: Up and running.
[    0.147231] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.147251] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.147598] smpboot: CPU0: Intel(R) Xeon(R) CPU E3-1240 v5 @ 3.50GHz (family: 0x6, model: 0x5e, stepping: 0x3)
[    0.147603] Performance Events: Skylake events, full-width counters, Intel PMU driver.
[    0.147603] ... version:                2
[    0.147603] ... bit width:              48
[    0.147603] ... generic registers:      4
[    0.147603] ... value mask:             0000ffffffffffff
[    0.147603] ... max period:             00007fffffffffff
[    0.147603] ... fixed-purpose events:   3
[    0.147603] ... event mask:             000000070000000f
[    0.147603] signal: max sigframe size: 2032
[    0.147603] rcu: Hierarchical SRCU implementation.
[    0.147603] rcu:     Max phase no-delay instances is 400.
[    0.147603] smp: Bringing up secondary CPUs ...
[    0.147603] smpboot: x86: Booting SMP configuration:
[    0.147603] .... node  #0, CPUs:      #1 #2 #3 #4 #5 #6 #7
[    0.151764] smp: Brought up 1 node, 8 CPUs
[    0.151767] smpboot: Total of 8 processors activated (56063.77 BogoMIPS)
[    0.153133] devtmpfs: initialized
[    0.153133] x86/mm: Memory block size: 128MB
[    0.154733] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.154733] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.154752] pinctrl core: initialized pinctrl subsystem
[    0.154868] PM: RTC time: 04:11:43, date: 2024-07-07
[    0.155922] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.156170] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.156296] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.156458] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.156625] audit: initializing netlink subsys (disabled)
[    0.156936] audit: type=2000 audit(1720325347.348:1): state=initialized audit_enabled=0 res=1
[    0.156936] thermal_sys: Registered thermal governor 'fair_share'
[    0.156936] thermal_sys: Registered thermal governor 'bang_bang'
[    0.156936] thermal_sys: Registered thermal governor 'step_wise'
[    0.156936] thermal_sys: Registered thermal governor 'user_space'
[    0.156936] cpuidle: using governor menu
[    0.157124] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.157653] PCI: Using configuration type 1 for base access
[    0.157897] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.160689] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.160692] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page
[    0.160694] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.160695] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[    0.161081] Demotion targets for Node 0: null
[    0.161614] cryptd: max_cpu_qlen set to 1000
[    0.161674] raid6: skipped pq benchmark and selected avx2x4
[    0.161677] raid6: using avx2x2 recovery algorithm
[    0.161753] ACPI: Added _OSI(Module Device)
[    0.161755] ACPI: Added _OSI(Processor Device)
[    0.161756] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.161758] ACPI: Added _OSI(Processor Aggregator Device)
[    0.164055] ACPI: 2 ACPI AML tables successfully acquired and loaded
[    0.184364] ACPI: _OSC evaluation for CPUs failed, trying _PDC
[    0.184654] ACPI: Interpreter enabled
[    0.184672] ACPI: PM: (supports S0 S3 S4 S5)
[    0.184674] ACPI: Using IOAPIC for interrupt routing
[    0.184929] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.184930] PCI: Using E820 reservations for host bridge windows
[    0.185108] ACPI: Enabled 3 GPEs in block 00 to 0F
[    0.190308] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.190315] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI EDR HPX-Type3]
[    0.190317] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]
[    0.190326] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended configuration space under this bridge
[    0.190759] acpiphp: Slot [3] registered
[    0.190787] acpiphp: Slot [18] registered
[    0.190825] acpiphp: Slot [4] registered
[    0.190840] acpiphp: Slot [6] registered
[    0.190855] acpiphp: Slot [7] registered
[    0.190869] acpiphp: Slot [8] registered
[    0.190884] acpiphp: Slot [9] registered
[    0.190898] acpiphp: Slot [10] registered
[    0.190913] acpiphp: Slot [11] registered
[    0.190927] acpiphp: Slot [12] registered
[    0.190942] acpiphp: Slot [13] registered
[    0.190957] acpiphp: Slot [14] registered
[    0.190972] acpiphp: Slot [15] registered
[    0.190986] acpiphp: Slot [16] registered
[    0.191015] acpiphp: Slot [17] registered
[    0.191043] acpiphp: Slot [19] registered
[    0.191058] acpiphp: Slot [20] registered
[    0.191073] acpiphp: Slot [21] registered
[    0.191088] acpiphp: Slot [22] registered
[    0.191103] acpiphp: Slot [23] registered
[    0.191137] acpiphp: Slot [24] registered
[    0.191165] acpiphp: Slot [25] registered
[    0.191180] acpiphp: Slot [26] registered
[    0.191194] acpiphp: Slot [27] registered
[    0.191209] acpiphp: Slot [28] registered
[    0.191223] acpiphp: Slot [29] registered
[    0.191252] PCI host bridge to bus 0000:00
[    0.191253] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.191255] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.191257] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.191258] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]
[    0.191259] pci_bus 0000:00: root bus resource [mem 0x440000000-0x4bfffffff window]
[    0.191261] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.191323] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000 conventional PCI endpoint
[    0.191894] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100 conventional PCI endpoint
[    0.192854] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180 conventional PCI endpoint
[    0.195985] pci 0000:00:01.1: BAR 4 [io  0xf080-0xf08f]
[    0.197538] pci 0000:00:01.1: BAR 0 [io  0x01f0-0x01f7]: legacy IDE quirk
[    0.197542] pci 0000:00:01.1: BAR 1 [io  0x03f6]: legacy IDE quirk
[    0.197544] pci 0000:00:01.1: BAR 2 [io  0x0170-0x0177]: legacy IDE quirk
[    0.197546] pci 0000:00:01.1: BAR 3 [io  0x0376]: legacy IDE quirk
[    0.197836] pci 0000:00:01.2: [8086:7020] type 00 class 0x0c0300 conventional PCI endpoint
[    0.202381] pci 0000:00:01.2: BAR 4 [io  0xf040-0xf05f]
[    0.205464] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000 conventional PCI endpoint
[    0.206017] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
[    0.206028] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
[    0.206302] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000 conventional PCI endpoint
[    0.208339] pci 0000:00:02.0: BAR 0 [mem 0xfc000000-0xfcffffff pref]
[    0.211568] pci 0000:00:02.0: BAR 2 [mem 0xfea50000-0xfea50fff]
[    0.219286] pci 0000:00:02.0: ROM [mem 0xfea40000-0xfea4ffff pref]
[    0.219572] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.220206] pci 0000:00:03.0: [1af4:1002] type 00 class 0x00ff00 conventional PCI endpoint
[    0.220984] pci 0000:00:03.0: BAR 0 [io  0xf000-0xf03f]
[    0.225608] pci 0000:00:03.0: BAR 4 [mem 0xfd600000-0xfd603fff 64bit pref]
[    0.227480] pci 0000:00:05.0: [1b36:0001] type 01 class 0x060400 conventional PCI bridge
[    0.228608] pci 0000:00:05.0: BAR 0 [mem 0xfea51000-0xfea510ff 64bit]
[    0.230619] pci 0000:00:05.0: PCI bridge to [bus 01]
[    0.230654] pci 0000:00:05.0:   bridge window [io  0xe000-0xefff]
[    0.230674] pci 0000:00:05.0:   bridge window [mem 0xfe800000-0xfe9fffff]
[    0.231398] pci 0000:00:05.0:   bridge window [mem 0xfd400000-0xfd5fffff 64bit pref]
[    0.231603] pci 0000:00:12.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint
[    0.231603] pci 0000:00:12.0: BAR 0 [io  0xf060-0xf07f]
[    0.234607] pci 0000:00:12.0: BAR 1 [mem 0xfea52000-0xfea52fff]
[    0.237608] pci 0000:00:12.0: BAR 4 [mem 0xfd604000-0xfd607fff 64bit pref]
[    0.238380] pci 0000:00:12.0: ROM [mem 0xfea00000-0xfea3ffff pref]
[    0.239657] pci 0000:00:1e.0: [1b36:0001] type 01 class 0x060400 conventional PCI bridge
[    0.240607] pci 0000:00:1e.0: BAR 0 [mem 0xfea53000-0xfea530ff 64bit]
[    0.241330] pci 0000:00:1e.0: PCI bridge to [bus 02]
[    0.241358] pci 0000:00:1e.0:   bridge window [io  0xd000-0xdfff]
[    0.241376] pci 0000:00:1e.0:   bridge window [mem 0xfe600000-0xfe7fffff]
[    0.241641] pci 0000:00:1e.0:   bridge window [mem 0xfd200000-0xfd3fffff 64bit pref]
[    0.242402] pci 0000:00:1f.0: [1b36:0001] type 01 class 0x060400 conventional PCI bridge
[    0.245309] pci 0000:00:1f.0: BAR 0 [mem 0xfea54000-0xfea540ff 64bit]
[    0.246448] pci 0000:00:1f.0: PCI bridge to [bus 03]
[    0.247607] pci 0000:00:1f.0:   bridge window [io  0xc000-0xcfff]
[    0.248156] pci 0000:00:1f.0:   bridge window [mem 0xfe400000-0xfe5fffff]
[    0.248581] pci 0000:00:1f.0:   bridge window [mem 0xfd000000-0xfd1fffff 64bit pref]
[    0.249536] pci_bus 0000:01: extended config space not accessible
[    0.249761] acpiphp: Slot [1-2] registered
[    0.249782] acpiphp: Slot [2] registered
[    0.249798] acpiphp: Slot [0] registered
[    0.249815] acpiphp: Slot [3-2] registered
[    0.249832] acpiphp: Slot [4-2] registered
[    0.249846] acpiphp: Slot [5] registered
[    0.249863] acpiphp: Slot [6-2] registered
[    0.249880] acpiphp: Slot [7-2] registered
[    0.249897] acpiphp: Slot [8-2] registered
[    0.249914] acpiphp: Slot [9-2] registered
[    0.249932] acpiphp: Slot [10-2] registered
[    0.249949] acpiphp: Slot [11-2] registered
[    0.249966] acpiphp: Slot [12-2] registered
[    0.249983] acpiphp: Slot [13-2] registered
[    0.250000] acpiphp: Slot [14-2] registered
[    0.250017] acpiphp: Slot [15-2] registered
[    0.250041] acpiphp: Slot [16-2] registered
[    0.250079] acpiphp: Slot [17-2] registered
[    0.250110] acpiphp: Slot [18-2] registered
[    0.250128] acpiphp: Slot [19-2] registered
[    0.250146] acpiphp: Slot [20-2] registered
[    0.250164] acpiphp: Slot [21-2] registered
[    0.250181] acpiphp: Slot [22-2] registered
[    0.250199] acpiphp: Slot [23-2] registered
[    0.250217] acpiphp: Slot [24-2] registered
[    0.250235] acpiphp: Slot [25-2] registered
[    0.250253] acpiphp: Slot [26-2] registered
[    0.250274] acpiphp: Slot [27-2] registered
[    0.250305] acpiphp: Slot [28-2] registered
[    0.250322] acpiphp: Slot [29-2] registered
[    0.250344] acpiphp: Slot [30] registered
[    0.250362] acpiphp: Slot [31] registered
[    0.250483] pci 0000:01:01.0: [1af4:1004] type 00 class 0x010000 conventional PCI endpoint
[    0.252246] pci 0000:01:01.0: BAR 0 [io  0xe000-0xe03f]
[    0.253384] pci 0000:01:01.0: BAR 1 [mem 0xfe800000-0xfe800fff]
[    0.257421] pci 0000:01:01.0: BAR 4 [mem 0xfd400000-0xfd403fff 64bit pref]
[    0.260603] pci 0000:01:02.0: [1af4:1004] type 00 class 0x010000 conventional PCI endpoint
[    0.261607] pci 0000:01:02.0: BAR 0 [io  0xe040-0xe07f]
[    0.262430] pci 0000:01:02.0: BAR 1 [mem 0xfe801000-0xfe801fff]
[    0.265319] pci 0000:01:02.0: BAR 4 [mem 0xfd404000-0xfd407fff 64bit pref]
[    0.267203] pci 0000:00:05.0: PCI bridge to [bus 01]
[    0.267770] pci_bus 0000:02: extended config space not accessible
[    0.267964] acpiphp: Slot [0-2] registered
[    0.267986] acpiphp: Slot [1-3] registered
[    0.268004] acpiphp: Slot [2-2] registered
[    0.268021] acpiphp: Slot [3-3] registered
[    0.268039] acpiphp: Slot [4-3] registered
[    0.268057] acpiphp: Slot [5-2] registered
[    0.268075] acpiphp: Slot [6-3] registered
[    0.268093] acpiphp: Slot [7-3] registered
[    0.268110] acpiphp: Slot [8-3] registered
[    0.268128] acpiphp: Slot [9-3] registered
[    0.268146] acpiphp: Slot [10-3] registered
[    0.268164] acpiphp: Slot [11-3] registered
[    0.268182] acpiphp: Slot [12-3] registered
[    0.268200] acpiphp: Slot [13-3] registered
[    0.268218] acpiphp: Slot [14-3] registered
[    0.268235] acpiphp: Slot [15-3] registered
[    0.268253] acpiphp: Slot [16-3] registered
[    0.268271] acpiphp: Slot [17-3] registered
[    0.268289] acpiphp: Slot [18-3] registered
[    0.268307] acpiphp: Slot [19-3] registered
[    0.268368] acpiphp: Slot [20-3] registered
[    0.268400] acpiphp: Slot [21-3] registered
[    0.268418] acpiphp: Slot [22-3] registered
[    0.268449] acpiphp: Slot [23-3] registered
[    0.268467] acpiphp: Slot [24-3] registered
[    0.268485] acpiphp: Slot [25-3] registered
[    0.268503] acpiphp: Slot [26-3] registered
[    0.268521] acpiphp: Slot [27-3] registered
[    0.268539] acpiphp: Slot [28-3] registered
[    0.268556] acpiphp: Slot [29-3] registered
[    0.268574] acpiphp: Slot [30-2] registered
[    0.268592] acpiphp: Slot [31-2] registered
[    0.268865] pci 0000:00:1e.0: PCI bridge to [bus 02]
[    0.271680] pci_bus 0000:03: extended config space not accessible
[    0.271879] acpiphp: Slot [0-3] registered
[    0.271900] acpiphp: Slot [1-4] registered
[    0.271927] acpiphp: Slot [2-3] registered
[    0.271960] acpiphp: Slot [3-4] registered
[    0.271988] acpiphp: Slot [4-4] registered
[    0.272020] acpiphp: Slot [5-3] registered
[    0.272047] acpiphp: Slot [6-4] registered
[    0.272067] acpiphp: Slot [7-4] registered
[    0.272086] acpiphp: Slot [8-4] registered
[    0.272105] acpiphp: Slot [9-4] registered
[    0.272124] acpiphp: Slot [10-4] registered
[    0.272144] acpiphp: Slot [11-4] registered
[    0.272176] acpiphp: Slot [12-4] registered
[    0.272195] acpiphp: Slot [13-4] registered
[    0.272214] acpiphp: Slot [14-4] registered
[    0.272232] acpiphp: Slot [15-4] registered
[    0.272265] acpiphp: Slot [16-4] registered
[    0.272285] acpiphp: Slot [17-4] registered
[    0.272304] acpiphp: Slot [18-4] registered
[    0.272324] acpiphp: Slot [19-4] registered
[    0.272343] acpiphp: Slot [20-4] registered
[    0.272369] acpiphp: Slot [21-4] registered
[    0.272417] acpiphp: Slot [22-4] registered
[    0.272437] acpiphp: Slot [23-4] registered
[    0.272456] acpiphp: Slot [24-4] registered
[    0.272488] acpiphp: Slot [25-4] registered
[    0.272508] acpiphp: Slot [26-4] registered
[    0.272527] acpiphp: Slot [27-4] registered
[    0.272546] acpiphp: Slot [28-4] registered
[    0.272565] acpiphp: Slot [29-4] registered
[    0.272583] acpiphp: Slot [30-3] registered
[    0.272607] acpiphp: Slot [31-3] registered
[    0.272874] pci 0000:00:1f.0: PCI bridge to [bus 03]
[    0.274707] ACPI: PCI: Interrupt link LNKA configured for IRQ 10
[    0.274899] ACPI: PCI: Interrupt link LNKB configured for IRQ 10
[    0.275028] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[    0.275141] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[    0.275233] ACPI: PCI: Interrupt link LNKS configured for IRQ 9
[    0.276631] iommu: Default domain type: Translated
[    0.276636] iommu: DMA domain TLB invalidation policy: lazy mode
[    0.276857] SCSI subsystem initialized
[    0.276869] libata version 3.00 loaded.
[    0.276869] ACPI: bus type USB registered
[    0.276869] usbcore: registered new interface driver usbfs
[    0.276869] usbcore: registered new interface driver hub
[    0.276869] usbcore: registered new device driver usb
[    0.276869] pps_core: LinuxPPS API ver. 1 registered
[    0.276869] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.276869] PTP clock support registered
[    0.277632] EDAC MC: Ver: 3.0.0
[    0.278682] NetLabel: Initializing
[    0.278685] NetLabel:  domain hash size = 128
[    0.278688] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.278727] NetLabel:  unlabeled traffic allowed by default
[    0.278734] mctp: management component transport protocol core
[    0.278742] NET: Registered PF_MCTP protocol family
[    0.278765] PCI: Using ACPI for IRQ routing
[    0.278768] PCI: pci_cache_line_size set to 64 bytes
[    0.279028] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[    0.279034] e820: reserve RAM buffer [mem 0xbffda000-0xbfffffff]
[    0.279073] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.279073] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.279073] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.279073] vgaarb: loaded
[    0.279607] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.279617] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[    0.285818] clocksource: Switched to clocksource kvm-clock
[    0.287143] VFS: Disk quotas dquot_6.6.0
[    0.287168] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.287269] pnp: PnP ACPI init
[    0.287392] pnp 00:02: [dma 2]
[    0.287628] pnp: PnP ACPI: found 4 devices
[    0.295613] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.295752] NET: Registered PF_INET protocol family
[    0.295975] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.313664] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.313691] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.313765] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.314006] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    0.314193] TCP: Hash tables configured (established 131072 bind 65536)
[    0.314335] MPTCP token hash table entries: 16384 (order: 6, 393216 bytes, linear)
[    0.314433] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.314466] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.314602] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.314631] NET: Registered PF_XDP protocol family
[    0.314654] pci 0000:00:05.0: PCI bridge to [bus 01]
[    0.314683] pci 0000:00:05.0:   bridge window [io  0xe000-0xefff]
[    0.315882] pci 0000:00:05.0:   bridge window [mem 0xfe800000-0xfe9fffff]
[    0.316539] pci 0000:00:05.0:   bridge window [mem 0xfd400000-0xfd5fffff 64bit pref]
[    0.317877] pci 0000:00:1e.0: PCI bridge to [bus 02]
[    0.317890] pci 0000:00:1e.0:   bridge window [io  0xd000-0xdfff]
[    0.318976] pci 0000:00:1e.0:   bridge window [mem 0xfe600000-0xfe7fffff]
[    0.319653] pci 0000:00:1e.0:   bridge window [mem 0xfd200000-0xfd3fffff 64bit pref]
[    0.320973] pci 0000:00:1f.0: PCI bridge to [bus 03]
[    0.320986] pci 0000:00:1f.0:   bridge window [io  0xc000-0xcfff]
[    0.322078] pci 0000:00:1f.0:   bridge window [mem 0xfe400000-0xfe5fffff]
[    0.322398] pci 0000:00:1f.0:   bridge window [mem 0xfd000000-0xfd1fffff 64bit pref]
[    0.323178] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.323181] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.323182] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.323184] pci_bus 0000:00: resource 7 [mem 0xc0000000-0xfebfffff window]
[    0.323185] pci_bus 0000:00: resource 8 [mem 0x440000000-0x4bfffffff window]
[    0.323187] pci_bus 0000:01: resource 0 [io  0xe000-0xefff]
[    0.323188] pci_bus 0000:01: resource 1 [mem 0xfe800000-0xfe9fffff]
[    0.323189] pci_bus 0000:01: resource 2 [mem 0xfd400000-0xfd5fffff 64bit pref]
[    0.323191] pci_bus 0000:02: resource 0 [io  0xd000-0xdfff]
[    0.323192] pci_bus 0000:02: resource 1 [mem 0xfe600000-0xfe7fffff]
[    0.323193] pci_bus 0000:02: resource 2 [mem 0xfd200000-0xfd3fffff 64bit pref]
[    0.323195] pci_bus 0000:03: resource 0 [io  0xc000-0xcfff]
[    0.323196] pci_bus 0000:03: resource 1 [mem 0xfe400000-0xfe5fffff]
[    0.323210] pci_bus 0000:03: resource 2 [mem 0xfd000000-0xfd1fffff 64bit pref]
[    0.323298] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.323318] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.339776] ACPI: \_SB_.LNKD: Enabled at IRQ 11
[    0.355526] pci 0000:00:01.2: quirk_usb_early_handoff+0x0/0x770 took 31420 usecs
[    0.355689] PCI: CLS 0 bytes, default 64
[    0.355713] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.355726] software IO TLB: mapped [mem 0x00000000bbfda000-0x00000000bffda000] (64MB)
[    0.355853] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x32820676e60, max_idle_ns: 440795215172 ns
[    0.355853] Trying to unpack rootfs image as initramfs...
[    0.355887] sgx: There are zero EPC sections.
[    0.362962] Initialise system trusted keyrings
[    0.362992] Key type blacklist registered
[    0.363093] workingset: timestamp_bits=36 max_order=22 bucket_order=0
[    0.363120] zbud: loaded
[    0.363974] integrity: Platform Keyring initialized
[    0.363980] integrity: Machine keyring initialized
[    0.375382] NET: Registered PF_ALG protocol family
[    0.375387] xor: automatically using best checksumming function   avx       
[    0.375391] Key type asymmetric registered
[    0.375394] Asymmetric key parser 'x509' registered
[    0.620827] Freeing initrd memory: 22120K
[    0.626659] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.626870] io scheduler mq-deadline registered
[    0.626874] io scheduler kyber registered
[    0.626889] io scheduler bfq registered
[    0.629567] atomic64_test: passed for x86-64 platform with CX8 and with SSE
[    0.630068] shpchp 0000:00:05.0: Requesting control of SHPC hotplug via OSHP (\_SB_.PCI0.S28_)
[    0.630077] shpchp 0000:00:05.0: Requesting control of SHPC hotplug via OSHP (\_SB_.PCI0)
[    0.630082] shpchp 0000:00:05.0: Cannot get control of SHPC hotplug
[    0.630186] shpchp 0000:00:1e.0: Requesting control of SHPC hotplug via OSHP (\_SB_.PCI0.SF0_)
[    0.630191] shpchp 0000:00:1e.0: Requesting control of SHPC hotplug via OSHP (\_SB_.PCI0)
[    0.630193] shpchp 0000:00:1e.0: Cannot get control of SHPC hotplug
[    0.630254] shpchp 0000:00:1f.0: Requesting control of SHPC hotplug via OSHP (\_SB_.PCI0.SF8_)
[    0.630271] shpchp 0000:00:1f.0: Requesting control of SHPC hotplug via OSHP (\_SB_.PCI0)
[    0.630272] shpchp 0000:00:1f.0: Cannot get control of SHPC hotplug
[    0.630278] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    0.630455] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    0.630674] ACPI: button: Power Button [PWRF]
[    0.649102] ACPI: \_SB_.LNKC: Enabled at IRQ 10
[    0.666686] ACPI: \_SB_.LNKB: Enabled at IRQ 10
[    0.685706] ACPI: \_SB_.LNKA: Enabled at IRQ 11
[    0.723020] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.725935] Non-volatile memory driver v1.3
[    0.725941] Linux agpgart interface v0.103
[    0.726056] ACPI: bus type drm_connector registered
[    0.727189] ata_piix 0000:00:01.1: version 2.13
[    0.728088] scsi host0: ata_piix
[    0.728373] scsi host1: ata_piix
[    0.728402] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xf080 irq 14 lpm-pol 0
[    0.728403] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xf088 irq 15 lpm-pol 0
[    0.745679] uhci_hcd 0000:00:01.2: UHCI Host Controller
[    0.745822] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
[    0.745895] uhci_hcd 0000:00:01.2: detected 2 ports
[    0.746004] uhci_hcd 0000:00:01.2: irq 11, io port 0x0000f040
[    0.746338] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.09
[    0.746343] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.746345] usb usb1: Product: UHCI Host Controller
[    0.746346] usb usb1: Manufacturer: Linux 6.9.5-200.fc40.x86_64 uhci_hcd
[    0.746349] usb usb1: SerialNumber: 0000:00:01.2
[    0.746672] hub 1-0:1.0: USB hub found
[    0.746702] hub 1-0:1.0: 2 ports detected
[    0.747041] usbcore: registered new interface driver usbserial_generic
[    0.747061] usbserial: USB Serial support registered for generic
[    0.747120] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    0.748022] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.748030] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.748149] mousedev: PS/2 mouse device common for all mice
[    0.748309] rtc_cmos 00:03: RTC can wake from S4
[    0.748855] rtc_cmos 00:03: registered as rtc0
[    0.749035] rtc_cmos 00:03: setting system clock to 2024-07-07T04:11:44 UTC (1720325504)
[    0.749117] rtc_cmos 00:03: alarms up to one day, y3k, 242 bytes nvram, hpet irqs
[    0.749134] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
[    0.749146] device-mapper: uevent: version 1.0.3
[    0.749286] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@lists.linux.dev
[    0.749527] intel_pstate: CPU model not supported
[    0.749621] hid: raw HID events driver (C) Jiri Kosina
[    0.749657] usbcore: registered new interface driver usbhid
[    0.749658] usbhid: USB HID core driver
[    0.749825] drop_monitor: Initializing network drop monitor service
[    0.749954] Initializing XFRM netlink socket
[    0.749980] NET: Registered PF_INET6 protocol family
[    0.750373] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[    0.751943] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input4
[    0.752413] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input3
[    0.755191] Segment Routing with IPv6
[    0.755194] RPL Segment Routing with IPv6
[    0.755213] In-situ OAM (IOAM) with IPv6
[    0.755243] mip6: Mobile IPv6
[    0.755253] NET: Registered PF_PACKET protocol family
[    0.756551] IPI shorthand broadcast: enabled
[    0.756562] AVX2 version of gcm_enc/dec engaged.
[    0.756839] AES CTR mode by8 optimization enabled
[    0.758659] sched_clock: Marking stable (739003379, 18718650)->(765348738, -7626709)
[    0.758847] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.759429] registered taskstats version 1
[    0.760182] Loading compiled-in X.509 certificates
[    0.768239] Loaded X.509 cert 'Fedora kernel signing key: 0db473a673b52a1636ff60221eccda988cfd28a0'
[    0.772515] page_owner is disabled
[    0.772667] Key type .fscrypt registered
[    0.772669] Key type fscrypt-provisioning registered
[    0.773494] Btrfs loaded, zoned=yes, fsverity=yes
[    0.773519] Key type big_key registered
[    0.800038] Key type encrypted registered
[    0.800059] ima: No TPM chip found, activating TPM-bypass!
[    0.800066] Loading compiled-in module X.509 certificates
[    0.800477] Loaded X.509 cert 'Fedora kernel signing key: 0db473a673b52a1636ff60221eccda988cfd28a0'
[    0.800480] ima: Allocated hash algorithm: sha256
[    0.800506] ima: No architecture policies found
[    0.800517] evm: Initialising EVM extended attributes:
[    0.800522] evm: security.selinux
[    0.800523] evm: security.SMACK64 (disabled)
[    0.800524] evm: security.SMACK64EXEC (disabled)
[    0.800524] evm: security.SMACK64TRANSMUTE (disabled)
[    0.800525] evm: security.SMACK64MMAP (disabled)
[    0.800526] evm: security.apparmor (disabled)
[    0.800526] evm: security.ima
[    0.800527] evm: security.capability
[    0.800528] evm: HMAC attrs: 0x1
[    0.862006] alg: No test for 842 (842-scomp)
[    0.862099] alg: No test for 842 (842-generic)
[    0.886271] ata2: found unknown device (class 0)
[    0.887060] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[    0.888627] scsi 1:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     2.5+ PQ: 0 ANSI: 5
[    0.918874] sr 1:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[    0.918900] cdrom: Uniform CD-ROM driver Revision: 3.20
[    0.932722] sr 1:0:0:0: Attached scsi CD-ROM sr0
[    0.932988] sr 1:0:0:0: Attached scsi generic sg0 type 5
[    0.970873] usb 1-1: new full-speed USB device number 2 using uhci_hcd
[    0.978179] PM:   Magic number: 0:569:160
[    0.978245] vc vcs1: hash matches
[    0.978273] acpi device:27: hash matches
[    0.984415] RAS: Correctable Errors collector initialized.
[    1.000677] clk: Disabling unused clocks
[    1.000700] PM: genpd: Disabling unused power domains
[    1.003248] Freeing unused decrypted memory: 2028K
[    1.006018] Freeing unused kernel image (initmem) memory: 4704K
[    1.006149] Write protecting the kernel read-only data: 36864k
[    1.007476] Freeing unused kernel image (rodata/data gap) memory: 1288K
[    1.053084] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    1.053092] x86/mm: Checking user space page tables
[    1.098266] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    1.098277] Run /init as init process
[    1.098283]   with arguments:
[    1.098284]     /init
[    1.098285]     rhgb
[    1.098286]   with environment:
[    1.098287]     HOME=/
[    1.098288]     TERM=linux
[    1.098288]     BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-6.9.5-200.fc40.x86_64
[    1.119396] systemd[1]: systemd 255.7-1.fc40 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)
[    1.119404] systemd[1]: Detected virtualization kvm.
[    1.119415] systemd[1]: Detected architecture x86-64.
[    1.119417] systemd[1]: Running in initrd.
[    1.119645] systemd[1]: Hostname set to <HOST.MYDOMAIN.TLD>.
[    1.138291] usb 1-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00
[    1.138298] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=10
[    1.138301] usb 1-1: Product: QEMU USB Tablet
[    1.138303] usb 1-1: Manufacturer: QEMU
[    1.138305] usb 1-1: SerialNumber: 28754-0000:00:01.2-1
[    1.149942] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input5
[    1.150388] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:01.2-1/input0
[    1.201464] systemd[1]: Queued start job for default target initrd.target.
[    1.220656] systemd[1]: Expecting device dev-disk-by\x2duuid-141e6012\x2d6ecd\x2d4475\x2da179\x2d1633507ffce0.device - /dev/disk/by-uuid/141e6012-6ecd-4475-a179-1633507ffce0...
[    1.220711] systemd[1]: Expecting device dev-disk-by\x2duuid-de34c4c4\x2d91ad\x2d459b\x2d9dd5\x2dbcb5c1e1a066.device - /dev/disk/by-uuid/de34c4c4-91ad-459b-9dd5-bcb5c1e1a066...
[    1.220772] systemd[1]: Reached target initrd-usr-fs.target - Initrd /usr File System.
[    1.220796] systemd[1]: Reached target slices.target - Slice Units.
[    1.220841] systemd[1]: Reached target swap.target - Swaps.
[    1.220864] systemd[1]: Reached target timers.target - Timer Units.
[    1.221049] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[    1.221193] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[    1.221335] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[    1.221441] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[    1.221455] systemd[1]: Reached target sockets.target - Socket Units.
[    1.222659] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[    1.222716] systemd[1]: memstrack.service - Memstrack Anylazing Service was skipped because no trigger condition checks were met.
[    1.225078] systemd[1]: Starting systemd-journald.service - Journal Service...
[    1.226209] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[    1.226963] systemd[1]: Starting systemd-vconsole-setup.service - Virtual Console Setup...
[    1.232518] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[    1.233648] systemd[1]: Starting systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully...
[    1.247193] systemd-journald[283]: Collecting audit messages is disabled.
[    1.259621] systemd[1]: Finished systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully.
[    1.261441] fuse: init (API version 7.40)
[    1.266945] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...
[    1.273746] alua: device handler registered
[    1.276247] emc: device handler registered
[    1.279026] rdac: device handler registered
[    1.281169] systemd[1]: Started systemd-journald.service - Journal Service.
[    1.292569] spl: loading out-of-tree module taints kernel.
[    1.292579] spl: module verification failed: signature and/or required key missing - tainting kernel
[    1.563358] zfs: module license 'CDDL' taints kernel.
[    1.563370] Disabling lock debugging due to kernel taint
[    1.563391] zfs: module license taints kernel.
[    2.181414] virtio_scsi virtio2: 8/0/0 default/read/poll queues
[    2.194833] bochs-drm 0000:00:02.0: vgaarb: deactivate vga console
[    2.195577] scsi host2: Virtio SCSI HBA
[    2.200067] virtio_scsi virtio3: 8/0/0 default/read/poll queues
[    2.200921] scsi 2:0:0:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
[    2.201145] Console: switching to colour dummy device 80x25
[    2.201337] [drm] Found bochs VGA, ID 0xb0c5.
[    2.201339] [drm] Framebuffer size 16384 kB @ 0xfc000000, mmio @ 0xfea50000.
[    2.203852] [drm] Found EDID data blob.
[    2.204103] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
[    2.205000] scsi host3: Virtio SCSI HBA
[    2.205051] fbcon: bochs-drmdrmfb (fb0) is primary device
[    2.207039] scsi 3:0:0:1: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
[    2.208876] Console: switching to colour frame buffer device 160x50
[    2.209546] bochs-drm 0000:00:02.0: [drm] fb0: bochs-drmdrmfb frame buffer device
[    2.219988] sd 2:0:0:0: Attached scsi generic sg1 type 0
[    2.220023] sd 2:0:0:0: Power-on or device reset occurred
[    2.220160] sd 2:0:0:0: [sda] 67108864 512-byte logical blocks: (34.4 GB/32.0 GiB)
[    2.220197] sd 2:0:0:0: [sda] Write Protect is off
[    2.220201] sd 2:0:0:0: [sda] Mode Sense: 63 00 00 08
[    2.220259] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.222670]  sda: sda1 sda2 sda3
[    2.222879] sd 2:0:0:0: [sda] Attached SCSI disk
[    2.223421] sd 3:0:0:1: Attached scsi generic sg2 type 0
[    2.223461] sd 3:0:0:1: Power-on or device reset occurred
[    2.223561] sd 3:0:0:1: [sdb] 1073741824 512-byte logical blocks: (550 GB/512 GiB)
[    2.223588] sd 3:0:0:1: [sdb] Write Protect is off
[    2.223590] sd 3:0:0:1: [sdb] Mode Sense: 63 00 00 08
[    2.223635] sd 3:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.225949]  sdb: sdb1
[    2.226051] sd 3:0:0:1: [sdb] Attached SCSI disk
[    2.450281] PM: Image not found (code -22)
[    2.552698] EXT4-fs (sda2): orphan cleanup on readonly fs
[    2.553654] EXT4-fs (sda2): mounted filesystem 141e6012-6ecd-4475-a179-1633507ffce0 ro with ordered data mode. Quota mode: none.
[    3.353513] ZFS: Loaded module v2.2.4-1, ZFS pool version 5000, ZFS filesystem version 5
[    3.503443] systemd-journald[283]: Received SIGTERM from PID 1 (systemd).
[    3.591744] audit: type=1404 audit(1720325507.341:2): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295 enabled=1 old-enabled=1 lsm=selinux res=1
[    3.643964] SELinux:  policy capability network_peer_controls=1
[    3.643968] SELinux:  policy capability open_perms=1
[    3.643969] SELinux:  policy capability extended_socket_class=1
[    3.643969] SELinux:  policy capability always_check_network=0
[    3.643970] SELinux:  policy capability cgroup_seclabel=1
[    3.643971] SELinux:  policy capability nnp_nosuid_transition=1
[    3.643971] SELinux:  policy capability genfs_seclabel_symlinks=1
[    3.643972] SELinux:  policy capability ioctl_skip_cloexec=0
[    3.643973] SELinux:  policy capability userspace_initial_context=0
[    3.683428] audit: type=1403 audit(1720325507.433:3): auid=4294967295 ses=4294967295 lsm=selinux res=1
[    3.686167] systemd[1]: Successfully loaded SELinux policy in 94.856ms.
[    3.734330] systemd[1]: Relabeled /dev, /dev/shm, /run, /sys/fs/cgroup in 28.051ms.
[    3.741959] systemd[1]: systemd 255.8-1.fc40 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)
[    3.741965] systemd[1]: Detected virtualization kvm.
[    3.741978] systemd[1]: Detected architecture x86-64.
[    4.113894] systemd[1]: bpf-lsm: LSM BPF program attached
[    4.176241] zram: Added device: zram0
[    4.351595] systemd[1]: /etc/systemd/system/rc-local.service:11: Support for option SysVStartPriority= has been removed and it is ignored
[    4.536962] systemd[1]: initrd-switch-root.service: Deactivated successfully.
[    4.537140] systemd[1]: Stopped initrd-switch-root.service - Switch Root.
[    4.538575] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1.
[    4.539347] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[    4.539962] systemd[1]: Created slice system-sshd\x2dkeygen.slice - Slice /system/sshd-keygen.
[    4.540501] systemd[1]: Created slice system-systemd\x2dzram\x2dsetup.slice - Slice /system/systemd-zram-setup.
[    4.541040] systemd[1]: Created slice user.slice - User and Session Slice.
[    4.541121] systemd[1]: systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch was skipped because of an unmet condition check (ConditionPathExists=!/run/plymouth/pid).
[    4.541428] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[    4.542306] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[    4.542378] systemd[1]: Expecting device dev-disk-by\x2duuid-de34c4c4\x2d91ad\x2d459b\x2d9dd5\x2dbcb5c1e1a066.device - /dev/disk/by-uuid/de34c4c4-91ad-459b-9dd5-bcb5c1e1a066...
[    4.542412] systemd[1]: Expecting device dev-zram0.device - /dev/zram0...
[    4.542445] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[    4.542497] systemd[1]: Stopped target initrd-switch-root.target - Switch Root.
[    4.542529] systemd[1]: Stopped target initrd-fs.target - Initrd File Systems.
[    4.542586] systemd[1]: Stopped target initrd-root-fs.target - Initrd Root File System.
[    4.542672] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[    4.542804] systemd[1]: Reached target paths.target - Path Units.
[    4.542913] systemd[1]: Reached target slices.target - Slice Units.
[    4.542990] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[    4.543739] systemd[1]: Listening on dm-event.socket - Device-mapper event daemon FIFOs.
[    4.545165] systemd[1]: Listening on lvm2-lvmpolld.socket - LVM2 poll daemon socket.
[    4.547335] systemd[1]: Listening on systemd-coredump.socket - Process Core Dump Socket.
[    4.547616] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[    4.548569] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[    4.549504] systemd[1]: Listening on systemd-oomd.socket - Userspace Out-Of-Memory (OOM) Killer Socket.
[    4.549582] systemd[1]: systemd-pcrextend.socket - TPM2 PCR Extension (Varlink) was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[    4.550789] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[    4.551167] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[    4.551576] systemd[1]: Listening on systemd-userdbd.socket - User Database Manager Socket.
[    4.574954] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
[    4.576911] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[    4.578562] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[    4.580105] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[    4.580309] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[    4.581189] systemd[1]: iscsi-starter.service was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/var/lib/iscsi/nodes).
[    4.582875] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[    4.584338] systemd[1]: Starting lvm2-monitor.service - Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[    4.585969] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[    4.587510] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[    4.589179] systemd[1]: Starting modprobe@dm_multipath.service - Load Kernel Module dm_multipath...
[    4.591120] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[    4.592870] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[    4.594793] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[    4.597981] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[    4.598112] systemd[1]: plymouth-switch-root.service: Deactivated successfully.
[    4.598346] systemd[1]: Stopped plymouth-switch-root.service - Plymouth switch root service.
[    4.603449] systemd[1]: Starting systemd-journald.service - Journal Service...
[    4.609245] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[    4.612606] systemd[1]: Starting systemd-network-generator.service - Generate network units from Kernel command line...
[    4.612700] systemd[1]: systemd-pcrmachine.service - TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[    4.614415] loop: module loaded
[    4.615398] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[    4.615524] systemd[1]: systemd-tpm2-setup-early.service - TPM2 SRK Setup (Early) was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[    4.617679] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[    4.620852] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
[    4.621155] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[    4.622218] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[    4.622443] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[    4.624151] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[    4.625876] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    4.626136] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[    4.626886] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[    4.627121] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[    4.627710] systemd[1]: modprobe@dm_multipath.service: Deactivated successfully.
[    4.628002] systemd[1]: Finished modprobe@dm_multipath.service - Load Kernel Module dm_multipath.
[    4.628685] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    4.629296] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[    4.629985] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    4.630231] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[    4.630935] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    4.631216] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[    4.631713] systemd[1]: modprobe@loop.service: Deactivated successfully.
[    4.632185] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
[    4.633009] systemd[1]: Finished systemd-network-generator.service - Generate network units from Kernel command line.
[    4.636271] systemd-journald[577]: Collecting audit messages is enabled.
[    4.649301] EXT4-fs (sda2): re-mounted 141e6012-6ecd-4475-a179-1633507ffce0 r/w. Quota mode: none.
[    4.652013] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
[    4.652264] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met.
[    4.655391] systemd[1]: Starting systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully...
[    4.657474] systemd[1]: Started systemd-journald.service - Journal Service.
[    4.657704] audit: type=1130 audit(1720325508.407:4): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    4.659367] audit: type=1130 audit(1720325508.409:5): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-modules-load comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    4.660032] audit: type=1130 audit(1720325508.410:6): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-remount-fs comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    4.679149] audit: type=1130 audit(1720325508.429:7): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=lvm2-monitor comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    4.690673] systemd-journald[577]: Received client request to flush runtime journal.
[    4.704138] audit: type=1130 audit(1720325508.453:8): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-random-seed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    4.715459] audit: type=1334 audit(1720325508.465:9): prog-id=36 op=LOAD
[    4.715600] audit: type=1334 audit(1720325508.465:10): prog-id=37 op=LOAD
[    4.718690] systemd-journald[577]: /var/log/journal/f5f0d34091c62787bc52ea6c6669a139/system.journal: Journal file uses a different sequence number ID, rotating.
[    4.718697] systemd-journald[577]: Rotating system journal.
[    5.092087] zram0: detected capacity change from 0 to 16777216
[    5.204922] Adding 8388604k swap on /dev/zram0.  Priority:100 extents:1 across:8388604k SSDsc
[    5.218732] Free page reporting enabled
[    5.246351] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0x700, revision 0
[    5.522582] Adding 2093052k swap on /dev/sda3.  Priority:-2 extents:1 across:2093052k SS
[    5.563227] virtio_net virtio1 ens18: renamed from eth0
[    5.596290] kauditd_printk_skb: 17 callbacks suppressed
[    5.596293] audit: type=1131 audit(1720325509.344:28): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-vconsole-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    5.600183] RAPL PMU: API unit is 2^-32 Joules, 0 fixed counters, 10737418240 ms ovfl timer
[    5.943174] audit: type=1130 audit(1720325509.693:29): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-vconsole-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    6.512256] audit: type=1130 audit(1720325510.263:30): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-udev-settle comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    6.654776] ------------[ cut here ]------------
[    6.654792] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:314:44
[    6.654858] index 1 is out of range for type 'mzap_ent_phys_t [1]'
[    6.654883] CPU: 1 PID: 733 Comm: zpool Tainted: P           OE      6.9.5-200.fc40.x86_64 #1
[    6.654898] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[    6.654925] Call Trace:
[    6.654943]  <TASK>
[    6.654959]  dump_stack_lvl+0x5d/0x80
[    6.655062]  ubsan_epilogue+0x5/0x30
[    6.655129]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[    6.655153]  zap_lockdir_impl+0x7e1/0x7f0 [zfs]
[    6.655492]  zap_lockdir+0xc1/0x110 [zfs]
[    6.655755]  zap_cursor_retrieve+0x19b/0x3a0 [zfs]
[    6.656046]  spa_features_check+0xbe/0x1b0 [zfs]
[    6.656577]  spa_load+0x786/0x1a80 [zfs]
[    6.657514]  spa_tryimport+0x15f/0x470 [zfs]
[    6.658476]  zfs_ioc_pool_tryimport+0x77/0xd0 [zfs]
[    6.658805]  zfsdev_ioctl_common+0x7cd/0x9a0 [zfs]
[    6.659058]  zfsdev_ioctl+0x53/0xe0 [zfs]
[    6.659275]  __x64_sys_ioctl+0x94/0xd0
[    6.659294]  do_syscall_64+0x82/0x160
[    6.659299]  ? __mod_memcg_lruvec_state+0xc2/0x180
[    6.659312]  ? __lruvec_stat_mod_folio+0x68/0xa0
[    6.659314]  ? set_ptes.isra.0+0x28/0x90
[    6.659328]  ? _raw_spin_unlock+0xe/0x30
[    6.659333]  ? do_anonymous_page+0x410/0x770
[    6.659336]  ? pmdp_invalidate+0xe0/0x100
[    6.659342]  ? __handle_mm_fault+0xc61/0xe10
[    6.659348]  ? do_syscall_64+0x8e/0x160
[    6.659353]  ? mt_find+0x21c/0x580
[    6.659378]  ? __count_memcg_events+0x69/0x100
[    6.659387]  ? count_memcg_events.constprop.0+0x1a/0x30
[    6.659395]  ? handle_mm_fault+0x1f0/0x300
[    6.659405]  ? do_user_addr_fault+0x17f/0x620
[    6.659442]  ? clear_bhb_loop+0x45/0xa0
[    6.659462]  ? clear_bhb_loop+0x45/0xa0
[    6.659468]  ? clear_bhb_loop+0x45/0xa0
[    6.659476]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[    6.659486] RIP: 0033:0x7f7232be6d2d
[    6.659508] Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
[    6.659531] RSP: 002b:00007ffcbce844b0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[    6.659547] RAX: ffffffffffffffda RBX: 00007f7232299010 RCX: 00007f7232be6d2d
[    6.659568] RDX: 00007ffcbce84520 RSI: 0000000000005a06 RDI: 0000000000000003
[    6.659573] RBP: 00007ffcbce84500 R08: 0000000000000000 R09: 00007f7232f10420
[    6.659574] R10: 0000000000000022 R11: 0000000000000246 R12: 00005577bb827680
[    6.659583] R13: 00007ffcbce84520 R14: 00007ffcbce87d30 R15: 00007ffcbce87db0
[    6.659604]  </TASK>
[    6.659718] ---[ end trace ]---
[    6.659753] ------------[ cut here ]------------
[    6.659768] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:473:34
[    6.659778] index 2 is out of range for type 'mzap_ent_phys_t [1]'
[    6.659793] CPU: 1 PID: 733 Comm: zpool Tainted: P           OE      6.9.5-200.fc40.x86_64 #1
[    6.659808] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[    6.659810] Call Trace:
[    6.659827]  <TASK>
[    6.659832]  dump_stack_lvl+0x5d/0x80
[    6.659856]  ubsan_epilogue+0x5/0x30
[    6.659873]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[    6.659897]  zap_lockdir_impl+0x7c3/0x7f0 [zfs]
[    6.660673]  zap_lockdir+0xc1/0x110 [zfs]
[    6.661377]  zap_cursor_retrieve+0x19b/0x3a0 [zfs]
[    6.661666]  spa_features_check+0xbe/0x1b0 [zfs]
[    6.661919]  spa_load+0x786/0x1a80 [zfs]
[    6.662182]  spa_tryimport+0x15f/0x470 [zfs]
[    6.662858]  zfs_ioc_pool_tryimport+0x77/0xd0 [zfs]
[    6.663728]  zfsdev_ioctl_common+0x7cd/0x9a0 [zfs]
[    6.664594]  zfsdev_ioctl+0x53/0xe0 [zfs]
[    6.664927]  __x64_sys_ioctl+0x94/0xd0
[    6.664932]  do_syscall_64+0x82/0x160
[    6.664937]  ? __mod_memcg_lruvec_state+0xc2/0x180
[    6.664941]  ? __lruvec_stat_mod_folio+0x68/0xa0
[    6.664944]  ? set_ptes.isra.0+0x28/0x90
[    6.664947]  ? _raw_spin_unlock+0xe/0x30
[    6.664949]  ? do_anonymous_page+0x410/0x770
[    6.664953]  ? pmdp_invalidate+0xe0/0x100
[    6.664956]  ? __handle_mm_fault+0xc61/0xe10
[    6.664960]  ? do_syscall_64+0x8e/0x160
[    6.664962]  ? mt_find+0x21c/0x580
[    6.664966]  ? __count_memcg_events+0x69/0x100
[    6.664969]  ? count_memcg_events.constprop.0+0x1a/0x30
[    6.664972]  ? handle_mm_fault+0x1f0/0x300
[    6.664975]  ? do_user_addr_fault+0x17f/0x620
[    6.664980]  ? clear_bhb_loop+0x45/0xa0
[    6.664983]  ? clear_bhb_loop+0x45/0xa0
[    6.664985]  ? clear_bhb_loop+0x45/0xa0
[    6.664988]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[    6.664991] RIP: 0033:0x7f7232be6d2d
[    6.665000] Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
[    6.665002] RSP: 002b:00007ffcbce844b0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[    6.665006] RAX: ffffffffffffffda RBX: 00007f7232299010 RCX: 00007f7232be6d2d
[    6.665008] RDX: 00007ffcbce84520 RSI: 0000000000005a06 RDI: 0000000000000003
[    6.665009] RBP: 00007ffcbce84500 R08: 0000000000000000 R09: 00007f7232f10420
[    6.665011] R10: 0000000000000022 R11: 0000000000000246 R12: 00005577bb827680
[    6.665013] R13: 00007ffcbce84520 R14: 00007ffcbce87d30 R15: 00007ffcbce87db0
[    6.665017]  </TASK>
[    6.665062] ---[ end trace ]---
[    6.665089] ------------[ cut here ]------------
[    6.665090] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:1715:28
[    6.665093] index 4 is out of range for type 'mzap_ent_phys_t [1]'
[    6.665095] CPU: 1 PID: 733 Comm: zpool Tainted: P           OE      6.9.5-200.fc40.x86_64 #1
[    6.665102] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[    6.665120] Call Trace:
[    6.665122]  <TASK>
[    6.665124]  dump_stack_lvl+0x5d/0x80
[    6.665129]  ubsan_epilogue+0x5/0x30
[    6.665134]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[    6.665138]  zap_cursor_retrieve+0x394/0x3a0 [zfs]
[    6.665401]  spa_features_check+0xbe/0x1b0 [zfs]
[    6.665879]  spa_load+0x786/0x1a80 [zfs]
[    6.666729]  spa_tryimport+0x15f/0x470 [zfs]
[    6.667535]  zfs_ioc_pool_tryimport+0x77/0xd0 [zfs]
[    6.667867]  zfsdev_ioctl_common+0x7cd/0x9a0 [zfs]
[    6.668127]  zfsdev_ioctl+0x53/0xe0 [zfs]
[    6.668368]  __x64_sys_ioctl+0x94/0xd0
[    6.668373]  do_syscall_64+0x82/0x160
[    6.668377]  ? __mod_memcg_lruvec_state+0xc2/0x180
[    6.668380]  ? __lruvec_stat_mod_folio+0x68/0xa0
[    6.668382]  ? set_ptes.isra.0+0x28/0x90
[    6.668385]  ? _raw_spin_unlock+0xe/0x30
[    6.668388]  ? do_anonymous_page+0x410/0x770
[    6.668390]  ? pmdp_invalidate+0xe0/0x100
[    6.668394]  ? __handle_mm_fault+0xc61/0xe10
[    6.668397]  ? do_syscall_64+0x8e/0x160
[    6.668399]  ? mt_find+0x21c/0x580
[    6.668402]  ? __count_memcg_events+0x69/0x100
[    6.668405]  ? count_memcg_events.constprop.0+0x1a/0x30
[    6.668407]  ? handle_mm_fault+0x1f0/0x300
[    6.668411]  ? do_user_addr_fault+0x17f/0x620
[    6.668414]  ? clear_bhb_loop+0x45/0xa0
[    6.668417]  ? clear_bhb_loop+0x45/0xa0
[    6.668419]  ? clear_bhb_loop+0x45/0xa0
[    6.668422]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[    6.668425] RIP: 0033:0x7f7232be6d2d
[    6.668434] Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
[    6.668436] RSP: 002b:00007ffcbce844b0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[    6.668440] RAX: ffffffffffffffda RBX: 00007f7232299010 RCX: 00007f7232be6d2d
[    6.668442] RDX: 00007ffcbce84520 RSI: 0000000000005a06 RDI: 0000000000000003
[    6.668443] RBP: 00007ffcbce84500 R08: 0000000000000000 R09: 00007f7232f10420
[    6.668445] R10: 0000000000000022 R11: 0000000000000246 R12: 00005577bb827680
[    6.668447] R13: 00007ffcbce84520 R14: 00007ffcbce87d30 R15: 00007ffcbce87db0
[    6.668451]  </TASK>
[    6.668476] ---[ end trace ]---
[    6.669430] ------------[ cut here ]------------
[    6.669438] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:339:46
[    6.669453] index 1 is out of range for type 'mzap_ent_phys_t [1]'
[    6.669461] CPU: 3 PID: 733 Comm: zpool Tainted: P           OE      6.9.5-200.fc40.x86_64 #1
[    6.669470] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[    6.669477] Call Trace:
[    6.669485]  <TASK>
[    6.669493]  dump_stack_lvl+0x5d/0x80
[    6.669518]  ubsan_epilogue+0x5/0x30
[    6.669534]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[    6.669550]  mze_find+0xee/0x100 [zfs]
[    6.670468]  zap_lookup_impl+0x10a/0x330 [zfs]
[    6.671009]  zap_lookup+0xa9/0x120 [zfs]
[    6.671245]  feature_get_refcount_from_disk+0x60/0xe0 [zfs]
[    6.671543]  spa_load+0x868/0x1a80 [zfs]
[    6.673049]  spa_tryimport+0x15f/0x470 [zfs]
[    6.673377]  zfs_ioc_pool_tryimport+0x77/0xd0 [zfs]
[    6.673590]  zfsdev_ioctl_common+0x7cd/0x9a0 [zfs]
[    6.674549]  zfsdev_ioctl+0x53/0xe0 [zfs]
[    6.675555]  __x64_sys_ioctl+0x94/0xd0
[    6.675560]  do_syscall_64+0x82/0x160
[    6.675564]  ? __mod_memcg_lruvec_state+0xc2/0x180
[    6.675567]  ? __lruvec_stat_mod_folio+0x68/0xa0
[    6.675570]  ? set_ptes.isra.0+0x28/0x90
[    6.675573]  ? _raw_spin_unlock+0xe/0x30
[    6.675575]  ? do_anonymous_page+0x410/0x770
[    6.675579]  ? pmdp_invalidate+0xe0/0x100
[    6.675594]  ? __handle_mm_fault+0xc61/0xe10
[    6.675597]  ? do_syscall_64+0x8e/0x160
[    6.675599]  ? mt_find+0x21c/0x580
[    6.675603]  ? __count_memcg_events+0x69/0x100
[    6.675606]  ? count_memcg_events.constprop.0+0x1a/0x30
[    6.675608]  ? handle_mm_fault+0x1f0/0x300
[    6.675612]  ? do_user_addr_fault+0x17f/0x620
[    6.675616]  ? clear_bhb_loop+0x45/0xa0
[    6.675618]  ? clear_bhb_loop+0x45/0xa0
[    6.675621]  ? clear_bhb_loop+0x45/0xa0
[    6.675623]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[    6.675626] RIP: 0033:0x7f7232be6d2d
[    6.675640] Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
[    6.675642] RSP: 002b:00007ffcbce844b0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[    6.675646] RAX: ffffffffffffffda RBX: 00007f7232299010 RCX: 00007f7232be6d2d
[    6.675648] RDX: 00007ffcbce84520 RSI: 0000000000005a06 RDI: 0000000000000003
[    6.675649] RBP: 00007ffcbce84500 R08: 0000000000000000 R09: 00007f7232f10420
[    6.675651] R10: 0000000000000022 R11: 0000000000000246 R12: 00005577bb827680
[    6.675653] R13: 00007ffcbce84520 R14: 00007ffcbce87d30 R15: 00007ffcbce87db0
[    6.675660]  </TASK>
[    6.675682] ---[ end trace ]---
[    6.675684] ------------[ cut here ]------------
[    6.675700] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:1019:27
[    6.675703] index 1 is out of range for type 'mzap_ent_phys_t [1]'
[    6.675705] CPU: 3 PID: 733 Comm: zpool Tainted: P           OE      6.9.5-200.fc40.x86_64 #1
[    6.675708] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[    6.675709] Call Trace:
[    6.675711]  <TASK>
[    6.675713]  dump_stack_lvl+0x5d/0x80
[    6.675730]  ubsan_epilogue+0x5/0x30
[    6.675734]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[    6.675738]  zap_lookup_impl+0x2f5/0x330 [zfs]
[    6.676003]  zap_lookup+0xa9/0x120 [zfs]
[    6.676965]  feature_get_refcount_from_disk+0x60/0xe0 [zfs]
[    6.677809]  spa_load+0x868/0x1a80 [zfs]
[    6.678097]  spa_tryimport+0x15f/0x470 [zfs]
[    6.678344]  zfs_ioc_pool_tryimport+0x77/0xd0 [zfs]
[    6.679981]  zfsdev_ioctl_common+0x7cd/0x9a0 [zfs]
[    6.680315]  zfsdev_ioctl+0x53/0xe0 [zfs]
[    6.680518]  __x64_sys_ioctl+0x94/0xd0
[    6.680522]  do_syscall_64+0x82/0x160
[    6.680526]  ? __mod_memcg_lruvec_state+0xc2/0x180
[    6.680530]  ? __lruvec_stat_mod_folio+0x68/0xa0
[    6.680532]  ? set_ptes.isra.0+0x28/0x90
[    6.680535]  ? _raw_spin_unlock+0xe/0x30
[    6.680537]  ? do_anonymous_page+0x410/0x770
[    6.680540]  ? pmdp_invalidate+0xe0/0x100
[    6.680543]  ? __handle_mm_fault+0xc61/0xe10
[    6.680546]  ? do_syscall_64+0x8e/0x160
[    6.680548]  ? mt_find+0x21c/0x580
[    6.680552]  ? __count_memcg_events+0x69/0x100
[    6.680555]  ? count_memcg_events.constprop.0+0x1a/0x30
[    6.680557]  ? handle_mm_fault+0x1f0/0x300
[    6.680560]  ? do_user_addr_fault+0x17f/0x620
[    6.680564]  ? clear_bhb_loop+0x45/0xa0
[    6.680567]  ? clear_bhb_loop+0x45/0xa0
[    6.680569]  ? clear_bhb_loop+0x45/0xa0
[    6.680572]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[    6.680574] RIP: 0033:0x7f7232be6d2d
[    6.680583] Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
[    6.680585] RSP: 002b:00007ffcbce844b0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[    6.680588] RAX: ffffffffffffffda RBX: 00007f7232299010 RCX: 00007f7232be6d2d
[    6.680590] RDX: 00007ffcbce84520 RSI: 0000000000005a06 RDI: 0000000000000003
[    6.680592] RBP: 00007ffcbce84500 R08: 0000000000000000 R09: 00007f7232f10420
[    6.680593] R10: 0000000000000022 R11: 0000000000000246 R12: 00005577bb827680
[    6.680595] R13: 00007ffcbce84520 R14: 00007ffcbce87d30 R15: 00007ffcbce87db0
[    6.680610]  </TASK>
[    6.680683] ---[ end trace ]---
[    7.020967] ------------[ cut here ]------------
[    7.020972] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:1415:22
[    7.020975] index 2 is out of range for type 'mzap_ent_phys_t [1]'
[    7.020978] CPU: 4 PID: 839 Comm: txg_sync Tainted: P           OE      6.9.5-200.fc40.x86_64 #1
[    7.020983] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[    7.020985] Call Trace:
[    7.020988]  <TASK>
[    7.020991]  dump_stack_lvl+0x5d/0x80
[    7.021006]  ubsan_epilogue+0x5/0x30
[    7.021024]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[    7.021027]  zap_update+0x2db/0x2e0 [zfs]
[    7.021508]  feature_sync+0x53/0x150 [zfs]
[    7.022218]  space_map_alloc+0x70/0x80 [zfs]
[    7.022858]  spa_generate_syncing_log_sm+0xd1/0x250 [zfs]
[    7.023145]  spa_flush_metaslabs+0xa7/0x430 [zfs]
[    7.023441]  ? mutex_lock+0x12/0x30
[    7.023459]  spa_sync+0x628/0x1050 [zfs]
[    7.023998]  ? spa_txg_history_init_io+0x115/0x120 [zfs]
[    7.024506]  txg_sync_thread+0x20a/0x3b0 [zfs]
[    7.024781]  ? __pfx_thread_generic_wrapper+0x10/0x10 [spl]
[    7.024793]  ? kfree+0x2c2/0x2f0
[    7.024803]  ? __pfx_txg_sync_thread+0x10/0x10 [zfs]
[    7.024984]  ? __pfx_thread_generic_wrapper+0x10/0x10 [spl]
[    7.024994]  thread_generic_wrapper+0x5a/0x70 [spl]
[    7.025003]  kthread+0xcf/0x100
[    7.025011]  ? __pfx_kthread+0x10/0x10
[    7.025013]  ret_from_fork+0x31/0x50
[    7.025023]  ? __pfx_kthread+0x10/0x10
[    7.025025]  ret_from_fork_asm+0x1a/0x30
[    7.025034]  </TASK>
[    7.025054] ---[ end trace ]---
[    7.028045] ------------[ cut here ]------------
[    7.028048] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:1504:4
[    7.028051] index 55 is out of range for type 'mzap_ent_phys_t [1]'
[    7.028060] CPU: 3 PID: 839 Comm: txg_sync Tainted: P           OE      6.9.5-200.fc40.x86_64 #1
[    7.028063] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[    7.028065] Call Trace:
[    7.028068]  <TASK>
[    7.028071]  dump_stack_lvl+0x5d/0x80
[    7.028078]  ubsan_epilogue+0x5/0x30
[    7.028083]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[    7.028088]  zap_remove_impl+0x1ba/0x1d0 [zfs]
[    7.028350]  zap_remove+0x8f/0x100 [zfs]
[    7.028522]  zap_remove_int+0x71/0xa0 [zfs]
[    7.028674]  spa_cleanup_old_sm_logs+0xf8/0x170 [zfs]
[    7.028898]  metaslab_flush+0x19f/0x350 [zfs]
[    7.029293]  ? spa_cleanup_old_sm_logs+0xbe/0x170 [zfs]
[    7.029829]  spa_flush_metaslabs+0x1a1/0x430 [zfs]
[    7.030378]  spa_sync+0x628/0x1050 [zfs]
[    7.030789]  ? spa_txg_history_init_io+0x115/0x120 [zfs]
[    7.030984]  txg_sync_thread+0x20a/0x3b0 [zfs]
[    7.031141]  ? __pfx_thread_generic_wrapper+0x10/0x10 [spl]
[    7.031153]  ? kfree+0x2c2/0x2f0
[    7.031156]  ? __pfx_txg_sync_thread+0x10/0x10 [zfs]
[    7.031313]  ? __pfx_thread_generic_wrapper+0x10/0x10 [spl]
[    7.031323]  thread_generic_wrapper+0x5a/0x70 [spl]
[    7.031332]  kthread+0xcf/0x100
[    7.031335]  ? __pfx_kthread+0x10/0x10
[    7.031338]  ret_from_fork+0x31/0x50
[    7.031340]  ? __pfx_kthread+0x10/0x10
[    7.031342]  ret_from_fork_asm+0x1a/0x30
[    7.031346]  </TASK>
[    7.031367] ---[ end trace ]---
[    7.101132] ------------[ cut here ]------------
[    7.101140] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:314:44
[    7.101147] index 1 is out of range for type 'mzap_ent_phys_t [1]'
[    7.101154] CPU: 5 PID: 839 Comm: txg_sync Tainted: P           OE      6.9.5-200.fc40.x86_64 #1
[    7.101159] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[    7.101163] Call Trace:
[    7.101170]  <TASK>
[    7.101178]  dump_stack_lvl+0x5d/0x80
[    7.101194]  ubsan_epilogue+0x5/0x30
[    7.101205]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[    7.101219]  mzap_addent+0x2a8/0x2b0 [zfs]
[    7.101703]  zap_add_impl+0x37b/0x390 [zfs]
[    7.101919]  zap_add_int_key+0x84/0xb0 [zfs]
[    7.102067]  spa_generate_syncing_log_sm+0xe9/0x250 [zfs]
[    7.102225]  spa_flush_metaslabs+0xa7/0x430 [zfs]
[    7.102444]  ? mutex_lock+0x12/0x30
[    7.102448]  spa_sync+0x628/0x1050 [zfs]
[    7.102912]  ? spa_txg_history_init_io+0x115/0x120 [zfs]
[    7.103531]  txg_sync_thread+0x20a/0x3b0 [zfs]
[    7.104242]  ? __pfx_txg_sync_thread+0x10/0x10 [zfs]
[    7.104509]  ? __pfx_thread_generic_wrapper+0x10/0x10 [spl]
[    7.104520]  thread_generic_wrapper+0x5a/0x70 [spl]
[    7.104529]  kthread+0xcf/0x100
[    7.104533]  ? __pfx_kthread+0x10/0x10
[    7.104535]  ret_from_fork+0x31/0x50
[    7.104537]  ? __pfx_kthread+0x10/0x10
[    7.104539]  ret_from_fork_asm+0x1a/0x30
[    7.104543]  </TASK>
[    7.104570] ---[ end trace ]---
[    7.179576] ------------[ cut here ]------------
[    7.179586] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:1232:52
[    7.179589] index 2 is out of range for type 'mzap_ent_phys_t [1]'
[    7.179592] CPU: 6 PID: 839 Comm: txg_sync Tainted: P           OE      6.9.5-200.fc40.x86_64 #1
[    7.179595] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[    7.179597] Call Trace:
[    7.179600]  <TASK>
[    7.179603]  dump_stack_lvl+0x5d/0x80
[    7.179611]  ubsan_epilogue+0x5/0x30
[    7.179616]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[    7.179620]  mzap_addent+0x280/0x2b0 [zfs]
[    7.180000]  zap_add_impl+0x37b/0x390 [zfs]
[    7.180371]  zap_add_int_key+0x84/0xb0 [zfs]
[    7.181899]  spa_generate_syncing_log_sm+0xe9/0x250 [zfs]
[    7.182666]  spa_flush_metaslabs+0xa7/0x430 [zfs]
[    7.182923]  ? mutex_lock+0x12/0x30
[    7.182929]  spa_sync+0x628/0x1050 [zfs]
[    7.183332]  ? spa_txg_history_init_io+0x115/0x120 [zfs]
[    7.184867]  txg_sync_thread+0x20a/0x3b0 [zfs]
[    7.185289]  ? __pfx_txg_sync_thread+0x10/0x10 [zfs]
[    7.185523]  ? __pfx_thread_generic_wrapper+0x10/0x10 [spl]
[    7.185540]  thread_generic_wrapper+0x5a/0x70 [spl]
[    7.185553]  kthread+0xcf/0x100
[    7.185558]  ? __pfx_kthread+0x10/0x10
[    7.185561]  ret_from_fork+0x31/0x50
[    7.185564]  ? __pfx_kthread+0x10/0x10
[    7.185567]  ret_from_fork_asm+0x1a/0x30
[    7.185572]  </TASK>
[    7.185633] ---[ end trace ]---
[    7.284536] audit: type=1130 audit(1720325511.034:31): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=zfs-import-cache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    7.645082] audit: type=1130 audit(1720325511.395:32): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=zfs-mount comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    7.696460] audit: type=1130 audit(1720325511.446:33): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=plymouth-read-write comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    8.221870] audit: type=1130 audit(1720325511.970:34): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    8.258028] audit: type=1334 audit(1720325512.008:35): prog-id=41 op=LOAD
[    8.258261] audit: type=1334 audit(1720325512.008:36): prog-id=42 op=LOAD
[    8.258265] audit: type=1334 audit(1720325512.008:37): prog-id=43 op=LOAD
[    8.891040] RPC: Registered named UNIX socket transport module.
[    8.891045] RPC: Registered udp transport module.
[    8.891046] RPC: Registered tcp transport module.
[    8.891046] RPC: Registered tcp-with-tls transport module.
[    8.891047] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    9.322895] 8021q: 802.1Q VLAN Support v1.8
[   10.435638] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   10.437883] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   10.438393] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[   10.577530] 8021q: adding VLAN 0 to HW filter on device ens18
[   10.910022] NET: Registered PF_QIPCRTR protocol family
[   13.692592] systemd-journald[577]: /var/log/journal/f5f0d34091c62787bc52ea6c6669a139/user-1002.journal: Journal file uses a different sequence number ID, rotating.
[   13.766028] ------------[ cut here ]------------
[   13.766033] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/sa.c:1733:24
[   13.766036] index 1 is out of range for type 'uint16_t [1]'
[   13.766039] CPU: 3 PID: 1815 Comm: exe Tainted: P           OE      6.9.5-200.fc40.x86_64 #1
[   13.766042] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[   13.766044] Call Trace:
[   13.766047]  <TASK>
[   13.766050]  dump_stack_lvl+0x5d/0x80
[   13.766060]  ubsan_epilogue+0x5/0x30
[   13.766071]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[   13.766075]  sa_find_idx_tab+0x22f/0x250 [zfs]
[   13.766370]  sa_build_index+0x92/0x350 [zfs]
[   13.766609]  sa_handle_get_from_db+0x137/0x1a0 [zfs]
[   13.766851]  zfs_znode_sa_init+0xa2/0xe0 [zfs]
[   13.767053]  zfs_znode_alloc+0x170/0x7c0 [zfs]
[   13.767258]  zfs_zget+0x246/0x290 [zfs]
[   13.767430]  zfs_dirent_lock+0x42b/0x6c0 [zfs]
[   13.767650]  zfs_dirlook+0xb4/0x2e0 [zfs]
[   13.767878]  ? zfs_zaccess+0x26f/0x450 [zfs]
[   13.768121]  zfs_lookup+0x264/0x410 [zfs]
[   13.768334]  zpl_lookup+0xe6/0x270 [zfs]
[   13.768545]  lookup_one_qstr_excl+0x6f/0xa0
[   13.768557]  do_unlinkat+0x16f/0x330
[   13.768561]  __x64_sys_unlinkat+0x56/0xc0
[   13.768565]  do_syscall_64+0x82/0x160
[   13.768568]  ? syscall_exit_to_user_mode+0x75/0x230
[   13.768575]  ? do_syscall_64+0x8e/0x160
[   13.768578]  ? __memcg_slab_free_hook+0x112/0x160
[   13.768582]  ? __x64_sys_close+0x3c/0x80
[   13.768588]  ? kmem_cache_free+0x3b9/0x3e0
[   13.768592]  ? syscall_exit_to_user_mode+0x75/0x230
[   13.768595]  ? do_syscall_64+0x8e/0x160
[   13.768597]  ? __count_memcg_events+0x69/0x100
[   13.768600]  ? count_memcg_events.constprop.0+0x1a/0x30
[   13.768603]  ? handle_mm_fault+0x1f0/0x300
[   13.768607]  ? do_user_addr_fault+0x34e/0x620
[   13.768611]  ? clear_bhb_loop+0x45/0xa0
[   13.768614]  ? clear_bhb_loop+0x45/0xa0
[   13.768616]  ? clear_bhb_loop+0x45/0xa0
[   13.768619]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[   13.768622] RIP: 0033:0x55d554fb22ee
[   13.768632] Code: 48 83 ec 38 e8 13 00 00 00 48 83 c4 38 5d c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 49 89 f2 48 89 fa 48 89 ce 48 89 df 0f 05 <48> 3d 01 f0 ff ff 76 15 48 f7 d8 48 89 c1 48 c7 c0 ff ff ff ff 48
[   13.768635] RSP: 002b:000000c00052b5f0 EFLAGS: 00000212 ORIG_RAX: 0000000000000107
[   13.768639] RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 000055d554fb22ee
[   13.768644] RDX: 0000000000000000 RSI: 000000c000164b70 RDI: 0000000000000011
[   13.768646] RBP: 000000c00052b630 R08: 0000000000000000 R09: 0000000000000000
[   13.768648] R10: 0000000000000000 R11: 0000000000000212 R12: 000000c000164b70
[   13.768650] R13: 0000000000000000 R14: 000000c0000061c0 R15: 0000000000000008
[   13.768654]  </TASK>
[   13.768688] ---[ end trace ]---
[   14.337767] ------------[ cut here ]------------
[   14.337770] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/sa.c:339:4
[   14.337773] index 1 is out of range for type 'uint16_t [1]'
[   14.337775] CPU: 1 PID: 1816 Comm: exe Tainted: P           OE      6.9.5-200.fc40.x86_64 #1
[   14.337778] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[   14.337780] Call Trace:
[   14.337782]  <TASK>
[   14.337785]  dump_stack_lvl+0x5d/0x80
[   14.337794]  ubsan_epilogue+0x5/0x30
[   14.337798]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[   14.337801]  sa_attr_op+0x3df/0x430 [zfs]
[   14.338039]  sa_lookup_uio+0x8b/0x110 [zfs]
[   14.338255]  zfs_readlink+0xfa/0x170 [zfs]
[   14.338426]  ? __pfx_zpl_get_link+0x10/0x10 [zfs]
[   14.338589]  zpl_get_link+0xd5/0x140 [zfs]
[   14.338735]  ? __pfx_zpl_get_link+0x10/0x10 [zfs]
[   14.338886]  step_into+0x6a2/0x780
[   14.338892]  path_lookupat+0x6a/0x1a0
[   14.338896]  filename_lookup+0xde/0x1d0
[   14.338901]  ? getname_flags.part.0+0x4b/0x200
[   14.338905]  user_path_at_empty+0x5e/0x90
[   14.338907]  do_faccessat+0x104/0x2e0
[   14.338913]  do_syscall_64+0x82/0x160
[   14.338921]  ? xa_load+0xa7/0x110
[   14.338935]  ? __memcg_slab_free_hook+0x112/0x160
[   14.338938]  ? mntput_no_expire+0x4a/0x260
[   14.338947]  ? __x64_sys_close+0x3c/0x80
[   14.338949]  ? kmem_cache_free+0x3b9/0x3e0
[   14.338952]  ? syscall_exit_to_user_mode+0x75/0x230
[   14.338955]  ? do_syscall_64+0x8e/0x160
[   14.338957]  ? vfs_read+0x237/0x360
[   14.338960]  ? syscall_exit_to_user_mode+0x75/0x230
[   14.338962]  ? do_syscall_64+0x8e/0x160
[   14.338964]  ? __x64_sys_fcntl+0x81/0xc0
[   14.338966]  ? syscall_exit_to_user_mode+0x75/0x230
[   14.338968]  ? do_syscall_64+0x8e/0x160
[   14.338970]  ? do_user_addr_fault+0x34e/0x620
[   14.338972]  ? clear_bhb_loop+0x45/0xa0
[   14.338975]  ? clear_bhb_loop+0x45/0xa0
[   14.338979]  ? clear_bhb_loop+0x45/0xa0
[   14.338981]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[   14.338986] RIP: 0033:0x55d554fb22ee
[   14.338996] Code: 48 83 ec 38 e8 13 00 00 00 48 83 c4 38 5d c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 49 89 f2 48 89 fa 48 89 ce 48 89 df 0f 05 <48> 3d 01 f0 ff ff 76 15 48 f7 d8 48 89 c1 48 c7 c0 ff ff ff ff 48
[   14.338997] RSP: 002b:000000c000b0cd70 EFLAGS: 00000216 ORIG_RAX: 000000000000010d
[   14.339000] RAX: ffffffffffffffda RBX: ffffffffffffff9c RCX: 000055d554fb22ee
[   14.339002] RDX: 0000000000000000 RSI: 000000c000982d80 RDI: ffffffffffffff9c
[   14.339003] RBP: 000000c000b0cdb0 R08: 0000000000000000 R09: 0000000000000000
[   14.339004] R10: 0000000000000000 R11: 0000000000000216 R12: 000000c000982d80
[   14.339005] R13: 0000000000000000 R14: 000000c0000061c0 R15: 00000000000000ff
[   14.339008]  </TASK>
[   14.339035] ---[ end trace ]---
[   14.504348] ------------[ cut here ]------------
[   14.504352] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/sa.c:765:21
[   14.504355] index 1 is out of range for type 'uint16_t [1]'
[   14.504358] CPU: 5 PID: 1773 Comm: exe Tainted: P           OE      6.9.5-200.fc40.x86_64 #1
[   14.504361] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[   14.504362] Call Trace:
[   14.504366]  <TASK>
[   14.504369]  dump_stack_lvl+0x5d/0x80
[   14.504379]  ubsan_epilogue+0x5/0x30
[   14.504384]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[   14.504389]  sa_build_layouts+0xb4d/0xba0 [zfs]
[   14.504624]  sa_modify_attrs+0x2c7/0x4b0 [zfs]
[   14.504882]  ? spl_kmem_cache_free+0x133/0x1e0 [spl]
[   14.504898]  sa_attr_op+0x254/0x430 [zfs]
[   14.505148]  sa_bulk_update_impl+0x62/0x100 [zfs]
[   14.505380]  sa_update+0xb6/0x130 [zfs]
[   14.505601]  zfs_symlink+0x6aa/0x760 [zfs]
[   14.505799]  zpl_symlink+0xc9/0x1c0 [zfs]
[   14.506040]  vfs_symlink+0x13f/0x1d0
[   14.506047]  do_symlinkat+0x11d/0x150
[   14.506051]  __x64_sys_symlinkat+0x70/0xb0
[   14.506055]  do_syscall_64+0x82/0x160
[   14.506058]  ? __x64_sys_getrandom+0xf4/0x150
[   14.506098]  ? syscall_exit_to_user_mode+0x75/0x230
[   14.506100]  ? do_syscall_64+0x8e/0x160
[   14.506102]  ? mutex_lock+0x12/0x30
[   14.506105]  ? rrw_exit+0x68/0x170 [zfs]
[   14.506339]  ? _raw_spin_unlock+0xe/0x30
[   14.506343]  ? zfs_getattr_fast+0x150/0x270 [zfs]
[   14.506570]  ? _copy_to_user+0x24/0x40
[   14.506587]  ? cp_new_stat+0x131/0x170
[   14.506594]  ? __do_sys_newfstatat+0x4b/0x80
[   14.506612]  ? syscall_exit_to_user_mode+0x75/0x230
[   14.506615]  ? do_syscall_64+0x8e/0x160
[   14.506617]  ? do_syscall_64+0x8e/0x160
[   14.506619]  ? clear_bhb_loop+0x45/0xa0
[   14.506626]  ? clear_bhb_loop+0x45/0xa0
[   14.506628]  ? clear_bhb_loop+0x45/0xa0
[   14.506631]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[   14.506634] RIP: 0033:0x5620507f42ee
[   14.506658] Code: 48 83 ec 38 e8 13 00 00 00 48 83 c4 38 5d c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 49 89 f2 48 89 fa 48 89 ce 48 89 df 0f 05 <48> 3d 01 f0 ff ff 76 15 48 f7 d8 48 89 c1 48 c7 c0 ff ff ff ff 48
[   14.506660] RSP: 002b:000000c000bbaca0 EFLAGS: 00000212 ORIG_RAX: 000000000000010a
[   14.506664] RAX: ffffffffffffffda RBX: 000000c000b3c190 RCX: 00005620507f42ee
[   14.506666] RDX: 000000c000b3a1c0 RSI: ffffffffffffff9c RDI: 000000c000b3c190
[   14.506668] RBP: 000000c000bbace0 R08: 0000000000000000 R09: 0000000000000000
[   14.506669] R10: 0000000000000000 R11: 0000000000000212 R12: 000000c000b3a1c0
[   14.506670] R13: 0000000000000000 R14: 000000c0000061c0 R15: 00ffffffffffffc5
[   14.506674]  </TASK>
[   14.506715] ---[ end trace ]---
[   14.507110] ------------[ cut here ]------------
[   14.507112] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/sa.c:1933:29
[   14.507115] index 1 is out of range for type 'uint16_t [1]'
[   14.507117] CPU: 5 PID: 1773 Comm: exe Tainted: P           OE      6.9.5-200.fc40.x86_64 #1
[   14.507120] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[   14.507122] Call Trace:
[   14.507125]  <TASK>
[   14.507131]  dump_stack_lvl+0x5d/0x80
[   14.507139]  ubsan_epilogue+0x5/0x30
[   14.507143]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[   14.507149]  sa_modify_attrs+0x473/0x4b0 [zfs]
[   14.507453]  sa_attr_op+0x254/0x430 [zfs]
[   14.507693]  sa_bulk_update_impl+0x62/0x100 [zfs]
[   14.507955]  sa_update+0xb6/0x130 [zfs]
[   14.508205]  zfs_make_xattrdir+0x198/0x2d0 [zfs]
[   14.508427]  zfs_get_xattrdir+0xe2/0x1d0 [zfs]
[   14.508685]  zfs_lookup+0x109/0x410 [zfs]
[   14.508909]  zpl_xattr_set_dir.isra.0+0x69/0x240 [zfs]
[   14.509121]  zpl_xattr_set+0x14a/0x380 [zfs]
[   14.509331]  zpl_xattr_security_init_impl+0x60/0x90 [zfs]
[   14.509540]  security_inode_init_security+0x16e/0x1a0
[   14.509566]  ? __pfx_zpl_xattr_security_init_impl+0x10/0x10 [zfs]
[   14.509779]  zpl_symlink+0x13c/0x1c0 [zfs]
[   14.509989]  vfs_symlink+0x13f/0x1d0
[   14.509995]  do_symlinkat+0x11d/0x150
[   14.509999]  __x64_sys_symlinkat+0x70/0xb0
[   14.510003]  do_syscall_64+0x82/0x160
[   14.510007]  ? __x64_sys_getrandom+0xf4/0x150
[   14.510012]  ? syscall_exit_to_user_mode+0x75/0x230
[   14.510015]  ? do_syscall_64+0x8e/0x160
[   14.510018]  ? mutex_lock+0x12/0x30
[   14.510022]  ? rrw_exit+0x68/0x170 [zfs]
[   14.510273]  ? _raw_spin_unlock+0xe/0x30
[   14.510276]  ? zfs_getattr_fast+0x150/0x270 [zfs]
[   14.510520]  ? _copy_to_user+0x24/0x40
[   14.510524]  ? cp_new_stat+0x131/0x170
[   14.510530]  ? __do_sys_newfstatat+0x4b/0x80
[   14.510535]  ? syscall_exit_to_user_mode+0x75/0x230
[   14.510538]  ? do_syscall_64+0x8e/0x160
[   14.510540]  ? do_syscall_64+0x8e/0x160
[   14.510542]  ? clear_bhb_loop+0x45/0xa0
[   14.510545]  ? clear_bhb_loop+0x45/0xa0
[   14.510547]  ? clear_bhb_loop+0x45/0xa0
[   14.510550]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[   14.510554] RIP: 0033:0x5620507f42ee
[   14.510564] Code: 48 83 ec 38 e8 13 00 00 00 48 83 c4 38 5d c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 49 89 f2 48 89 fa 48 89 ce 48 89 df 0f 05 <48> 3d 01 f0 ff ff 76 15 48 f7 d8 48 89 c1 48 c7 c0 ff ff ff ff 48
[   14.510567] RSP: 002b:000000c000bbaca0 EFLAGS: 00000212 ORIG_RAX: 000000000000010a
[   14.510570] RAX: ffffffffffffffda RBX: 000000c000b3c190 RCX: 00005620507f42ee
[   14.510572] RDX: 000000c000b3a1c0 RSI: ffffffffffffff9c RDI: 000000c000b3c190
[   14.510574] RBP: 000000c000bbace0 R08: 0000000000000000 R09: 0000000000000000
[   14.510575] R10: 0000000000000000 R11: 0000000000000212 R12: 000000c000b3a1c0
[   14.510577] R13: 0000000000000000 R14: 000000c0000061c0 R15: 00ffffffffffffc5
[   14.510580]  </TASK>
[   14.510633] ---[ end trace ]---
[   14.801147] tun: Universal TUN/TAP device driver, 1.6
[   15.271029] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   15.300861] podman2: port 1(veth0) entered blocking state
[   15.300870] podman2: port 1(veth0) entered disabled state
[   15.300885] veth0: entered allmulticast mode
[   15.301120] veth0: entered promiscuous mode
[   15.302727] podman2: port 1(veth0) entered blocking state
[   15.302733] podman2: port 1(veth0) entered forwarding state
[   15.589374] podman2: port 2(veth1) entered blocking state
[   15.589381] podman2: port 2(veth1) entered disabled state
[   15.589396] veth1: entered allmulticast mode
[   15.589464] veth1: entered promiscuous mode
[   15.590111] podman2: port 2(veth1) entered blocking state
[   15.590116] podman2: port 2(veth1) entered forwarding state
[   15.743024] podman2: port 3(veth2) entered blocking state
[   15.743030] podman2: port 3(veth2) entered disabled state
[   15.743057] veth2: entered allmulticast mode
[   15.743113] veth2: entered promiscuous mode
[   15.743720] podman2: port 3(veth2) entered blocking state
[   15.743725] podman2: port 3(veth2) entered forwarding state
[   17.053184] ------------[ cut here ]------------
[   17.053188] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.4/build/module/zfs/zap_micro.c:679:40
[   17.053191] index 2 is out of range for type 'mzap_ent_phys_t [1]'
[   17.053193] CPU: 7 PID: 2119 Comm: fuse-overlayfs Tainted: P           OE      6.9.5-200.fc40.x86_64 #1
[   17.053196] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
[   17.053201] Call Trace:
[   17.053206]  <TASK>
[   17.053210]  dump_stack_lvl+0x5d/0x80
[   17.053218]  ubsan_epilogue+0x5/0x30
[   17.053221]  __ubsan_handle_out_of_bounds.cold+0x46/0x4b
[   17.053225]  mzap_upgrade+0x1e3/0x1f0 [zfs]
[   17.053501]  zap_add_impl+0xc1/0x390 [zfs]
[   17.053763]  ? zap_add+0x5d/0xd0 [zfs]
[   17.053985]  zfs_link_create+0x17e/0x810 [zfs]
[   17.054159]  zfs_create+0x72b/0xa00 [zfs]
[   17.054343]  zpl_create+0xcd/0x210 [zfs]
[   17.054572]  path_openat+0xe56/0x1110
[   17.054578]  do_filp_open+0xc4/0x170
[   17.054583]  do_sys_openat2+0xae/0xe0
[   17.054587]  __x64_sys_openat2+0xac/0x130
[   17.054590]  do_syscall_64+0x82/0x160
[   17.054594]  ? __memcg_slab_free_hook+0x112/0x160
[   17.054610]  ? __x64_sys_close+0x3c/0x80
[   17.054612]  ? kmem_cache_free+0x3b9/0x3e0
[   17.054615]  ? syscall_exit_to_user_mode+0x75/0x230
[   17.054618]  ? do_syscall_64+0x8e/0x160
[   17.054619]  ? listxattr+0x2c/0xf0
[   17.054642]  ? syscall_exit_to_user_mode+0x75/0x230
[   17.054644]  ? do_syscall_64+0x8e/0x160
[   17.054645]  ? clear_bhb_loop+0x45/0xa0
[   17.054647]  ? clear_bhb_loop+0x45/0xa0
[   17.054649]  ? clear_bhb_loop+0x45/0xa0
[   17.054651]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[   17.054654] RIP: 0033:0x7fc8f963b1dd
[   17.054677] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 0b dc 0c 00 f7 d8 64 89 01 48
[   17.054678] RSP: 002b:00007ffc2b82f3b8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b5
[   17.054681] RAX: ffffffffffffffda RBX: 0000000000028242 RCX: 00007fc8f963b1dd
[   17.054682] RDX: 00007ffc2b82f3c0 RSI: 0000557c76db6000 RDI: 0000000000000006
[   17.054684] RBP: 00007ffc2b82f410 R08: 0000000000000000 R09: 0000000000020242
[   17.054685] R10: 0000000000000018 R11: 0000000000000246 R12: 00000000000081a4
[   17.054686] R13: 0000000000000006 R14: 0000557c76db6000 R15: 00007fc8f941e048
[   17.054689]  </TASK>
[   17.054736] ---[ end trace ]---
[  256.786786] podman2: port 3(veth2) entered disabled state
[  256.787139] veth2 (unregistering): left allmulticast mode
[  256.787144] veth2 (unregistering): left promiscuous mode
[  256.787158] podman2: port 3(veth2) entered disabled state
[  257.056681] podman2: port 3(veth2) entered blocking state
[  257.056686] podman2: port 3(veth2) entered disabled state
[  257.056691] veth2: entered allmulticast mode
[  257.056771] veth2: entered promiscuous mode
[  257.057230] podman2: port 3(veth2) entered blocking state
[  257.057233] podman2: port 3(veth2) entered forwarding state
[  257.312336] podman2: port 1(veth0) entered disabled state
[  257.312633] veth0 (unregistering): left allmulticast mode
[  257.312637] veth0 (unregistering): left promiscuous mode
[  257.312653] podman2: port 1(veth0) entered disabled state
[  257.567417] podman2: port 1(veth0) entered blocking state
[  257.567422] podman2: port 1(veth0) entered disabled state
[  257.567426] veth0: entered allmulticast mode
[  257.567461] veth0: entered promiscuous mode
[  257.567947] podman2: port 1(veth0) entered blocking state
[  257.567949] podman2: port 1(veth0) entered forwarding state
[  262.933166] podman2: port 2(veth1) entered disabled state
[  262.933424] veth1 (unregistering): left allmulticast mode
[  262.933426] veth1 (unregistering): left promiscuous mode
[  262.933439] podman2: port 2(veth1) entered disabled state
[  263.389564] podman2: port 2(veth1) entered blocking state
[  263.389568] podman2: port 2(veth1) entered disabled state
[  263.389579] veth1: entered allmulticast mode
[  263.389633] veth1: entered promiscuous mode
[  263.390054] podman2: port 2(veth1) entered blocking state
[  263.390057] podman2: port 2(veth1) entered forwarding state
[  552.733326] netfs: FS-Cache loaded
[  553.340318] nfs: Deprecated parameter 'intr'
[ 1579.936671] SELinux: inode=375277 on dev=zfs was found to have an invalid context=.  This indicates you may need to relabel the inode or the filesystem in question.
[ 2901.213049] hrtimer: interrupt took 6484295 ns
tonyhutter commented 2 months ago

What's odd is that we've already disabled UBSAN on zap_micro.c but maybe it's not being honored for some reason on 6.9+.

There is a horrible workaround (below), but hopefully we can find a cleaner solution.

diff --git a/include/sys/zap_impl.h b/include/sys/zap_impl.h
index 2959aa9b2..ca0854da3 100644
--- a/include/sys/zap_impl.h
+++ b/include/sys/zap_impl.h
@@ -61,7 +61,15 @@ typedef struct mzap_phys {
        uint64_t mz_salt;
        uint64_t mz_normflags;
        uint64_t mz_pad[5];
-       mzap_ent_phys_t mz_chunk[1];
+       union {
+               struct {
+                       mzap_ent_phys_t _mz_chunk[1];
+               };
+               struct {
+                       mzap_ent_phys_t _compiler_needs_this[0];
+                       mzap_ent_phys_t mz_chunk[];
+               };
+       };
        /* actually variable size depending on block size */
 } mzap_phys_t;
tonyhutter commented 2 months ago

This seems to work:

diff --git a/module/Kbuild.in b/module/Kbuild.in
index 9e44364b7..f270e4561 100644
--- a/module/Kbuild.in
+++ b/module/Kbuild.in
@@ -490,6 +490,7 @@ zfs-$(CONFIG_PPC64) += $(addprefix zfs/,$(ZFS_OBJS_PPC_PPC64))
 UBSAN_SANITIZE_zap_leaf.o := n
 UBSAN_SANITIZE_zap_micro.o := n
 UBSAN_SANITIZE_sa.o := n
+UBSAN_SANITIZE_zfs/zap_micro.o = n

 # Suppress incorrect warnings from versions of objtool which are not
 # aware of x86 EVEX prefix instructions used for AVX512.

I'll put together a PR and see how it holds up in ZTS.

ossimoi commented 2 months ago

https://github.com/openzfs/zfs/pull/16330 fixes this for zap_micro.c, but sa.c remains broken?

UBSAN: array-index-out-of-bounds in /var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999/module/zfs/sa.c:340:4
index 1 is out of range for type 'uint16_t [1]'

UBSAN: array-index-out-of-bounds in /var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999/module/zfs/sa.c:1734:24
index 1 is out of range for type 'uint16_t [1]'
thwalker3 commented 1 month ago

To fix both, this should actually be:

diff --git a/module/Kbuild.in b/module/Kbuild.in
index 9e44364b7..4f48cb9da 100644
--- a/module/Kbuild.in
+++ b/module/Kbuild.in
@@ -490,6 +490,8 @@ zfs-$(CONFIG_PPC64) += $(addprefix zfs/,$(ZFS_OBJS_PPC_PPC64))
 UBSAN_SANITIZE_zap_leaf.o := n
 UBSAN_SANITIZE_zap_micro.o := n
 UBSAN_SANITIZE_sa.o := n
+UBSAN_SANITIZE_zfs/zap_micro.o := n
+UBSAN_SANITIZE_zfs/sa.o := n

 # Suppress incorrect warnings from versions of objtool which are not
 # aware of x86 EVEX prefix instructions used for AVX512.
oukb commented 1 month ago

hi errors after patch

[Mon Jul 22 00:46:24 2024] ------------[ cut here ]------------
[Mon Jul 22 00:46:24 2024] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.5/build/module/zfs/sa.c:340:4
[Mon Jul 22 00:46:24 2024] index 1 is out of range for type 'uint16_t [1]'
[Mon Jul 22 00:46:24 2024] CPU: 43 PID: 5214 Comm: daemon-init Tainted: P           OE      6.9.10-100.fc39.x86_64 #1
[Mon Jul 22 00:46:24 2024] Hardware name: Supermicro Super Server/H12SSL-i, BIOS 2.8 02/27/2024
[Mon Jul 22 00:46:24 2024] Call Trace:
[Mon Jul 22 00:46:24 2024]  <TASK>
[Mon Jul 22 00:46:24 2024]  dump_stack_lvl+0x64/0x80
[Mon Jul 22 00:46:24 2024]  __ubsan_handle_out_of_bounds+0x98/0xd0
[Mon Jul 22 00:46:24 2024]  sa_attr_op+0x3ea/0x430 [zfs]
[Mon Jul 22 00:46:24 2024]  sa_size+0x8d/0xf0 [zfs]
[Mon Jul 22 00:46:24 2024]  zfs_sa_get_xattr+0x55/0x110 [zfs]
[Mon Jul 22 00:46:24 2024]  zpl_xattr_get_sa+0x10a/0x150 [zfs]
[Mon Jul 22 00:46:24 2024]  zpl_xattr_get+0x159/0x1f0 [zfs]
[Mon Jul 22 00:46:24 2024]  zpl_xattr_security_get+0x42/0x60 [zfs]
[Mon Jul 22 00:46:24 2024]  __vfs_getxattr+0x7f/0xb0
[Mon Jul 22 00:46:24 2024]  do_getxattr+0xf0/0x180
[Mon Jul 22 00:46:24 2024]  getxattr+0x91/0xd0
[Mon Jul 22 00:46:24 2024]  __x64_sys_fgetxattr+0x79/0xd0
[Mon Jul 22 00:46:24 2024]  do_syscall_64+0x82/0x170
[Mon Jul 22 00:46:24 2024]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[Mon Jul 22 00:46:24 2024] RIP: 0033:0x7f2f16b8204e
[Mon Jul 22 00:46:24 2024] Code: cd 0c 00 f7 d8 64 89 01 b8 ff ff ff ff eb c1 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 49 89 ca b8 c1 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b2 cd 0c 00 f7 d8 64 89 01 48
[Mon Jul 22 00:46:24 2024] RSP: 002b:00007f2ee73ff588 EFLAGS: 00000203 ORIG_RAX: 00000000000000c1
[Mon Jul 22 00:46:24 2024] RAX: ffffffffffffffda RBX: 00007f2ee7400640 RCX: 00007f2f16b8204e
[Mon Jul 22 00:46:24 2024] RDX: 00007f2ea402aaf0 RSI: 00007f2f16880197 RDI: 0000000000000018
[Mon Jul 22 00:46:24 2024] RBP: 00007f2ee73ff600 R08: 00007f2ea402abf0 R09: 00007f2ea4000090
[Mon Jul 22 00:46:24 2024] R10: 00000000000000ff R11: 0000000000000203 R12: 0000000000000018
[Mon Jul 22 00:46:24 2024] R13: 00007f2ea402aaf0 R14: 00000000000000ff R15: 00007f2f16880197
[Mon Jul 22 00:46:24 2024]  </TASK>
[Mon Jul 22 00:46:24 2024] ---[ end trace ]---
[Mon Jul 22 00:46:24 2024] ------------[ cut here ]------------
[Mon Jul 22 00:46:24 2024] UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.5/build/module/zfs/sa.c:1734:24
[Mon Jul 22 00:46:24 2024] index 1 is out of range for type 'uint16_t [1]'
[Mon Jul 22 00:46:24 2024] CPU: 44 PID: 5214 Comm: daemon-init Tainted: P           OE      6.9.10-100.fc39.x86_64 #1
[Mon Jul 22 00:46:24 2024] Hardware name: Supermicro Super Server/H12SSL-i, BIOS 2.8 02/27/2024
[Mon Jul 22 00:46:24 2024] Call Trace:
[Mon Jul 22 00:46:24 2024]  <TASK>
[Mon Jul 22 00:46:24 2024]  dump_stack_lvl+0x64/0x80
[Mon Jul 22 00:46:24 2024]  __ubsan_handle_out_of_bounds+0x98/0xd0
[Mon Jul 22 00:46:24 2024]  sa_find_idx_tab+0x23d/0x260 [zfs]
[Mon Jul 22 00:46:24 2024]  sa_build_index+0x92/0x350 [zfs]
[Mon Jul 22 00:46:24 2024]  sa_handle_get_from_db+0x137/0x1a0 [zfs]
[Mon Jul 22 00:46:24 2024]  zfs_znode_sa_init+0xa2/0xe0 [zfs]
[Mon Jul 22 00:46:24 2024]  zfs_znode_alloc+0x16e/0x7c0 [zfs]
[Mon Jul 22 00:46:24 2024]  zfs_zget+0x246/0x290 [zfs]
[Mon Jul 22 00:46:24 2024]  zfs_dirent_lock+0x504/0x6e0 [zfs]
[Mon Jul 22 00:46:24 2024]  zfs_dirlook+0xb6/0x2f0 [zfs]
[Mon Jul 22 00:46:24 2024]  zfs_lookup+0x264/0x410 [zfs]
[Mon Jul 22 00:46:24 2024]  zpl_lookup+0xe8/0x270 [zfs]
[Mon Jul 22 00:46:24 2024]  ? generic_permission+0x39/0x220
[Mon Jul 22 00:46:24 2024]  __lookup_slow+0x83/0x130
[Mon Jul 22 00:46:24 2024]  walk_component+0xdb/0x150
[Mon Jul 22 00:46:24 2024]  path_lookupat+0x6a/0x1a0
[Mon Jul 22 00:46:24 2024]  ? spl_kmem_cache_alloc+0x69/0x5f0 [spl]
[Mon Jul 22 00:46:24 2024]  filename_lookup+0xde/0x1d0
[Mon Jul 22 00:46:24 2024]  vfs_statx+0x92/0x1c0
[Mon Jul 22 00:46:24 2024]  vfs_fstatat+0x85/0xb0
[Mon Jul 22 00:46:24 2024]  __do_sys_newfstatat+0x3f/0x80
[Mon Jul 22 00:46:24 2024]  do_syscall_64+0x82/0x170
[Mon Jul 22 00:46:24 2024]  ? __x64_sys_close+0x3c/0x80
[Mon Jul 22 00:46:24 2024]  ? kmem_cache_free+0x38c/0x3f0
[Mon Jul 22 00:46:24 2024]  ? syscall_exit_to_user_mode+0x72/0x220
[Mon Jul 22 00:46:24 2024]  ? do_syscall_64+0x8f/0x170
[Mon Jul 22 00:46:24 2024]  ? vfs_read+0x23a/0x370
[Mon Jul 22 00:46:24 2024]  ? syscall_exit_to_user_mode+0x72/0x220
[Mon Jul 22 00:46:24 2024]  ? do_syscall_64+0x8f/0x170
[Mon Jul 22 00:46:24 2024]  ? syscall_exit_to_user_mode+0x72/0x220
[Mon Jul 22 00:46:24 2024]  ? do_syscall_64+0x8f/0x170
[Mon Jul 22 00:46:24 2024]  ? zpl_llseek+0x33/0x120 [zfs]
[Mon Jul 22 00:46:24 2024]  ? syscall_exit_to_user_mode+0x72/0x220
[Mon Jul 22 00:46:24 2024]  ? do_syscall_64+0x8f/0x170
[Mon Jul 22 00:46:24 2024]  ? syscall_exit_to_user_mode+0x72/0x220
[Mon Jul 22 00:46:24 2024]  ? do_syscall_64+0x8f/0x170
[Mon Jul 22 00:46:24 2024]  ? syscall_exit_to_user_mode+0x72/0x220
[Mon Jul 22 00:46:24 2024]  ? do_syscall_64+0x8f/0x170
[Mon Jul 22 00:46:24 2024]  ? do_syscall_64+0x8f/0x170
[Mon Jul 22 00:46:24 2024]  ? do_syscall_64+0x8f/0x170
[Mon Jul 22 00:46:24 2024]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[Mon Jul 22 00:46:24 2024] RIP: 0033:0x7f2f16b7b49e
[Mon Jul 22 00:46:24 2024] Code: 39 0d 00 64 c7 00 09 00 00 00 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 0b 31 c0 c3 0f 1f 84 00 00 00 00 00 48 8b 15 59
[Mon Jul 22 00:46:24 2024] RSP: 002b:00007f2ee73ff638 EFLAGS: 00000206 ORIG_RAX: 0000000000000106
[Mon Jul 22 00:46:24 2024] RAX: ffffffffffffffda RBX: 00007f2ea4035630 RCX: 00007f2f16b7b49e
[Mon Jul 22 00:46:24 2024] RDX: 00007f2ee73ff6b0 RSI: 00007f2ea4035630 RDI: 00000000ffffff9c
[Mon Jul 22 00:46:24 2024] RBP: 00007f2ee73ff690 R08: 00007f2ea4035680 R09: 00007f2ea4000090
[Mon Jul 22 00:46:24 2024] R10: 0000000000000100 R11: 0000000000000206 R12: 00007f2ee73ff6b0
[Mon Jul 22 00:46:24 2024] R13: 0000000000000017 R14: 00007f2ea4035670 R15: 0000000000000001
[Mon Jul 22 00:46:24 2024]  </TASK>
[Mon Jul 22 00:46:24 2024] ---[ end trace ]---
tonyhutter commented 1 month ago

@ossimoi @oukb can you list your kernel and distro? I'm unable to reproduce the sa.c warning on Fedora 40 with 6.9.7 kernel.

siebenmann commented 1 month ago

I am using Fedora 40 with (currently) kernel 6.9.9-200.fc40.x86_64, with what is currently the git tip development version (2.2.99-560_gaea42e137) and I see these sa.c assertions. I see them in three code locations:

UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.99/build/module/zfs/sa.c:340:4
UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.99/build/module/zfs/sa.c:1734:24
UBSAN: array-index-out-of-bounds in /var/lib/dkms/zfs/2.2.99/build/module/zfs/sa.c:766:21

All for 'uint16_t [1]'. Two of the three are clearly accessing ...->sa_lengths[i], while the other is using the SA_ATTR_INFO() macro and I can't tell exactly what is involved.

tonyhutter commented 1 month ago

@siebenmann thanks. Can you walk me though how you are getting those assertions to trigger, and can you also give me the specific command you are using to build ZFS?

tonyhutter commented 1 month ago

Re-opening issue

siebenmann commented 1 month ago

The first two warnings trigger during system boot as my pools are imported and filesystems mounted. The third triggered slightly later, when I logged in and started various programs as part of session startup, but it's possible it would trigger shortly after boot even if I didn't log in (I log in immediately after boot). I'm building ZFS from a git checkout of the development tree with:

./autogen.sh
./configure --with-config=user
make pkg-utils rpm-dkms

Then I 'dnf update' to the new RPMs and let DKMS build the modules. Generally I do this immediately before a kernel update and reboot.

tonyhutter commented 1 month ago

@siebenmann thanks I can reproduce it now with:

truncate -s 100M file
sudo ./zpool create tank `pwd`/file
sudo cp -a /var/log /tank
< out of disk space >
dmesg

@thwalker3 your fix worked for me:

+UBSAN_SANITIZE_zfs/sa.o := n

I'll put together a PR.

oukb commented 1 month ago

@ossimoi @oukb can you list your kernel and distro? I'm unable to reproduce the sa.c warning on Fedora 40 with 6.9.7 kernel.

Fedora 39 kernel 6.9.10