lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 10 Sep 2017 08:48:06 +0200
From:   Paul Menzel <pmenzel@...gen.mpg.de>
To:     x86@...nel.org
Cc:     linux-kernel@...r.kernel.org, Andy Lutomirski <luto@...nel.org>
Subject: WARNING: CPU: 1 PID: 0 at arch/x86/mm/tlb.c:237
 initialize_tlbstate_and_flush+0x120/0x130

Dear Linux folks,


With Linux built from commit 4dfc2788033d (Merge tag 
'iommu-updates-v4.14' of 
git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu), I get the 
warning below on a Lenovo X60t with a 32-bit CPU.

```
$ dmesg
[    0.000000] Linux version 4.13.0+ (root@...d03a193d6) (gcc version 
6.3.0 20170516 (Debian 6.3.0-18)) #126 SMP Sun Sep 10 06:40:58 UTC 2017
[    0.000000] Disabled fast string operations
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000000fff] 
type 16
[    0.000000] BIOS-e820: [mem 0x0000000000001000-0x000000000009ffff] 
usable
[    0.000000] BIOS-e820: [mem 0x00000000000c0000-0x00000000000fffff] 
reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007f703fff] 
usable
[    0.000000] BIOS-e820: [mem 0x000000007f704000-0x000000007f7fffff] 
type 16
[    0.000000] BIOS-e820: [mem 0x000000007f800000-0x000000007fffffff] 
reserved
[    0.000000] BIOS-e820: [mem 0x00000000f0000000-0x00000000f3ffffff] 
reserved
[    0.000000] Notice: NX (Execute Disable) protection cannot be 
enabled: non-PAE kernel!
[    0.000000] random: fast init done
[    0.000000] SMBIOS 2.7 present.
[    0.000000] DMI: LENOVO 636338U/636338U, BIOS CBET4000 TIMELESS 
01/01/1970
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> 
reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x7f704 max_arch_pfn = 0x100000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-BFFFF uncachable
[    0.000000]   C0000-FFFFF write-back
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 000000000 mask 080000000 write-back
[    0.000000]   1 base 07F800000 mask 0FF800000 uncachable
[    0.000000]   2 base 0D0000000 mask 0F0000000 write-combining
[    0.000000]   3 disabled
[    0.000000]   4 disabled
[    0.000000]   5 disabled
[    0.000000]   6 disabled
[    0.000000]   7 disabled
[    0.000000] x86/PAT: PAT not supported by CPU.
[    0.000000] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- 
UC
[    0.000000] found SMP MP-table at [mem 0x000f0400-0x000f040f] mapped 
at [ffd0f400]
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] initial memory mapped: [mem 0x00000000-0x127fffff]
[    0.000000] Base memory trampoline at [c009b000] 9b000 size 16384
[    0.000000] BRK [0x12478000, 0x12478fff] PGTABLE
[    0.000000] RAMDISK: [mem 0x34827000-0x3640afff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F0800 000024 (v02 CORE  )
[    0.000000] ACPI: XSDT 0x000000007F7150E0 000054 (v01 CORE   COREBOOT 
00000000 CORE 00000000)
[    0.000000] ACPI: FACP 0x000000007F718190 0000F4 (v04 CORE   COREBOOT 
00000000 CORE 00000000)
[    0.000000] ACPI: DSDT 0x000000007F715280 002F10 (v03 COREv4 COREBOOT 
20090419 INTL 20160831)
[    0.000000] ACPI: FACS 0x000000007F715240 000040
[    0.000000] ACPI: FACS 0x000000007F715240 000040
[    0.000000] ACPI: SSDT 0x000000007F718290 000524 (v02 CORE   COREBOOT 
0000002A CORE 0000002A)
[    0.000000] ACPI: MCFG 0x000000007F7187C0 00003C (v01 CORE   COREBOOT 
00000000 CORE 00000000)
[    0.000000] ACPI: TCPA 0x000000007F718800 000032 (v02 CORE   COREBOOT 
00000000 CORE 00000000)
[    0.000000] ACPI: APIC 0x000000007F718840 000068 (v01 CORE   COREBOOT 
00000000 CORE 00000000)
[    0.000000] ACPI: HPET 0x000000007F7188B0 000038 (v01 CORE   COREBOOT 
00000000 CORE 00000000)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] 1151MB HIGHMEM available.
[    0.000000] 887MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 377fe000
[    0.000000]   low ram: 0 - 377fe000
[    0.000000] BRK [0x12479000, 0x12479fff] PGTABLE
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   Normal   [mem 0x0000000001000000-0x00000000377fdfff]
[    0.000000]   HighMem  [mem 0x00000000377fe000-0x000000007f703fff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x000000007f703fff]
[    0.000000] Initmem setup node 0 [mem 
0x0000000000001000-0x000000007f703fff]
[    0.000000] On node 0 totalpages: 521891
[    0.000000]   DMA zone: 36 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 3999 pages, LIFO batch:0
[    0.000000]   Normal zone: 1962 pages used for memmap
[    0.000000]   Normal zone: 223230 pages, LIFO batch:31
[    0.000000]   HighMem zone: 294662 pages, LIFO batch:31
[    0.000000] Using APIC driver default
[    0.000000] Reserving Intel graphics memory at 0x7f800000-0x7fffffff
[    0.000000] ACPI: PM-Timer IO Port: 0x508
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 
0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high 
edge)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high 
level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000bffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000c0000-0x000fffff]
[    0.000000] e820: [mem 0x80000000-0xefffffff] available for PCI 
devices
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff 
max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[    0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 
nr_node_ids:1
[    0.000000] percpu: Embedded 21 pages/cpu @f65d1000 s56844 r0 d29172 
u86016
[    0.000000] pcpu-alloc: s56844 r0 d29172 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 
519893
[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-4.13.0+ 
root=UUID=0198e82a-32df-4f18-bec0-3e08802b084d ro quiet noisapnp 
pcie_aspm=force pcie_aspm.policy=powersave nmi_watchdog=0 iomem=relaxed
[    0.000000] PCIe ASPM is forcibly enabled
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 
bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 
bytes)
[    0.000000] Initializing CPU#0
[    0.000000] Initializing HighMem for node 0 (000377fe:0007f704)
[    0.000000] Initializing Movable for node 0 (00000000:00000000)
[    0.000000] Memory: 2028788K/2087564K available (6300K kernel code, 
590K rwdata, 2248K rodata, 744K init, 444K bss, 58776K reserved, 0K 
cma-reserved, 1178648K highmem)
[    0.000000] virtual kernel memory layout:
                    fixmap  : 0xfff0e000 - 0xfffff000   ( 964 kB)
                    pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
                    vmalloc : 0xf7ffe000 - 0xff7fe000   ( 120 MB)
                    lowmem  : 0xc0000000 - 0xf77fe000   ( 887 MB)
                      .init : 0xd22fd000 - 0xd23b7000   ( 744 kB)
                      .data : 0xd2027125 - 0xd22eeba0   (2846 kB)
                      .text : 0xd1a00000 - 0xd2027125   (6300 kB)
[    0.000000] Checking if this processor honours the WP bit even in 
supervisor mode...Ok.
[    0.000000] ftrace: allocating 26613 entries in 52 pages
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, 
nr_cpu_ids=2
[    0.000000] NR_IRQS: 2304, nr_irqs: 440, preallocated irqs: 16
[    0.000000] CPU 0 irqstacks, hard=f44a6000 soft=f44a8000
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 
0xffffffff, max_idle_ns: 133484882848 ns
[    0.000000] hpet clockevent registered
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.004000] tsc: Detected 1662.445 MHz processor
[    0.004000] Calibrating delay loop (skipped), value calculated using 
timer frequency.. 3324.89 BogoMIPS (lpj=6649780)
[    0.004000] pid_max: default: 32768 minimum: 301
[    0.004000] ACPI: Core revision 20170728
[    0.008295] ACPI: 2 ACPI AML tables successfully acquired and loaded
[    0.008349] Security Framework initialized
[    0.008351] Yama: becoming mindful.
[    0.008360] AppArmor: AppArmor disabled by boot time parameter
[    0.008386] Mount-cache hash table entries: 2048 (order: 1, 8192 
bytes)
[    0.008391] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 
bytes)
[    0.008741] Disabled fast string operations
[    0.008744] CPU: Physical Processor ID: 0
[    0.008745] CPU: Processor Core ID: 0
[    0.008754] mce: CPU supports 6 MCE banks
[    0.008762] CPU0: Thermal monitoring enabled (TM2)
[    0.008768] process: using mwait in idle threads
[    0.008776] Last level iTLB entries: 4KB 128, 2MB 0, 4MB 2
[    0.008777] Last level dTLB entries: 4KB 128, 2MB 0, 4MB 8, 1GB 0
[    0.008895] Freeing SMP alternatives memory: 28K
[    0.010734] smpboot: Max logical packages: 1
[    0.010741] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[    0.011184] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.052000] smpboot: CPU0: Intel(R) Core(TM) Duo CPU      L2400  @ 
1.66GHz (family: 0x6, model: 0xe, stepping: 0xc)
[    0.052000] Performance Events: Core events, core PMU driver.
[    0.052000] ... version:                1
[    0.052000] ... bit width:              40
[    0.052000] ... generic registers:      2
[    0.052000] ... value mask:             000000ffffffffff
[    0.052000] ... max period:             000000007fffffff
[    0.052000] ... fixed-purpose events:   0
[    0.052000] ... event mask:             0000000000000003
[    0.052000] Hierarchical SRCU implementation.
[    0.052000] smp: Bringing up secondary CPUs ...
[    0.052000] CPU 1 irqstacks, hard=f4530000 soft=f4532000
[    0.052000] x86: Booting SMP configuration:
[    0.052000] .... node  #0, CPUs:      #1
[    0.004000] Initializing CPU#1
[    0.004000] ------------[ cut here ]------------
[    0.004000] WARNING: CPU: 1 PID: 0 at arch/x86/mm/tlb.c:237 
initialize_tlbstate_and_flush+0x120/0x130
[    0.004000] Modules linked in:
[    0.004000] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.13.0+ #126
[    0.004000] Hardware name: LENOVO 636338U/636338U, BIOS CBET4000 
TIMELESS 01/01/1970
[    0.004000] task: f4513380 task.stack: f4518000
[    0.004000] EIP: initialize_tlbstate_and_flush+0x120/0x130
[    0.004000] EFLAGS: 00210006 CPU: 1
[    0.004000] EAX: 123be000 EBX: d2292f60 ECX: d23c1000 EDX: 123c1000
[    0.004000] ESI: 00000000 EDI: 00000000 EBP: f4519f60 ESP: f4519f50
[    0.004000]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[    0.004000] CR0: 80050033 CR2: 00000000 CR3: 123be000 CR4: 00000690
[    0.004000] Call Trace:
[    0.004000]  cpu_init+0xcd/0x260
[    0.004000]  start_secondary+0x17/0x1a0
[    0.004000]  startup_32_smp+0x164/0x166
[    0.004000] Code: 00 00 89 c8 50 9d 8d 74 26 00 83 c3 10 81 fb 4c 60 
3b d2 75 c9 58 5b 5e 5f 5d c3 0f ff e9 41 ff ff ff 89 f6 8d bc 27 00 00 
00 00 <0f> ff e9 13 ff ff ff 89 f6 8d bc 27 00 00 00 00 3e 8d 74 26 00
[    0.004000] ---[ end trace 04b7fb19fe13e425 ]---
[    0.004000] Disabled fast string operations
[    0.130040] smp: Brought up 1 node, 2 CPUs
[    0.130040] smpboot: Total of 2 processors activated (6649.87 
BogoMIPS)
[    0.130040] devtmpfs: initialized
[    0.132194] clocksource: jiffies: mask: 0xffffffff max_cycles: 
0xffffffff, max_idle_ns: 7645041785100000 ns
[…]
```


Kind regards,

Paul

Powered by blists - more mailing lists