early console in setup code Linux version 6.14.0-11173-g731bdd97466a (kbuild@29d769556755) (clang version 20.1.2 (git://gitmirror/llvm_project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247), LLD 20.1.2 (git://gitmirror/llvm_project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)) #1 PREEMPT_DYNAMIC Wed Jun 11 15:52:57 CST 2025 ------------[ cut here ]------------ UBSAN: negation-overflow in lib/sort.c:222:36 negation of 12 cannot be represented in type 'size_t' (aka 'unsigned int'): CPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 6.14.0-11173-g731bdd97466a #1 PREEMPT(undef) 00fbd346f9ecab0633cc52854fbaacf90c8417e1 Call Trace: __dump_stack+0x18/0x20 dump_stack_lvl+0x37/0x70 dump_stack+0xd/0x17 ubsan_epilogue+0x8/0x40 __ubsan_handle_negate_overflow+0xad/0xb0 sort_r+0x468/0x4b0 sort+0x29/0x50 ? jump_label_swap+0x40/0x40 ? jump_label_text_reserved+0x1f0/0x1f0 jump_label_init+0x5e/0xf0 ? jump_label_swap+0x40/0x40 ? jump_label_text_reserved+0x1f0/0x1f0 setup_arch+0xa5/0x3d0 ? _printk+0x1f/0x40 start_kernel+0x6a/0x490 i386_start_kernel+0xce/0xf0 startup_32_smp+0x151/0x160 ---[ end trace ]--- BIOS-provided physical RAM map: BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved BIOS-e820: [mem 0x0000000000100000-0x00000000bffdffff] usable BIOS-e820: [mem 0x00000000bffe0000-0x00000000bfffffff] reserved BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved BIOS-e820: [mem 0x0000000100000000-0x000000013fffffff] usable e820: remove [mem 0x100000000-0xfffffffffffffffe] usable printk: debug: ignoring loglevel setting. printk: legacy bootconsole [earlyser0] enabled Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel! user-defined physical RAM map: user: [mem 0x0000000000000000-0x000000000009fbff] usable user: [mem 0x000000000009fc00-0x000000000009ffff] reserved user: [mem 0x00000000000f0000-0x00000000000fffff] reserved user: [mem 0x0000000000100000-0x00000000bffdffff] usable user: [mem 0x00000000bffe0000-0x00000000bfffffff] reserved user: [mem 0x00000000feffc000-0x00000000feffffff] reserved user: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved SMBIOS 2.8 present. DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 DMI: Memory slots populated: 1/1 Hypervisor detected: KVM kvm-clock: Using msrs 4b564d01 and 4b564d00 kvm-clock: using sched offset of 883177957 cycles clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns tsc: Detected 2095.076 MHz processor e820: update [mem 0x00000000-0x00000fff] usable ==> reserved e820: remove [mem 0x000a0000-0x000fffff] usable last_pfn = 0xbffe0 max_arch_pfn = 0x100000 MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT initial memory mapped: [mem 0x00000000-0x1bffffff] RAMDISK: [mem 0x6c32c000-0x7fffffff] Allocated new RAMDISK: [mem 0x58658000-0x6c32be99] Move RAMDISK from [mem 0x6c32c000-0x7ffffe99] to [mem 0x58658000-0x6c32be99] ACPI: Early table checksum verification disabled ACPI: RSDP 0x00000000000F59B0 000014 (v00 BOCHS ) ACPI: RSDT 0x00000000BFFE1B56 000034 (v01 BOCHS BXPC 00000001 BXPC 00000001) ACPI: FACP 0x00000000BFFE1A02 000074 (v01 BOCHS BXPC 00000001 BXPC 00000001) ACPI: DSDT 0x00000000BFFE0040 0019C2 (v01 BOCHS BXPC 00000001 BXPC 00000001) ACPI: FACS 0x00000000BFFE0000 000040 ACPI: APIC 0x00000000BFFE1A76 000080 (v01 BOCHS BXPC 00000001 BXPC 00000001) ACPI: HPET 0x00000000BFFE1AF6 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001) ACPI: WAET 0x00000000BFFE1B2E 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001) ACPI: Reserving FACP table memory at [mem 0xbffe1a02-0xbffe1a75] ACPI: Reserving DSDT table memory at [mem 0xbffe0040-0xbffe1a01] ACPI: Reserving FACS table memory at [mem 0xbffe0000-0xbffe003f] ACPI: Reserving APIC table memory at [mem 0xbffe1a76-0xbffe1af5] ACPI: Reserving HPET table memory at [mem 0xbffe1af6-0xbffe1b2d] ACPI: Reserving WAET table memory at [mem 0xbffe1b2e-0xbffe1b55] 1299MB HIGHMEM available. 1771MB LOWMEM available. mapped low ram: 0 - 6ebfe000 low ram: 0 - 6ebfe000 Zone ranges: DMA [mem 0x0000000000001000-0x0000000000ffffff] Normal [mem 0x0000000001000000-0x000000006ebfdfff] HighMem [mem 0x000000006ebfe000-0x00000000bffdffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000000001000-0x000000000009efff] node 0: [mem 0x0000000000100000-0x00000000bffdffff] Initmem setup node 0 [mem 0x0000000000001000-0x00000000bffdffff] On node 0, zone DMA: 1 pages in unavailable ranges On node 0, zone DMA: 97 pages in unavailable ranges On node 0, zone HighMem: 32 pages in unavailable ranges ACPI: PM-Timer IO Port: 0x608 ACPI: HPET id: 0x8086a201 base: 0xfed00000 [mem 0xc0000000-0xfeffbfff] available for PCI devices Booting paravirtualized kernel on KVM clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns pcpu-alloc: s0 r0 d131072 u131072 alloc=1*131072 pcpu-alloc: [0] 0 Kernel command line: ip=::::vm-meta-50::dhcp root=/dev/ram0 RESULT_ROOT=/result/locktorture/300s-cpuhotplug/vm-snb-i386/debian-11.1-i386-20220923.cgz/i386-randconfig-017-20250610/clang-20/731bdd97466a280d6bdd8eceeb13d9fab6f26cbd/0 BOOT_IMAGE=/pkg/linux/i386-randconfig-017-20250610/clang-20/731bdd97466a280d6bdd8eceeb13d9fab6f26cbd/vmlinuz-6.14.0-11173-g731bdd97466a branch=linux-next/master job=/lkp/jobs/scheduled/vm-meta-50/locktorture-300s-cpuhotplug-debian-11.1-i386-20220923.cgz-i386-randconfig-017-20250610-731bdd97466a-20250612-86095-xm4bsi-0.yaml user=lkp ARCH=i386 kconfig=i386-randconfig-017-20250610 commit=731bdd97466a280d6bdd8eceeb13d9fab6f26cbd mem=4G intremap=posted_msi vmalloc=256M initramfs_async=0 page_owner=on carrier_timeout=60 rcupdate.rcu_self_test=0 max_uptime=1200 LKP_SERVER=internal-lkp-server selinux=0 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ram sysrq: sysrq always enabled. ignoring the deprecated load_ramdisk= option Unknown kernel command line parameters "RESULT_ROOT=/result/locktorture/300s-cpuhotplug/vm-snb-i386/debian-11.1-i386-20220923.cgz/i386-randconfig-017-20250610/clang-20/731bdd97466a280d6bdd8eceeb13d9fab6f26cbd/0 BOOT_IMAGE=/pkg/linux/i386-randconfig-017-20250610/clang-20/731bdd97466a280d6bdd8eceeb13d9fab6f26cbd/vmlinuz-6.14.0-11173-g731bdd97466a branch=linux-next/master job=/lkp/jobs/scheduled/vm-meta-50/locktorture-300s-cpuhotplug-debian-11.1-i386-20220923.cgz-i386-randconfig-017-20250610-731bdd97466a-20250612-86095-xm4bsi-0.yaml user=lkp ARCH=i386 kconfig=i386-randconfig-017-20250610 commit=731bdd97466a280d6bdd8eceeb13d9fab6f26cbd intremap=posted_msi max_uptime=1200 LKP_SERVER=internal-lkp-server selinux=0 apic=debug nmi_watchdog=panic prompt_ramdisk=0 vga=normal audit=0 ia32_emulation=on riscv_isa_fallback=1", will be passed to user space. printk: log buffer data + meta data: 1048576 + 3276800 = 4325376 bytes Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes, linear) Inode-cache hash table entries: 131072 (order: 7, 524288 bytes, linear) Built 1 zonelists, mobility grouping on. Total pages: 786302 mem auto-init: stack:all(zero), heap alloc:off, heap free:on mem auto-init: clearing system memory may take some time... stackdepot: allocating hash table via alloc_large_system_hash stackdepot hash table entries: 131072 (order: 8, 1048576 bytes, linear) Initializing HighMem for node 0 (0006ebfe:000bffe0) Initializing Movable for node 0 (00000000:00000000) Checking if this processor honours the WP bit even in supervisor mode...Ok. SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 allocated 53477376 bytes of page_ext Node 0, zone DMA: page owner found early allocated 0 pages Node 0, zone Normal: page owner found early allocated 13079 pages Node 0, zone HighMem: page owner found early allocated 0 pages Poking KASLR using RDTSC... ********************************************************** ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** ** ** ** trace_printk() being used. Allocating extra memory. ** ** ** ** This means that this is a DEBUG kernel and it is ** ** unsafe for production use. ** ** ** ** If you see this message and you are not debugging ** ** the kernel, report this immediately to your vendor! ** ** ** ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** ********************************************************** Dynamic Preempt: voluntary Running RCU self tests Running RCU synchronous self tests rcu: Preemptible hierarchical RCU implementation. rcu: RCU event tracing is enabled. rcu: RCU lockdep checking is enabled. RCU CPU stall warnings timeout set to 100 (rcu_cpu_stall_timeout). Trampoline variant of Tasks RCU enabled. Rude variant of Tasks RCU enabled. Tracing variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. Running RCU synchronous self tests RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 rcu: srcu_init: Setting srcu_struct sizes based on contention. Console: colour VGA+ 80x25 printk: legacy console [tty0] enabled printk: legacy console [ttyS0] enabled printk: legacy bootconsole [earlyser0] disabled Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar ... MAX_LOCKDEP_SUBCLASSES: 8 ... MAX_LOCK_DEPTH: 48 ... MAX_LOCKDEP_KEYS: 8192 ... CLASSHASH_SIZE: 4096 ... MAX_LOCKDEP_ENTRIES: 32768 ... MAX_LOCKDEP_CHAINS: 65536 ... CHAINHASH_SIZE: 32768 memory used by lock dependency info: 3869 kB memory used for stack traces: 2112 kB per task-struct memory footprint: 1344 bytes ACPI: Core revision 20240827 ACPI: setting ELCR to 0200 (from 0c00) clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x1e33052aadd, max_idle_ns: 440795310221 ns Calibrating delay loop (skipped) preset value.. 4190.15 BogoMIPS (lpj=2095076) Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 CPU: Intel Xeon E312xx (Sandy Bridge) (family: 0x6, model: 0x2a, stepping: 0x1) Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization Speculative Store Bypass: Vulnerable L1TF: Kernel not compiled for PAE. No mitigation for L1TF MDS: Vulnerable MMIO Stale Data: Unknown: No mitigations x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. pid_max: default: 32768 minimum: 301 LSM: initializing lsm=capability,landlock,yama,loadpin,safesetid landlock: Up and running. Yama: becoming mindful. LoadPin: ready to pin (currently not enforcing) Mount-cache hash table entries: 4096 (order: 2, 16384 bytes, linear) Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes, linear) BUG: kernel NULL pointer dereference, address: 00000018 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page *pde = 00000000 Oops: Oops: 0002 [#1] CPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 6.14.0-11173-g731bdd97466a #1 PREEMPT(voluntary) 00fbd346f9ecab0633cc52854fbaacf90c8417e1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 EIP: lockdep_init_map_type+0x11/0x2b0 Code: 00 00 00 5e 5d 2e e9 4e bf 3f 01 89 f0 e8 a7 43 f1 ff eb e5 90 90 90 90 90 55 89 e5 57 56 83 ec 08 8b 35 14 20 b8 9a 89 75 f4 <c7> 40 08 00 00 00 00 c7 40 04 00 00 00 00 8b 35 90 dd 90 9b 89 d7 EAX: 00000010 EBX: 9a8f2e13 ECX: 9ba10c30 EDX: 9a8f2e13 ESI: f894bc3e EDI: 9ba10c30 EBP: 9ab77efc ESP: 9ab77eec DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 EFLAGS: 00210292 CR0: 80050033 CR2: 00000018 CR3: 1b321000 CR4: 000406d0 DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 DR6: fffe0ff0 DR7: 00000400 Call Trace: __raw_spin_lock_init+0x37/0x70 ss_rstat_init+0x4b/0x60 cgroup_init_subsys+0x11a/0x330 cgroup_init+0x43c/0x6a0 start_kernel+0x461/0x490 i386_start_kernel+0xce/0xf0 startup_32_smp+0x151/0x160 Modules linked in: CR2: 0000000000000018 ---[ end trace 0000000000000000 ]--- EIP: lockdep_init_map_type+0x11/0x2b0 Code: 00 00 00 5e 5d 2e e9 4e bf 3f 01 89 f0 e8 a7 43 f1 ff eb e5 90 90 90 90 90 55 89 e5 57 56 83 ec 08 8b 35 14 20 b8 9a 89 75 f4 <c7> 40 08 00 00 00 00 c7 40 04 00 00 00 00 8b 35 90 dd 90 9b 89 d7 EAX: 00000010 EBX: 9a8f2e13 ECX: 9ba10c30 EDX: 9a8f2e13 ESI: f894bc3e EDI: 9ba10c30 EBP: 9ab77efc ESP: 9ab77eec DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 EFLAGS: 00210292 CR0: 80050033 CR2: 00000018 CR3: 1b321000 CR4: 000406d0 DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 DR6: fffe0ff0 DR7: 00000400 Kernel panic - not syncing: Fatal exception Kboot worker: lkp-worker66 Elapsed time: 60 kvm=( qemu-system-i386 -enable-kvm -cpu SandyBridge -kernel $kernel -initrd initrd-vm-meta-50.cgz -m 4096 -smp 2 -device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::32032-:22 -boot order=nc -no-reboot -device i6300esb -device pci-testdev -watchdog-action debug -rtc base=localtime -serial stdio -display none -monitor null ) append=( ip=::::vm-meta-50::dhcp root=/dev/ram0 RESULT_ROOT=/result/locktorture/300s-cpuhotplug/vm-snb-i386/debian-11.1-i386-20220923.cgz/i386-randconfig-017-20250610/clang-20/731bdd97466a280d6bdd8eceeb13d9fab6f26cbd/0 BOOT_IMAGE=/pkg/linux/i386-randconfig-017-20250610/clang-20/731bdd97466a280d6bdd8eceeb13d9fab6f26cbd/vmlinuz-6.14.0-11173-g731bdd97466a branch=linux-next/master job=/job-script user=lkp ARCH=i386 kconfig=i386-randconfig-017-20250610 commit=731bdd97466a280d6bdd8eceeb13d9fab6f26cbd mem=4G intremap=posted_msi vmalloc=256M initramfs_async=0 page_owner=on carrier_timeout=60 rcupdate.rcu_self_test=0 max_uptime=1200 result_service=tmpfs selinux=0 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 drbd.minor_count=8 systemd.log_level=err ignore_loglevel console=tty0 earlyprintk=ttyS0,115200 console=ttyS0,115200 vga=normal rw rcuperf.shutdown=0 rcuscale.shutdown=0 refscale.shutdown=0 watchdog_thresh=240 audit=0 kunit.enable=0 ia32_emulation=on riscv_isa_fallback=1 ) "${kvm[@]}" -append "${append[*]}"