[lkp] [x86/mm/64] a611d6b7d4: RIP [] pud_offset+0x6/0x5e
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/vmap_stack commit a611d6b7d4bdf3f57cfc792a45eb1ea5f4b776eb ("x86/mm/64: Enable vmapped stacks") on test machine: 2 threads qemu-system-x86_64 -enable-kvm -cpu Nehalem with 320M memory caused below changes: ++++ || 8518e11969 | a611d6b7d4 | ++++ | boot_successes | 0 | 0 | | boot_failures | 16 | 17 | | BUG:KASAN:stack-out-of-bounds_in_setjmp_pre_handler_at_addr| 16 | | | BUG:KASAN:stack-out-of-bounds_in_longjmp_break_handler_at_addr | 16 | | | backtrace:init_kprobes | 16 | | | backtrace:kernel_init_freeable | 16 | | | double_fault:#[##]PREEMPT_SMP_KASAN| 0 | 17 | | RIP:pud_offset | 0 | 17 | | Kernel_panic-not_syncing:Fatal_exception | 0 | 17 | ++++ [0.024009] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [0.027432] Freeing SMP alternatives memory: 16K (8a11e000 - 8a122000) [0.027432] Freeing SMP alternatives memory: 16K (8a11e000 - 8a122000) [0.031457] double fault: [#1] PREEMPT SMP KASAN [0.031457] double fault: [#1] PREEMPT SMP KASAN [0.032000] Modules linked in: [0.032000] Modules linked in: [0.032000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.7.0-rc4-00037-ga611d6b #1 [0.032000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.7.0-rc4-00037-ga611d6b #1 [0.032000] task: 89a13900 ti: 89a0 task.ti: 89a0 [0.032000] task: 89a13900 ti: 89a0 task.ti: 89a0 [0.032000] RIP: 0010:[] [0.032000] RIP: 0010:[] [] pud_offset+0x6/0x5e [] pud_offset+0x6/0x5e [0.032000] RSP: :c9018000 EFLAGS: 00010002 [0.032000] RSP: :c9018000 EFLAGS: 00010002 [0.032000] RAX: dc00 RBX: 0003 RCX: 893430b0 [0.032000] RAX: dc00 RBX: 0003 RCX: 893430b0 [0.032000] RDX: 113415ea RSI: f5203039 RDI: 89a0af50 [0.032000] RDX: 113415ea RSI: f5203039 RDI: 89a0af50 [0.032000] RBP: c9018008 R08: 00030001 R09: 0001 [0.032000] RBP: c9018008 R08: 00030001 R09: 0001 [0.032000] R10: 89a07cb0 R11: 8a01c2df R12: 89a0af50 [0.032000] R10: 89a07cb0 R11: 8a01c2df R12: 89a0af50 [0.032000] R13: f5203039 R14: R15: dc00 [0.032000] R13: f5203039 R14: R15: dc00 [0.032000] FS: () GS:88000ee0() knlGS: [0.032000] FS: () GS:88000ee0() knlGS: [0.032000] CS: 0010 DS: ES: CR0: 80050033 [0.032000] CS: 0010 DS: ES: CR0: 80050033 [0.032000] CR2: c9017ff8 CR3: 09a0a000 CR4: 06b0 [0.032000] CR2: c9017ff8 CR3: 09a0a000 CR4: 06b0 [0.032000] Stack: [0.032000] Stack: [0.032000] [0.032000] [0.032000] Call Trace: [0.032000] Call Trace: [0.032000] [0.032000] [0.032000] Code: [0.032000] Code: 00 00 fc fc ff ff df df 80 80 3c 3c 02 02 00 00 74 74 05 05 e8 e8 5e 5e 0d 0d 1f 1f 00 00 48 48 8b 8b 83 83 88 88 0a 0a 00 00 00 00 48 48 c1 c1 e8 e8 08 08 83 83 e0 e0 01 01 0f 0f b6 b6 c0 c0 5b 5b 41 41 5c 5c 5d 5d c3 c3 55 55 48 48 89 89 e5 e5 41 41 54 54 <53> <53> 49 49 89 89 fc fc 48 48 c1 c1 ee ee 1b 1b 48 48 89 89 f3 f3 81 81 e3 e3 f8 f8 0f 0f 00 00 00 00 48 48 89 89 fa fa 48 48 [0.032000] RIP [0.032000] RIP [] pud_offset+0x6/0x5e [] pud_offset+0x6/0x5e [0.032000] RSP [0.032000] RSP [0.032000] ---[ end trace f29da57a14fc8712 ]--- [0.032000] ---[ end trace f29da57a14fc8712 ]--- FYI, raw QEMU command line is: qemu-system-x86_64 -enable-kvm -cpu Nehalem -kernel /pkg/linux/x86_64-randconfig-b0-06221247+CONFIG_DEBUG_INFO_REDUCED/gcc-6/a611d6b7d4bdf3f57cfc792a45eb1ea5f4b776eb/vmlinuz-4.7.0-rc4-00037-ga611d6b -append 'root=/dev/ram0 user=lkp
[lkp] [x86/mm/64] a611d6b7d4: RIP [] pud_offset+0x6/0x5e
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/vmap_stack commit a611d6b7d4bdf3f57cfc792a45eb1ea5f4b776eb ("x86/mm/64: Enable vmapped stacks") on test machine: 2 threads qemu-system-x86_64 -enable-kvm -cpu Nehalem with 320M memory caused below changes: ++++ || 8518e11969 | a611d6b7d4 | ++++ | boot_successes | 0 | 0 | | boot_failures | 16 | 17 | | BUG:KASAN:stack-out-of-bounds_in_setjmp_pre_handler_at_addr| 16 | | | BUG:KASAN:stack-out-of-bounds_in_longjmp_break_handler_at_addr | 16 | | | backtrace:init_kprobes | 16 | | | backtrace:kernel_init_freeable | 16 | | | double_fault:#[##]PREEMPT_SMP_KASAN| 0 | 17 | | RIP:pud_offset | 0 | 17 | | Kernel_panic-not_syncing:Fatal_exception | 0 | 17 | ++++ [0.024009] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [0.027432] Freeing SMP alternatives memory: 16K (8a11e000 - 8a122000) [0.027432] Freeing SMP alternatives memory: 16K (8a11e000 - 8a122000) [0.031457] double fault: [#1] PREEMPT SMP KASAN [0.031457] double fault: [#1] PREEMPT SMP KASAN [0.032000] Modules linked in: [0.032000] Modules linked in: [0.032000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.7.0-rc4-00037-ga611d6b #1 [0.032000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.7.0-rc4-00037-ga611d6b #1 [0.032000] task: 89a13900 ti: 89a0 task.ti: 89a0 [0.032000] task: 89a13900 ti: 89a0 task.ti: 89a0 [0.032000] RIP: 0010:[] [0.032000] RIP: 0010:[] [] pud_offset+0x6/0x5e [] pud_offset+0x6/0x5e [0.032000] RSP: :c9018000 EFLAGS: 00010002 [0.032000] RSP: :c9018000 EFLAGS: 00010002 [0.032000] RAX: dc00 RBX: 0003 RCX: 893430b0 [0.032000] RAX: dc00 RBX: 0003 RCX: 893430b0 [0.032000] RDX: 113415ea RSI: f5203039 RDI: 89a0af50 [0.032000] RDX: 113415ea RSI: f5203039 RDI: 89a0af50 [0.032000] RBP: c9018008 R08: 00030001 R09: 0001 [0.032000] RBP: c9018008 R08: 00030001 R09: 0001 [0.032000] R10: 89a07cb0 R11: 8a01c2df R12: 89a0af50 [0.032000] R10: 89a07cb0 R11: 8a01c2df R12: 89a0af50 [0.032000] R13: f5203039 R14: R15: dc00 [0.032000] R13: f5203039 R14: R15: dc00 [0.032000] FS: () GS:88000ee0() knlGS: [0.032000] FS: () GS:88000ee0() knlGS: [0.032000] CS: 0010 DS: ES: CR0: 80050033 [0.032000] CS: 0010 DS: ES: CR0: 80050033 [0.032000] CR2: c9017ff8 CR3: 09a0a000 CR4: 06b0 [0.032000] CR2: c9017ff8 CR3: 09a0a000 CR4: 06b0 [0.032000] Stack: [0.032000] Stack: [0.032000] [0.032000] [0.032000] Call Trace: [0.032000] Call Trace: [0.032000] [0.032000] [0.032000] Code: [0.032000] Code: 00 00 fc fc ff ff df df 80 80 3c 3c 02 02 00 00 74 74 05 05 e8 e8 5e 5e 0d 0d 1f 1f 00 00 48 48 8b 8b 83 83 88 88 0a 0a 00 00 00 00 48 48 c1 c1 e8 e8 08 08 83 83 e0 e0 01 01 0f 0f b6 b6 c0 c0 5b 5b 41 41 5c 5c 5d 5d c3 c3 55 55 48 48 89 89 e5 e5 41 41 54 54 <53> <53> 49 49 89 89 fc fc 48 48 c1 c1 ee ee 1b 1b 48 48 89 89 f3 f3 81 81 e3 e3 f8 f8 0f 0f 00 00 00 00 48 48 89 89 fa fa 48 48 [0.032000] RIP [0.032000] RIP [] pud_offset+0x6/0x5e [] pud_offset+0x6/0x5e [0.032000] RSP [0.032000] RSP [0.032000] ---[ end trace f29da57a14fc8712 ]--- [0.032000] ---[ end trace f29da57a14fc8712 ]--- FYI, raw QEMU command line is: qemu-system-x86_64 -enable-kvm -cpu Nehalem -kernel /pkg/linux/x86_64-randconfig-b0-06221247+CONFIG_DEBUG_INFO_REDUCED/gcc-6/a611d6b7d4bdf3f57cfc792a45eb1ea5f4b776eb/vmlinuz-4.7.0-rc4-00037-ga611d6b -append 'root=/dev/ram0 user=lkp