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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211012145540.343541e9@gandalf.local.home>
Date:   Tue, 12 Oct 2021 14:55:40 -0400
From:   Steven Rostedt <rostedt@...dmis.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     Dave Hansen <dave.hansen@...ux.intel.com>,
        Andy Lutomirski <luto@...nel.org>,
        Peter Zijlstra <peterz@...radead.org>,
        Thomas Gleixner <tglx@...utronix.de>,
        Borislav Petkov <bp@...en8.de>,
        LKML <linux-kernel@...r.kernel.org>,
        Gavin Shan <gshan@...hat.com>,
        Anshuman Khandual <anshuman.khandual@....com>,
        Christophe Leroy <christophe.leroy@...roup.eu>,
        Gerald Schaefer <gerald.schaefer@...ux.ibm.com>,
        Andrew Morton <akpm@...ux-foundation.org>,
        "the arch/x86 maintainers" <x86@...nel.org>
Subject: Re: [BUG] WARNING: CPU: 3 PID: 1 at mm/debug_vm_pgtable.c:493

On Tue, 12 Oct 2021 11:34:19 -0700
Linus Torvalds <torvalds@...ux-foundation.org> wrote:

> That warning seems to be due to pud_set_huge() failing (the "line 438"
> one I don't know what it is - there's no warning on that line in my
> tree, so I worry a bit that Steven has other things in his tree).

I saved off that warning from a different branch, and looking at the dmesg,
it is:

  Linux version 5.14.0-rc2-test+

Which shows this happened on 5.14 as well (and explains why the line
numbers are different).

Here's the full splat:

 ------------[ cut here ]------------
 WARNING: CPU: 2 PID: 1 at mm/debug_vm_pgtable.c:438 pud_huge_tests+0x2f/0x50
 Modules linked in:
 CPU: 2 PID: 1 Comm: swapper/0 Not tainted 5.14.0-rc2-test+ #16
 Hardware name: MSI MS-7823/CSM-H87M-G43 (MS-7823), BIOS V1.6 02/22/2014
 RIP: 0010:pud_huge_tests+0x2f/0x50
 Code: 48 8b 05 c4 93 da ff 48 0f ba e0 3a 73 3c 55 48 c1 e6 0c 48 89 e5 53 48 89 fb 48 c7 07 00 00 00 00 e8 47 3d f5 fd 85 c0 75 02 <0f> 0b 48 89 df e8 0c 3e f5 fd 85 c0 75 02 0f 0b 48 8b 03 48 a9 9f
 RSP: 0000:ffffb728c0033dd0 EFLAGS: 00010246
 RAX: 0000000000000000 RBX: ffff8d5648f44570 RCX: 6421c8b694c43a00
 RDX: 00ffffffaf11c9ec RSI: ffffb728c0033d58 RDI: ffffb728c0033d59
 RBP: ffffb728c0033dd8 R08: 000000021f000000 R09: 0000000000040000
 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8d5648f44570
 R13: ffff8d5640a808c0 R14: 000000000020713a R15: ffff8d5640a80938
 FS:  0000000000000000(0000) GS:ffff8d5756800000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 0000000000000000 CR3: 0000000206c2a001 CR4: 00000000001706e0
 Call Trace:
  debug_vm_pgtable+0x533/0x6f0
  ? pgd_clear_tests.isra.0+0x50/0x50
  do_one_initcall+0xe8/0x25c
  ? lock_is_held+0xc/0xe
  ? rcu_read_lock_sched_held+0x3b/0x72
  do_initcalls+0xcd/0xed
  kernel_init_freeable+0x18a/0x1c1
  ? rest_init+0x155/0x155
  kernel_init+0x1a/0x11a
  ret_from_fork+0x22/0x30
 irq event stamp: 28613811
 hardirqs last  enabled at (28613821): [<ffffffffaf12caf1>] console_unlock+0x323/0x36e
 hardirqs last disabled at (28613830): [<ffffffffaf12ca36>] console_unlock+0x268/0x36e
 softirqs last  enabled at (28613546): [<ffffffffb0200328>] __do_softirq+0x328/0x363
 softirqs last disabled at (28613475): [<ffffffffaf0cfea2>] __irq_exit_rcu+0x5f/0x9b
 ---[ end trace 216b0cab27d4c431 ]---
 ------------[ cut here ]------------
 WARNING: CPU: 2 PID: 1 at mm/debug_vm_pgtable.c:439 pud_huge_tests+0x3d/0x50
 Modules linked in:
 CPU: 2 PID: 1 Comm: swapper/0 Tainted: G        W         5.14.0-rc2-test+ #16
 Hardware name: MSI MS-7823/CSM-H87M-G43 (MS-7823), BIOS V1.6 02/22/2014
 RIP: 0010:pud_huge_tests+0x3d/0x50
 Code: 55 48 c1 e6 0c 48 89 e5 53 48 89 fb 48 c7 07 00 00 00 00 e8 47 3d f5 fd 85 c0 75 02 0f 0b 48 89 df e8 0c 3e f5 fd 85 c0 75 02 <0f> 0b 48 8b 03 48 a9 9f ff ff ff 74 02 0f 0b 5b 5d c3 c3 0f 1f 44
 RSP: 0000:ffffb728c0033dd0 EFLAGS: 00010246
 RAX: 0000000000000000 RBX: ffff8d5648f44570 RCX: 6421c8b694c43a00
 RDX: 0000000000000000 RSI: ffffb728c0033d58 RDI: ffff8d5648f44570
 RBP: ffffb728c0033dd8 R08: 000000021f000000 R09: 0000000000040000
 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8d5648f44570
 R13: ffff8d5640a808c0 R14: 000000000020713a R15: ffff8d5640a80938
 FS:  0000000000000000(0000) GS:ffff8d5756800000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 0000000000000000 CR3: 0000000206c2a001 CR4: 00000000001706e0
 Call Trace:
  debug_vm_pgtable+0x533/0x6f0
  ? pgd_clear_tests.isra.0+0x50/0x50
  do_one_initcall+0xe8/0x25c
  ? lock_is_held+0xc/0xe
  ? rcu_read_lock_sched_held+0x3b/0x72
  do_initcalls+0xcd/0xed
  kernel_init_freeable+0x18a/0x1c1
  ? rest_init+0x155/0x155
  kernel_init+0x1a/0x11a
  ret_from_fork+0x22/0x30
 irq event stamp: 28614155
 hardirqs last  enabled at (28614165): [<ffffffffaf12caf1>] console_unlock+0x323/0x36e
 hardirqs last disabled at (28614174): [<ffffffffaf12ca36>] console_unlock+0x268/0x36e
 softirqs last  enabled at (28613546): [<ffffffffb0200328>] __do_softirq+0x328/0x363
 softirqs last disabled at (28613475): [<ffffffffaf0cfea2>] __irq_exit_rcu+0x5f/0x9b
 ---[ end trace 216b0cab27d4c432 ]---


May be just the same bug at a different line number for 5.14-rc2?

-- Steve

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ