From: Andrey Ryabinin <aryabinin@virtuozzo.com>
To: Tobias Regnery <tobias.regnery@gmail.com>
Cc: <linux-kernel@vger.kernel.org>, <paulmck@linux.vnet.ibm.com>,
"Dmitry Vyukov" <dvyukov@google.com>,
Alexander Potapenko <glider@google.com>,
kasan-dev <kasan-dev@googlegroups.com>,
"x86@kernel.org" <x86@kernel.org>, Ingo Molnar <mingo@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: BUG: soft lockup in 4.10-rc7 with KASAN enabled
Date: Fri, 10 Feb 2017 12:47:56 +0300 [thread overview]
Message-ID: <0d19ac08-88b0-675d-19bd-4cdc543fdb30@virtuozzo.com> (raw)
In-Reply-To: <20170209124646.GA14848@5250pc-292.koolg.jmrlp.de>
On 02/09/2017 03:46 PM, Tobias Regnery wrote:
> Hi,
>
> I hit a soft lockup with 4.10-rc7 on ervery boot:
>
...
> [ 32.452189] NMI watchdog: BUG: soft lockup - CPU#3 stuck for 23s! [swapper/0:1]
> [ 32.452300] Modules linked in:
> [ 32.452388] CPU: 3 PID: 1 Comm: swapper/0 Tainted: G L 4.10.0-rc7-kasan #27
> [ 32.452504] Hardware name: LENOVO Lenovo IdeaPad N581/INVALID, BIOS 5ECN96WW(V9.01) 03/14/2013
> [ 32.452621] task: ffff88010a268000 task.stack: ffff88010a270000
> [ 32.452711] RIP: 0010:note_page+0x781/0xa60
> [ 32.452792] RSP: 0018:ffff88010a277d30 EFLAGS: 00000287 ORIG_RAX: ffffffffffffff10
> [ 32.452911] RAX: fffffbfff228dde7 RBX: ffff88010a277e40 RCX: ffffffff900a3947
> [ 32.453000] RDX: dffffc0000000000 RSI: ffff88010a277e40 RDI: ffffffff9146ef38
> [ 32.453087] RBP: ffff88010a277da0 R08: 1ffffffff2290598 R09: ffffffff91b1a952
> [ 32.453173] R10: ffff8800bf3fffff R11: fffffbfff236352b R12: 8000000000000161
> [ 32.453261] R13: 0000000000000000 R14: ffffffff9146ef20 R15: fffff698470e8000
> [ 32.453350] FS: 0000000000000000(0000) GS:ffff88010b2c0000(0000) knlGS:0000000000000000
> [ 32.453467] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [ 32.453551] CR2: ffffffff90e40ea0 CR3: 00000000bf40d000 CR4: 00000000001406e0
> [ 32.453636] Call Trace:
> [ 32.453718] ptdump_walk_pgd_level_core+0x40c/0x550
> [ 32.453804] ? note_page+0xa60/0xa60
> [ 32.453890] ? free_reserved_area+0x131/0x140
> [ 32.453975] ? 0xffffffff90000000
> [ 32.454058] ptdump_walk_pgd_level_checkwx+0x17/0x20
> [ 32.454147] mark_rodata_ro+0x13b/0x150
> [ 32.454234] ? rest_init+0x90/0x90
> [ 32.454318] kernel_init+0x2f/0x120
> [ 32.454400] ? rest_init+0x90/0x90
> [ 32.454482] ret_from_fork+0x2c/0x40
Yeah, that's ptdump walks too long across huge KASAN shadow memory without rescheduling.
Patch to fix this will follow shortly.
next prev parent reply other threads:[~2017-02-10 10:23 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-09 12:46 Tobias Regnery
2017-02-09 16:46 ` Paul E. McKenney
2017-02-09 16:56 ` Paul E. McKenney
2017-02-09 17:23 ` Dmitry Vyukov
2017-02-10 8:14 ` Tobias Regnery
2017-02-10 9:47 ` Andrey Ryabinin [this message]
2017-02-10 9:54 ` [PATCH] x86/mm/ptdump: Fix soft lockup in page table walker Andrey Ryabinin
2017-02-10 10:07 ` [tip:x86/urgent] " tip-bot for Andrey Ryabinin
2017-02-10 10:24 ` [PATCH] " Dmitry Vyukov
2017-02-10 11:18 ` Thomas Gleixner
2017-02-10 12:15 ` Andrey Ryabinin
2017-02-10 13:02 ` Dmitry Vyukov
2017-02-10 13:56 ` Andrey Ryabinin
2017-02-10 14:17 ` Dmitry Vyukov
2017-02-10 14:29 ` Mark Rutland
2017-02-10 14:38 ` Andrey Ryabinin
2017-02-10 14:41 ` Mark Rutland
2017-02-10 14:38 ` Mark Rutland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0d19ac08-88b0-675d-19bd-4cdc543fdb30@virtuozzo.com \
--to=aryabinin@virtuozzo.com \
--cc=dvyukov@google.com \
--cc=glider@google.com \
--cc=hpa@zytor.com \
--cc=kasan-dev@googlegroups.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=paulmck@linux.vnet.ibm.com \
--cc=tglx@linutronix.de \
--cc=tobias.regnery@gmail.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®