Skip to content

Instantly share code, notes, and snippets.

@eddyz87
Last active September 23, 2024 21:54
Show Gist options
  • Save eddyz87/e638d67454558508451331754f946f41 to your computer and use it in GitHub Desktop.
Save eddyz87/e638d67454558508451331754f946f41 to your computer and use it in GitHub Desktop.
dmesg with error message, kasan enabled
14:38:08 danobi-vmtest$ ./target/debug/vmtest -k /home/eddy/work/bpf-next/arch/x86_64/boot/bzImage "/home/eddy/work/bpf-next/tools/testing/selftests/bpf/test_progs" | tee
=> bzImage
[2024-09-23T21:51:05Z DEBUG vmtest::qemu] rootfs path: "/", init host path: NamedTempFile("//tmp/vmtest-initSbv6x.sh"), init guest path: "/tmp/vmtest-initSbv6x.sh"
[2024-09-23T21:51:05Z DEBUG vmtest::qemu] qemu invocation: qemu-system-x86_64 "-nodefaults" "-display" "none" "-serial" "mon:stdio" "-enable-kvm" "-cpu" "host" "-qmp" "unix:/tmp/qmp-912637.sock,server=on,wait=off" "-chardev" "socket,path=/tmp/qga-684854.sock,server=on,wait=off,id=qga0" "-device" "virtio-serial" "-device" "virtserialport,chardev=qga0,name=org.qemu.guest_agent.0" "-device" "virtio-serial" "-chardev" "socket,path=/tmp/cmdout-198122.sock,server=on,wait=off,id=cmdout" "-device" "virtserialport,chardev=cmdout,name=org.qemu.virtio_serial.0" "-virtfs" "local,id=root,path=/,mount_tag=/dev/root,security_model=none,multidevs=remap" "-kernel" "/home/eddy/work/bpf-next/arch/x86_64/boot/bzImage" "-no-reboot" "-append" "rootfstype=9p rootflags=trans=virtio,cache=mmap,msize=1048576 rw earlyprintk=serial,0,115200 printk.devkmsg=on console=0,115200 loglevel=7 raid=noautodetect init=/tmp/vmtest-initSbv6x.sh panic=-1" "-virtfs" "local,id=shared,path=/home/eddy/work/danobi-vmtest,mount_tag=vmtest-shared,security_model=none,multidevs=remap" "-smp" "2" "-m" "4G"
===> Booting
[2024-09-23T21:51:05Z DEBUG vmtest::qemu] QMP info: QMP {
version: VersionInfo {
package: "qemu-8.2.6-3.fc40",
qemu: VersionTriple {
major: 8,
micro: 6,
minor: 2,
},
},
capabilities: [
Unknown(
String("oob"),
),
],
}
[2024-09-23T21:51:05Z INFO vmtest::qga] Connecting to QGA (0)
No EFI environment detected.
early console in extract_kernel
input_data: 0x00000000055412c4
input_len: 0x00000000016a4c60
output: 0x0000000001000000
output_len: 0x00000000051bbaf4
kernel_total_size: 0x0000000005c30000
needed_size: 0x0000000005e00000
trampoline_32bit: 0x0000000000000000
Physical KASLR using RDRAND RDTSC...
Virtual KASLR using RDRAND RDTSC...
Decompressing Linux... Parsing ELF... Performing relocations... done.
Booting the kernel (entry_offset: 0x000000000000007a).
[ 0.000000] Linux version 6.11.0-08833-gde5cb0dcb74c (eddy@honey-badger) (clang version 20.0.0git (/home/eddy/work/llvm-project/clang ebdb5dac3cff483e68cb8e1f7685e647383f0cb2), LLD 18.1.8) #43 SMP PREEMPT_DYNAMIC Mon Sep 23 14:49:25 PDT 2024
[ 0.000000] Command line: rootfstype=9p rootflags=trans=virtio,cache=mmap,msize=1048576 rw earlyprintk=serial,0,115200 printk.devkmsg=on console=0,115200 loglevel=7 raid=noautodetect init=/tmp/vmtest-initSbv6x.sh panic=-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-0x00000000bffdffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000bffe0000-0x00000000bfffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000013fffffff] usable
[ 0.000000] BIOS-e820: [mem 0x000000fd00000000-0x000000ffffffffff] reserved
[ 0.000000] printk: legacy bootconsole [earlyser0] enabled
[ 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 1.16.3-2.fc40 04/01/2014
[ 0.000000] DMI: Memory slots populated: 1/1
[ 0.000000] Hypervisor detected: KVM
[ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000001] kvm-clock: using sched offset of 213912281 cycles
[ 0.000325] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.001338] tsc: Detected 3700.014 MHz processor
[ 0.001865] last_pfn = 0x140000 max_arch_pfn = 0x400000000
[ 0.002225] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs
[ 0.002748] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.003202] last_pfn = 0xbffe0 max_arch_pfn = 0x400000000
[ 0.004791] found SMP MP-table at [mem 0x000f5400-0x000f540f]
[ 0.005155] Using GB pages for direct mapping
[ 0.005894] ACPI: Early table checksum verification disabled
[ 0.006252] ACPI: RSDP 0x00000000000F5210 000014 (v00 BOCHS )
[ 0.006620] ACPI: RSDT 0x00000000BFFE1C84 000034 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.007156] ACPI: FACP 0x00000000BFFE1B30 000074 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.007699] ACPI: DSDT 0x00000000BFFE0040 001AF0 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.008233] ACPI: FACS 0x00000000BFFE0000 000040
[ 0.008523] ACPI: APIC 0x00000000BFFE1BA4 000080 (v03 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.009057] ACPI: HPET 0x00000000BFFE1C24 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.009590] ACPI: WAET 0x00000000BFFE1C5C 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.010120] ACPI: Reserving FACP table memory at [mem 0xbffe1b30-0xbffe1ba3]
[ 0.010557] ACPI: Reserving DSDT table memory at [mem 0xbffe0040-0xbffe1b2f]
[ 0.010997] ACPI: Reserving FACS table memory at [mem 0xbffe0000-0xbffe003f]
[ 0.011433] ACPI: Reserving APIC table memory at [mem 0xbffe1ba4-0xbffe1c23]
[ 0.011874] ACPI: Reserving HPET table memory at [mem 0xbffe1c24-0xbffe1c5b]
[ 0.012310] ACPI: Reserving WAET table memory at [mem 0xbffe1c5c-0xbffe1c83]
[ 0.012895] No NUMA configuration found
[ 0.013134] Faking a node at [mem 0x0000000000000000-0x000000013fffffff]
[ 0.013554] NODE_DATA(0) allocated [mem 0x13fffa0c0-0x13fffdfff]
[ 0.013948] Zone ranges:
[ 0.014106] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.014490] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.014877] Normal [mem 0x0000000100000000-0x000000013fffffff]
[ 0.015260] Movable zone start for each node
[ 0.015525] Early memory node ranges
[ 0.015749] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.016138] node 0: [mem 0x0000000000100000-0x00000000bffdffff]
[ 0.016526] node 0: [mem 0x0000000100000000-0x000000013fffffff]
[ 0.016918] Initmem setup node 0 [mem 0x0000000000001000-0x000000013fffffff]
[ 0.017474] On node 0, zone DMA: 1 pages in unavailable ranges
[ 0.017937] On node 0, zone DMA: 97 pages in unavailable ranges
[ 0.044751] On node 0, zone Normal: 32 pages in unavailable ranges
[ 0.081072] kasan: KernelAddressSanitizer initialized
[ 0.081581] ACPI: PM-Timer IO Port: 0x608
[ 0.081840] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[ 0.082229] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[ 0.082663] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.083058] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[ 0.083467] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.083880] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[ 0.084299] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[ 0.084726] ACPI: Using ACPI (MADT) for SMP configuration information
[ 0.085123] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.085443] TSC deadline timer available
[ 0.085692] CPU topo: Max. logical packages: 1
[ 0.085984] CPU topo: Max. logical dies: 1
[ 0.086272] CPU topo: Max. dies per package: 1
[ 0.086565] CPU topo: Max. threads per core: 1
[ 0.086853] CPU topo: Num. cores per package: 2
[ 0.087155] CPU topo: Num. threads per package: 2
[ 0.087458] CPU topo: Allowing 2 present CPUs plus 0 hotplug CPUs
[ 0.087862] kvm-guest: APIC: eoi() replaced with kvm_guest_apic_eoi_write()
[ 0.088305] kvm-guest: KVM setup pv remote TLB flush
[ 0.088621] kvm-guest: setup PV sched yield
[ 0.088893] [mem 0xc0000000-0xfeffbfff] available for PCI devices
[ 0.089271] Booting paravirtualized kernel on KVM
[ 0.089569] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[ 0.097341] setup_percpu: NR_CPUS:128 nr_cpumask_bits:2 nr_cpu_ids:2 nr_node_ids:1
[ 0.098077] percpu: Embedded 73 pages/cpu s258832 r8192 d31984 u1048576
[ 0.098522] Kernel command line: rootfstype=9p rootflags=trans=virtio,cache=mmap,msize=1048576 rw earlyprintk=serial,0,115200 printk.devkmsg=on console=0,115200 loglevel=7 raid=noautodetect init=/tmp/vmtest-initSbv6x.sh panic=-1
[ 0.099868] Unknown kernel command line parameters "raid=noautodetect", will be passed to user space.
[ 0.100658] random: crng init done
[ 0.101194] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.101906] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.102457] Fallback order for Node 0: 0
[ 0.102460] Built 1 zonelists, mobility grouping on. Total pages: 1048446
[ 0.103157] Policy zone: Normal
[ 0.103358] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.103793] stackdepot: allocating hash table via alloc_large_system_hash
[ 0.104225] stackdepot hash table entries: 1048576 (order: 12, 16777216 bytes, linear)
[ 0.105835] software IO TLB: area num 2.
[ 0.160294] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Poking KASLR using RDRAND RDTSC...
[ 0.161045] ftrace: allocating 41433 entries in 162 pages
[ 0.161525] ftrace: allocated 162 pages with 3 groups
[ 0.161954] Dynamic Preempt: full
[ 0.162426] Running RCU self tests
[ 0.162652] Running RCU synchronous self tests
[ 0.162941] rcu: Preemptible hierarchical RCU implementation.
[ 0.163306] rcu: RCU event tracing is enabled.
[ 0.163598] rcu: RCU lockdep checking is enabled.
[ 0.163902] rcu: RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=2.
[ 0.164327] Trampoline variant of Tasks RCU enabled.
[ 0.164652] Rude variant of Tasks RCU enabled.
[ 0.164939] Tracing variant of Tasks RCU enabled.
[ 0.165244] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[ 0.165732] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.166191] Running RCU synchronous self tests
[ 0.166478] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[ 0.167037] RCU Tasks Rude: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[ 0.167623] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[ 0.178475] NR_IRQS: 8448, nr_irqs: 440, preallocated irqs: 16
[ 0.179137] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.179979] Console: colour *CGA 80x25
[ 0.180284] printk: legacy console [ttyS0] enabled
[ 0.180284] printk: legacy console [ttyS0] enabled
[ 0.180906] printk: legacy bootconsole [earlyser0] disabled
[ 0.180906] printk: legacy bootconsole [earlyser0] disabled
[ 0.181626] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.182120] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.182384] ... MAX_LOCK_DEPTH: 48
[ 0.182657] ... MAX_LOCKDEP_KEYS: 8192
[ 0.182938] ... CLASSHASH_SIZE: 4096
[ 0.183219] ... MAX_LOCKDEP_ENTRIES: 32768
[ 0.183506] ... MAX_LOCKDEP_CHAINS: 65536
[ 0.183796] ... CHAINHASH_SIZE: 32768
[ 0.184083] memory used by lock dependency info: 6429 kB
[ 0.184429] memory used for stack traces: 4224 kB
[ 0.184740] per task-struct memory footprint: 1920 bytes
[ 0.185117] ACPI: Core revision 20240827
[ 0.185598] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 0.186312] APIC: Switch to symmetric I/O mode setup
[ 0.186653] kvm-guest: APIC: send_IPI_mask() replaced with kvm_send_ipi_mask()
[ 0.187118] kvm-guest: APIC: send_IPI_mask_allbutself() replaced with kvm_send_ipi_mask_allbutself()
[ 0.187709] kvm-guest: setup PV IPIs
[ 0.188777] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.189181] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x6aaac4c722d, max_idle_ns: 881590506591 ns
[ 0.189889] Calibrating delay loop (skipped) preset value.. 7400.02 BogoMIPS (lpj=3700014)
[ 0.190966] x86/cpu: User Mode Instruction Prevention (UMIP) activated
[ 0.191473] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127
[ 0.191883] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0
[ 0.192312] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.192884] Spectre V2 : WARNING: Unprivileged eBPF is enabled with eIBRS on, data leaks possible via Spectre v2 BHB attacks!
[ 0.193610] Spectre V2 : Mitigation: Enhanced / Automatic IBRS
[ 0.193883] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.194418] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[ 0.194884] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl
[ 0.195430] Speculative Return Stack Overflow: IBPB-extending microcode not applied!
[ 0.195883] Speculative Return Stack Overflow: WARNING: See https://kernel.org/doc/html/latest/admin-guide/hw-vuln/srso.html for mitigation options.
[ 0.195886] Speculative Return Stack Overflow: Vulnerable: Safe RET, no microcode
[ 0.197385] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.197883] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.198290] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.198883] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'
[ 0.199296] x86/fpu: Supporting XSAVE feature 0x040: 'AVX-512 Hi256'
[ 0.199700] x86/fpu: Supporting XSAVE feature 0x080: 'AVX-512 ZMM_Hi256'
[ 0.199883] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'
[ 0.200381] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.200883] x86/fpu: xstate_offset[5]: 832, xstate_sizes[5]: 64
[ 0.201279] x86/fpu: xstate_offset[6]: 896, xstate_sizes[6]: 512
[ 0.201883] x86/fpu: xstate_offset[7]: 1408, xstate_sizes[7]: 1024
[ 0.202281] x86/fpu: xstate_offset[9]: 2432, xstate_sizes[9]: 8
[ 0.202675] x86/fpu: Enabled xstate features 0x2e7, context size is 2440 bytes, using 'compacted' format.
[ 0.228461] Freeing SMP alternatives memory: 40K
[ 0.228764] pid_max: default: 32768 minimum: 301
[ 0.229004] LSM: initializing lsm=capability,selinux,bpf,ima
[ 0.229466] SELinux: Initializing.
[ 0.231617] LSM support for eBPF active
[ 0.232062] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.232547] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.234681] Running RCU synchronous self tests
[ 0.234888] Running RCU synchronous self tests
[ 0.235486] smpboot: CPU0: AMD Ryzen 9 7900 12-Core Processor (family: 0x19, model: 0x61, stepping: 0x2)
[ 0.236545] Running RCU Tasks wait API self tests
[ 0.338961] Running RCU Tasks Rude wait API self tests
[ 0.339412] Running RCU Tasks Trace wait API self tests
[ 0.339820] Performance Events: Fam17h+ core perfctr, AMD PMU driver.
[ 0.340339] ... version: 0
[ 0.340609] ... bit width: 48
[ 0.340887] ... generic registers: 6
[ 0.341163] ... value mask: 0000ffffffffffff
[ 0.341519] ... max period: 00007fffffffffff
[ 0.341860] ... fixed-purpose events: 0
[ 0.341887] ... event mask: 000000000000003f
[ 0.342565] signal: max sigframe size: 2976
[ 0.342997] rcu: Hierarchical SRCU implementation.
[ 0.343309] rcu: Max phase no-delay instances is 400.
[ 0.344058] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 0.344905] Callback from call_rcu_tasks_trace() invoked.
[ 0.351450] smp: Bringing up secondary CPUs ...
[ 0.352400] smpboot: x86: Booting SMP configuration:
[ 0.352743] .... node #0, CPUs: #1
[ 0.353155] smp: Brought up 1 node, 2 CPUs
[ 0.353898] smpboot: Total of 2 processors activated (14800.05 BogoMIPS)
[ 0.354786] Memory: 3402328K/4193784K available (36864K kernel code, 14183K rwdata, 13280K rodata, 5504K init, 16564K bss, 786128K reserved, 0K cma-reserved)
[ 0.356494] devtmpfs: initialized
[ 0.361195] Running RCU synchronous self tests
[ 0.361561] Running RCU synchronous self tests
[ 0.361935] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.362581] futex hash table entries: 512 (order: 4, 65536 bytes, linear)
[ 0.365167] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.366888] audit: initializing netlink subsys (disabled)
[ 0.367900] audit: type=2000 audit(1727128265.781:1): state=initialized audit_enabled=0 res=1
[ 0.368571] thermal_sys: Registered thermal governor 'step_wise'
[ 0.368577] thermal_sys: Registered thermal governor 'user_space'
[ 0.368990] cpuidle: using governor ladder
[ 0.369609] cpuidle: using governor menu
[ 0.370550] PCI: Using configuration type 1 for base access
[ 0.370891] PCI: Using configuration type 1 for extended access
[ 0.371401] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 0.377903] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.377903] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.378888] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.379354] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.385498] ACPI: Added _OSI(Module Device)
[ 0.385802] ACPI: Added _OSI(Processor Device)
[ 0.385889] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.386213] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.410972] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 0.417693] ACPI: Interpreter enabled
[ 0.418023] ACPI: PM: (supports S0 S3 S5)
[ 0.418316] ACPI: Using IOAPIC for interrupt routing
[ 0.418764] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.418887] PCI: Using E820 reservations for host bridge windows
[ 0.420724] ACPI: Enabled 2 GPEs in block 00 to 0F
[ 0.470890] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.471365] acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
[ 0.473427] PCI host bridge to bus 0000:00
[ 0.473809] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 0.473892] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 0.474362] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 0.474888] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]
[ 0.475406] pci_bus 0000:00: root bus resource [mem 0x380000000000-0x38007fffffff window]
[ 0.475892] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.476478] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000 conventional PCI endpoint
[ 0.478557] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100 conventional PCI endpoint
[ 0.480352] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180 conventional PCI endpoint
[ 0.483392] pci 0000:00:01.1: BAR 4 [io 0xc100-0xc10f]
[ 0.484350] pci 0000:00:01.1: BAR 0 [io 0x01f0-0x01f7]: legacy IDE quirk
[ 0.484820] pci 0000:00:01.1: BAR 1 [io 0x03f6]: legacy IDE quirk
[ 0.484888] pci 0000:00:01.1: BAR 2 [io 0x0170-0x0177]: legacy IDE quirk
[ 0.485353] pci 0000:00:01.1: BAR 3 [io 0x0376]: legacy IDE quirk
[ 0.486947] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000 conventional PCI endpoint
[ 0.487780] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI
[ 0.487892] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB
[ 0.489588] pci 0000:00:02.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint
[ 0.491891] pci 0000:00:02.0: BAR 0 [io 0xc000-0xc03f]
[ 0.492891] pci 0000:00:02.0: BAR 1 [mem 0xfebfc000-0xfebfcfff]
[ 0.494888] pci 0000:00:02.0: BAR 4 [mem 0x380000000000-0x380000003fff 64bit pref]
[ 0.513821] pci 0000:00:03.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint
[ 0.514588] pci 0000:00:03.0: BAR 0 [io 0xc040-0xc07f]
[ 0.515520] pci 0000:00:03.0: BAR 1 [mem 0xfebfd000-0xfebfdfff]
[ 0.518534] pci 0000:00:03.0: BAR 4 [mem 0x380000004000-0x380000007fff 64bit pref]
[ 0.537034] pci 0000:00:04.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint
[ 0.538201] pci 0000:00:04.0: BAR 0 [io 0xc080-0xc0bf]
[ 0.538887] pci 0000:00:04.0: BAR 1 [mem 0xfebfe000-0xfebfefff]
[ 0.541887] pci 0000:00:04.0: BAR 4 [mem 0x380000008000-0x38000000bfff 64bit pref]
[ 0.559816] pci 0000:00:05.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint
[ 0.560595] pci 0000:00:05.0: BAR 0 [io 0xc0c0-0xc0ff]
[ 0.561571] pci 0000:00:05.0: BAR 1 [mem 0xfebff000-0xfebfffff]
[ 0.564507] pci 0000:00:05.0: BAR 4 [mem 0x38000000c000-0x38000000ffff 64bit pref]
[ 0.586318] ACPI: PCI: Interrupt link LNKA configured for IRQ 10
[ 0.588195] ACPI: PCI: Interrupt link LNKB configured for IRQ 10
[ 0.589969] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[ 0.591751] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[ 0.592426] ACPI: PCI: Interrupt link LNKS configured for IRQ 9
[ 0.596954] iommu: Default domain type: Translated
[ 0.597888] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.599220] SCSI subsystem initialized
[ 0.599517] pps_core: LinuxPPS API ver. 1 registered
[ 0.599590] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.600921] PTP clock support registered
[ 0.603092] NetLabel: Initializing
[ 0.603343] NetLabel: domain hash size = 128
[ 0.603644] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.604058] NetLabel: unlabeled traffic allowed by default
[ 0.604423] PCI: Using ACPI for IRQ routing
[ 0.605077] vgaarb: loaded
[ 0.605180] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 0.605891] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[ 0.610884] clocksource: Switched to clocksource kvm-clock
[ 0.614403] pnp: PnP ACPI init
[ 0.618928] pnp: PnP ACPI: found 5 devices
[ 0.639179] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 0.640149] NET: Registered PF_INET protocol family
[ 0.640747] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.650413] Callback from call_rcu_tasks() invoked.
[ 0.650476] tcp_listen_portaddr_hash hash table entries: 2048 (order: 5, 147456 bytes, linear)
[ 0.651540] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.652104] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.652761] TCP bind hash table entries: 32768 (order: 10, 4718592 bytes, vmalloc hugepage)
[ 0.656029] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.656911] MPTCP token hash table entries: 4096 (order: 6, 360448 bytes, linear)
[ 0.657671] UDP hash table entries: 2048 (order: 6, 327680 bytes, linear)
[ 0.658337] UDP-Lite hash table entries: 2048 (order: 6, 327680 bytes, linear)
[ 0.659208] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.659691] NET: Registered PF_XDP protocol family
[ 0.660037] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]
[ 0.660485] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]
[ 0.660910] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[ 0.661396] pci_bus 0000:00: resource 7 [mem 0xc0000000-0xfebfffff window]
[ 0.661867] pci_bus 0000:00: resource 8 [mem 0x380000000000-0x38007fffffff window]
[ 0.662784] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.663192] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.663656] PCI: CLS 0 bytes, default 64
[ 0.663992] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.664450] software IO TLB: mapped [mem 0x00000000bbfe0000-0x00000000bffe0000] (64MB)
[ 0.665017] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6aaac4c722d, max_idle_ns: 881590506591 ns
[ 0.669411] Initialise system trusted keyrings
[ 0.669989] workingset: timestamp_bits=40 max_order=20 bucket_order=0
[ 0.672059] 9p: Installing v9fs 9p2000 file system support
[ 0.679660] NET: Registered PF_ALG protocol family
[ 0.680014] Key type asymmetric registered
[ 0.680325] Asymmetric key parser 'x509' registered
[ 0.680757] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.681498] io scheduler mq-deadline registered
[ 0.681835] io scheduler kyber registered
[ 0.683193] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 0.687757] ACPI: button: Power Button [PWRF]
[ 1.915942] ACPI: _SB_.LNKB: Enabled at IRQ 10
[ 3.142393] ACPI: _SB_.LNKC: Enabled at IRQ 11
[ 4.367950] ACPI: _SB_.LNKD: Enabled at IRQ 11
[2024-09-23T21:51:10Z WARN vmtest::qga] QGA sync failed, retrying: Resource temporarily unavailable (os error 11)
[ 5.594630] ACPI: _SB_.LNKA: Enabled at IRQ 10
[ 5.688355] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 5.689828] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 5.738689] Linux agpgart interface v0.103
[ 5.758700] brd: module loaded
[ 5.771329] loop: module loaded
[ 5.776734] tun: Universal TUN/TAP device driver, 1.6
[ 5.777554] e1000: Intel(R) PRO/1000 Network Driver
[ 5.777898] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 5.778794] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[ 5.780221] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 5.780656] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 5.782689] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 5.783821] Registered IR keymap rc-empty
[ 5.784320] rc rc0: rc-core loopback device as /devices/virtual/rc/rc0
[ 5.785010] rc rc0: lirc_dev: driver rc-loopback registered at minor = 0, raw IR receiver, raw IR transmitter
[ 5.786188] input: rc-core loopback device as /devices/virtual/rc/rc0/input2
[ 5.787855] intel_powerclamp: CPU does not support MWAIT
[ 5.788255] amd_pstate: The CPPC feature is supported but currently disabled by the BIOS.
[ 5.788255] Please enable it if your BIOS has the CPPC option.
[ 5.789240] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled
[ 5.793145] ipip: IPv4 and MPLS over IPv4 tunneling driver
[ 5.794672] gre: GRE over IPv4 demultiplexor driver
[ 5.795014] ip_gre: GRE over IPv4 tunneling driver
[ 5.799315] Initializing XFRM netlink socket
[ 5.799663] IPsec XFRM device driver
[ 5.800067] NET: Registered PF_INET6 protocol family
[ 5.804260] Segment Routing with IPv6
[ 5.804624] In-situ OAM (IOAM) with IPv6
[ 5.804966] mip6: Mobile IPv6
[ 5.805245] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 5.807618] ip6_gre: GRE over IPv6 tunneling driver
[ 5.808935] NET: Registered PF_PACKET protocol family
[ 5.810527] 8021q: 802.1Q VLAN Support v1.8
[ 5.810895] 9pnet: Installing 9P2000 support
[ 5.813487] Key type dns_resolver registered
[ 5.814056] NET: Registered PF_VSOCK protocol family
[ 5.814461] mpls_gso: MPLS GSO support
[ 5.816096] IPI shorthand broadcast: enabled
[ 5.837731] sched_clock: Marking stable (5830003502, 7288998)->(5841666985, -4374485)
[ 5.839406] registered taskstats version 1
[ 5.858981] Loading compiled-in X.509 certificates
[ 5.861542] Loaded X.509 cert 'Build time autogenerated kernel key: 89f5360967344d2fbc60ad4332ced4e967a34a42'
[ 5.901337] Demotion targets for Node 0: null
[ 5.902162] ima: No TPM chip found, activating TPM-bypass!
[ 5.902595] ima: Allocated hash algorithm: sha1
[ 5.902971] ima: No architecture policies found
[2024-09-23T21:51:11Z INFO vmtest::qga] Connecting to QGA (1)
[ 6.204489] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4
[ 6.205964] 9pnet_virtio: no channels available for device
[ 6.206464] 9pnet: Limiting 'msize' to 512000 as this is the maximum supported by transport virtio
[ 6.208629] VFS: Mounted root (9p filesystem) on device 0:21.
[ 6.209659] devtmpfs: mounted
[ 6.222411] Freeing unused kernel image (initmem) memory: 5504K
[ 6.222742] Write protecting the kernel read-only data: 51200k
[ 6.223887] Freeing unused kernel image (rodata/data gap) memory: 1056K
[ 6.224271] Run /tmp/vmtest-initSbv6x.sh as init process
[ 6.229108] ==================================================================
[ 6.229506] BUG: KASAN: use-after-free in iov_iter_zero (lib/iov_iter.c:0 ./include/linux/iov_iter.h:173 ./include/linux/iov_iter.h:308 ./include/linux/iov_iter.h:328 lib/iov_iter.c:455)
[ 6.229856] Write of size 4096 at addr ffff88811b24c000 by task swapper/0/1
[ 6.230227]
[ 6.230750] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-2.fc40 04/01/2014
[ 6.231209] Call Trace:
[ 6.231345] <TASK>
[ 6.231463] dump_stack_lvl (lib/dump_stack.c:123)
[ 6.231665] print_report (mm/kasan/report.c:378 mm/kasan/report.c:488)
[ 6.231859] ? iov_iter_zero (lib/iov_iter.c:0 ./include/linux/iov_iter.h:173 ./include/linux/iov_iter.h:308 ./include/linux/iov_iter.h:328 lib/iov_iter.c:455)
[ 6.232072] kasan_report (mm/kasan/report.c:603)
[ 6.232274] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4465)
[ 6.232506] ? iov_iter_zero (lib/iov_iter.c:0 ./include/linux/iov_iter.h:173 ./include/linux/iov_iter.h:308 ./include/linux/iov_iter.h:328 lib/iov_iter.c:455)
[ 6.232722] kasan_check_range (mm/kasan/generic.c:0 mm/kasan/generic.c:189)
[ 6.232940] __asan_memset (mm/kasan/shadow.c:84)
[ 6.233132] iov_iter_zero (lib/iov_iter.c:0 ./include/linux/iov_iter.h:173 ./include/linux/iov_iter.h:308 ./include/linux/iov_iter.h:328 lib/iov_iter.c:455)
[ 6.233345] ? kmem_cache_alloc_noprof (./include/trace/events/kmem.h:12 mm/slub.c:4145)
[ 6.233601] netfs_read_subreq_terminated (fs/netfs/read_collect.c:25 fs/netfs/read_collect.c:489)
[ 6.233872] v9fs_issue_read (fs/9p/vfs_addr.c:87)
[ 6.234083] netfs_read_to_pagecache (fs/netfs/buffered_read.c:287)
[ 6.234336] netfs_readahead (fs/netfs/buffered_read.c:0)
[ 6.234548] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:182)
[ 6.234800] ? mark_lock (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228 kernel/locking/lockdep.c:4700)
[ 6.234989] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:182)
[ 6.235246] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:182)
[ 6.235499] ? __asan_memset (mm/kasan/shadow.c:84)
[ 6.235699] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:182)
[ 6.235952] read_pages (mm/readahead.c:160)
[ 6.236137] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:182)
[ 6.236395] ? __folio_batch_add_and_move (./arch/x86/include/asm/preempt.h:103 mm/swap.c:246)
[ 6.236664] page_cache_ra_unbounded (mm/readahead.c:0)
[ 6.236914] filemap_get_pages (mm/filemap.c:2545)
[ 6.237136] ? mark_lock (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228 kernel/locking/lockdep.c:4700)
[ 6.237341] filemap_read (mm/filemap.c:0)
[ 6.237538] ? kernel_init (init/main.c:1510)
[ 6.237751] netfs_file_read_iter (fs/netfs/buffered_read.c:878 fs/netfs/buffered_read.c:914)
[ 6.237989] __kernel_read (fs/read_write.c:527)
[ 6.238201] bprm_execve (fs/exec.c:1687 fs/exec.c:1736 fs/exec.c:1794 fs/exec.c:1845)
[ 6.238407] kernel_execve (fs/exec.c:0)
[ 6.238614] ? __pfx_kernel_init (init/main.c:1461)
[ 6.238832] kernel_init (init/main.c:1510)
[ 6.239025] ret_from_fork (arch/x86/kernel/process.c:147)
[ 6.239225] ? __pfx_kernel_init (init/main.c:1461)
[ 6.239443] ret_from_fork_asm (arch/x86/entry/entry_64.S:257)
[ 6.239660] </TASK>
[ 6.239782]
[ 6.239869] The buggy address belongs to the physical page:
[ 6.240158] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11b24c
[ 6.240581] flags: 0x2fffe0000000000(node=0|zone=2|lastcpupid=0x7fff)
[ 6.240922] raw: 02fffe0000000000 ffffea00046c9348 ffffea00048f9048 0000000000000000
[ 6.241325] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
[ 6.241722] page dumped because: kasan: bad access detected
[ 6.242011]
[ 6.242098] Memory state around the buggy address:
[ 6.242353] ffff88811b24bf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 6.242724] ffff88811b24bf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 6.243087] >ffff88811b24c000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 6.243463] ^
[ 6.243638] ffff88811b24c080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 6.244015] ffff88811b24c100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 6.244390] ==================================================================
[ 6.244836] Disabling lock debugging due to kernel taint
[ 6.247476] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN NOPTI
[ 6.248099] KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
[ 6.249040] Tainted: [B]=BAD_PAGE
[ 6.249223] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-2.fc40 04/01/2014
[ 6.249681] RIP: 0010:__rmqueue_pcplist (./include/linux/list.h:195 ./include/linux/list.h:218 ./include/linux/list.h:229 mm/page_alloc.c:2993)
[ 6.249950] Code: c1 e8 03 80 3c 30 00 74 12 4c 89 f7 e8 9f cf 07 00 48 be 00 00 00 00 00 fc ff df 4d 8b 26 4d 8d 7c 24 08 4c 89 f8 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 ff e8 68 d0 07 00 48 be 00 00 00 00 00 fc
All code
========
0: c1 e8 03 shr $0x3,%eax
3: 80 3c 30 00 cmpb $0x0,(%rax,%rsi,1)
7: 74 12 je 0x1b
9: 4c 89 f7 mov %r14,%rdi
c: e8 9f cf 07 00 call 0x7cfb0
11: 48 be 00 00 00 00 00 movabs $0xdffffc0000000000,%rsi
18: fc ff df
1b: 4d 8b 26 mov (%r14),%r12
1e: 4d 8d 7c 24 08 lea 0x8(%r12),%r15
23: 4c 89 f8 mov %r15,%rax
26: 48 c1 e8 03 shr $0x3,%rax
2a:* 80 3c 30 00 cmpb $0x0,(%rax,%rsi,1) <-- trapping instruction
2e: 74 12 je 0x42
30: 4c 89 ff mov %r15,%rdi
33: e8 68 d0 07 00 call 0x7d0a0
38: 48 rex.W
39: be 00 00 00 00 mov $0x0,%esi
3e: 00 fc add %bh,%ah
Code starting with the faulting instruction
===========================================
0: 80 3c 30 00 cmpb $0x0,(%rax,%rsi,1)
4: 74 12 je 0x18
6: 4c 89 ff mov %r15,%rdi
9: e8 68 d0 07 00 call 0x7d076
e: 48 rex.W
f: be 00 00 00 00 mov $0x0,%esi
14: 00 fc add %bh,%ah
[ 6.250911] RSP: 0018:ffff888100327160 EFLAGS: 00010212
[ 6.251188] RAX: 0000000000000001 RBX: ffff88811b3436f0 RCX: ffffffff955131e8
[ 6.251557] RDX: 0000000000000001 RSI: dffffc0000000000 RDI: ffffea00046cd310
[ 6.251927] RBP: ffff88811b3436f0 R08: 0000000000000000 R09: ffff88811b3436f0
[ 6.252301] R10: 0000000000000000 R11: 0000000000000010 R12: 0000000000000000
[ 6.252671] R13: ffff88811b3436d0 R14: ffffea00046cd308 R15: 0000000000000008
[ 6.253041] FS: 0000000000000000(0000) GS:ffff88811b300000(0000) knlGS:0000000000000000
[ 6.253459] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6.253758] CR2: 00005564574117d0 CR3: 00000001067d8000 CR4: 0000000000750ef0
[ 6.254128] PKRU: 55555554
[ 6.254279] Call Trace:
[ 6.254414] <TASK>
[ 6.254532] ? __die_body (arch/x86/kernel/dumpstack.c:0 arch/x86/kernel/dumpstack.c:420)
[ 6.254720] ? die_addr (arch/x86/kernel/dumpstack.c:0)
[ 6.254901] ? exc_general_protection (arch/x86/kernel/traps.c:751 arch/x86/kernel/traps.c:693)
[ 6.255148] ? kasan_save_track (mm/kasan/common.c:48 mm/kasan/common.c:68)
[ 6.255369] ? asm_exc_page_fault (./arch/x86/include/asm/idtentry.h:623)
[ 6.255591] ? asm_exc_general_protection (./arch/x86/include/asm/idtentry.h:617)
[ 6.255851] ? __rmqueue_pcplist (./include/linux/list.h:195 ./include/linux/list.h:218 ./include/linux/list.h:229 mm/page_alloc.c:2993)
[ 6.256093] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:182)
[ 6.256356] get_page_from_freelist (mm/page_alloc.c:3025 mm/page_alloc.c:3056 mm/page_alloc.c:3454)
[ 6.256604] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:182)
[ 6.256861] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:182)
[ 6.257111] ? prepare_alloc_pages (./include/linux/kernel.h:73 ./include/linux/sched/mm.h:330 mm/page_alloc.c:4493)
[ 6.257354] __alloc_pages_noprof (mm/page_alloc.c:4734)
[ 6.257589] alloc_pages_mpol_noprof (mm/mempolicy.c:2267)
[ 6.257834] folio_alloc_noprof (mm/mempolicy.c:2345 mm/mempolicy.c:2352)
[ 6.258054] page_cache_ra_unbounded (mm/readahead.c:265)
[ 6.258308] do_sync_mmap_readahead (mm/filemap.c:3200)
[ 6.258555] filemap_fault (mm/filemap.c:3339)
[ 6.258758] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:182)
[ 6.259012] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:182)
[ 6.259269] __do_fault (mm/memory.c:4876)
[ 6.259459] do_pte_missing (mm/memory.c:5312 mm/memory.c:5418 mm/memory.c:3965)
[ 6.259674] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:182)
[ 6.259925] ? __thp_vma_allowable_orders (./arch/x86/include/asm/bitops.h:206 ./arch/x86/include/asm/bitops.h:238 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 mm/huge_memory.c:118)
[ 6.260195] ? _raw_spin_unlock (./arch/x86/include/asm/preempt.h:103 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186)
[ 6.260408] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:182)
[ 6.260662] handle_mm_fault (mm/memory.c:5767 mm/memory.c:5894 mm/memory.c:6062)
[ 6.260876] ? handle_mm_fault (./arch/x86/include/asm/current.h:49 mm/memory.c:6035)
[ 6.261101] ? srso_alias_return_thunk (arch/x86/lib/retpoline.S:182)
[ 6.261357] do_user_addr_fault (arch/x86/mm/fault.c:0)
[ 6.261582] ? lock_release (./include/trace/events/lock.h:69 kernel/locking/lockdep.c:5833)
[ 6.261786] exc_page_fault (./arch/x86/include/asm/irqflags.h:19 ./arch/x86/include/asm/irqflags.h:87 ./arch/x86/include/asm/irqflags.h:147 arch/x86/mm/fault.c:1489 arch/x86/mm/fault.c:1539)
[ 6.261987] asm_exc_page_fault (./arch/x86/include/asm/idtentry.h:623)
[ 6.262203] RIP: 0010:elf_load (./arch/x86/include/asm/uaccess_64.h:183 ./arch/x86/include/asm/uaccess_64.h:200 fs/binfmt_elf.c:125 fs/binfmt_elf.c:421)
[ 6.262422] Code: 88 da 00 00 00 41 be 00 10 00 00 49 29 c6 48 c7 c7 80 3a 54 95 be b0 00 00 00 e8 24 b7 d8 ff 0f 01 cb 31 c0 4c 89 e7 4c 89 f1 <f3> aa 0f 1f 00 0f 01 ca f6 04 24 02 74 17 48 c7 c0 f2 ff ff ff 48
All code
========
0: 88 da mov %bl,%dl
2: 00 00 add %al,(%rax)
4: 00 41 be add %al,-0x42(%rcx)
7: 00 10 add %dl,(%rax)
9: 00 00 add %al,(%rax)
b: 49 29 c6 sub %rax,%r14
e: 48 c7 c7 80 3a 54 95 mov $0xffffffff95543a80,%rdi
15: be b0 00 00 00 mov $0xb0,%esi
1a: e8 24 b7 d8 ff call 0xffffffffffd8b743
1f: 0f 01 cb stac
22: 31 c0 xor %eax,%eax
24: 4c 89 e7 mov %r12,%rdi
27: 4c 89 f1 mov %r14,%rcx
2a:* f3 aa rep stos %al,%es:(%rdi) <-- trapping instruction
2c: 0f 1f 00 nopl (%rax)
2f: 0f 01 ca clac
32: f6 04 24 02 testb $0x2,(%rsp)
36: 74 17 je 0x4f
38: 48 c7 c0 f2 ff ff ff mov $0xfffffffffffffff2,%rax
3f: 48 rex.W
Code starting with the faulting instruction
===========================================
0: f3 aa rep stos %al,%es:(%rdi)
2: 0f 1f 00 nopl (%rax)
5: 0f 01 ca clac
8: f6 04 24 02 testb $0x2,(%rsp)
c: 74 17 je 0x25
e: 48 c7 c0 f2 ff ff ff mov $0xfffffffffffffff2,%rax
15: 48 rex.W
[ 6.263372] RSP: 0018:ffff888100327bb0 EFLAGS: 00050246
[ 6.263645] RAX: 0000000000000000 RBX: 000055645741c7d8 RCX: 0000000000000830
[ 6.264013] RDX: 0000000000000000 RSI: ffffffff955cd640 RDI: 00005564574117d0
[ 6.264384] RBP: dffffc0000000000 R08: ffffffff96fced2f R09: 1ffffffff2df9da5
[ 6.264752] R10: dffffc0000000000 R11: fffffbfff2df9da6 R12: 00005564574117d0
[ 6.265120] R13: 0000556457405000 R14: 0000000000000830 R15: ffff888107265918
[ 6.265499] load_elf_binary (fs/binfmt_elf.c:1167)
[ 6.265723] bprm_execve (fs/exec.c:1752 fs/exec.c:1794 fs/exec.c:1845)
[ 6.265927] kernel_execve (fs/exec.c:0)
[ 6.266131] ? __pfx_kernel_init (init/main.c:1461)
[ 6.266351] kernel_init (init/main.c:1510)
[ 6.266543] ret_from_fork (arch/x86/kernel/process.c:147)
[ 6.266735] ? __pfx_kernel_init (init/main.c:1461)
[ 6.266951] ret_from_fork_asm (arch/x86/entry/entry_64.S:257)
[ 6.267165] </TASK>
[ 6.267288] Modules linked in:
[ 6.267539] ---[ end trace 0000000000000000 ]---
[ 6.267782] RIP: 0010:__rmqueue_pcplist (./include/linux/list.h:195 ./include/linux/list.h:218 ./include/linux/list.h:229 mm/page_alloc.c:2993)
[ 6.268046] Code: c1 e8 03 80 3c 30 00 74 12 4c 89 f7 e8 9f cf 07 00 48 be 00 00 00 00 00 fc ff df 4d 8b 26 4d 8d 7c 24 08 4c 89 f8 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 ff e8 68 d0 07 00 48 be 00 00 00 00 00 fc
All code
========
0: c1 e8 03 shr $0x3,%eax
3: 80 3c 30 00 cmpb $0x0,(%rax,%rsi,1)
7: 74 12 je 0x1b
9: 4c 89 f7 mov %r14,%rdi
c: e8 9f cf 07 00 call 0x7cfb0
11: 48 be 00 00 00 00 00 movabs $0xdffffc0000000000,%rsi
18: fc ff df
1b: 4d 8b 26 mov (%r14),%r12
1e: 4d 8d 7c 24 08 lea 0x8(%r12),%r15
23: 4c 89 f8 mov %r15,%rax
26: 48 c1 e8 03 shr $0x3,%rax
2a:* 80 3c 30 00 cmpb $0x0,(%rax,%rsi,1) <-- trapping instruction
2e: 74 12 je 0x42
30: 4c 89 ff mov %r15,%rdi
33: e8 68 d0 07 00 call 0x7d0a0
38: 48 rex.W
39: be 00 00 00 00 mov $0x0,%esi
3e: 00 fc add %bh,%ah
Code starting with the faulting instruction
===========================================
0: 80 3c 30 00 cmpb $0x0,(%rax,%rsi,1)
4: 74 12 je 0x18
6: 4c 89 ff mov %r15,%rdi
9: e8 68 d0 07 00 call 0x7d076
e: 48 rex.W
f: be 00 00 00 00 mov $0x0,%esi
14: 00 fc add %bh,%ah
[ 6.269004] RSP: 0018:ffff888100327160 EFLAGS: 00010212
[ 6.269281] RAX: 0000000000000001 RBX: ffff88811b3436f0 RCX: ffffffff955131e8
[ 6.269657] RDX: 0000000000000001 RSI: dffffc0000000000 RDI: ffffea00046cd310
[ 6.270026] RBP: ffff88811b3436f0 R08: 0000000000000000 R09: ffff88811b3436f0
[ 6.270404] R10: 0000000000000000 R11: 0000000000000010 R12: 0000000000000000
[ 6.270771] R13: ffff88811b3436d0 R14: ffffea00046cd308 R15: 0000000000000008
[ 6.271138] FS: 0000000000000000(0000) GS:ffff88811b300000(0000) knlGS:0000000000000000
[ 6.271561] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6.271860] CR2: 00005564574117d0 CR3: 00000001067d8000 CR4: 0000000000750ef0
[ 6.272232] PKRU: 55555554
[ 6.272386] Kernel panic - not syncing: Fatal exception
[ 6.272786] Kernel Offset: 0x12000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment