From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Borislav Petkov <bp@alien8.de>
Cc: linux-mm@kvack.org, Andrew Morton <akpm@linux-foundation.org>,
"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
Vlastimil Babka <vbabka@suse.cz>,
Jerome Marchand <jmarchan@redhat.com>,
Mel Gorman <mgorman@techsingularity.net>,
Ebru Akagunduz <ebru.akagunduz@gmail.com>,
Dan Williams <dan.j.williams@intel.com>,
Minchan Kim <minchan@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: khugepaged+0x5a6/0x1800 - BUG: unable to handle kernel NULL pointer dereference at (null)
Date: Mon, 25 Jan 2016 12:47:49 +0200 [thread overview]
Message-ID: <20160125104749.GA11541@node.shutemov.name> (raw)
In-Reply-To: <20160122181450.GI9806@pd.tnic>
On Fri, Jan 22, 2016 at 07:14:50PM +0100, Borislav Petkov wrote:
> Hi guys,
>
> I'm getting this null ptr deref below ontop of latest Linus, i.e.
> top-commit is:
>
> 2b4015e9fb33 ("Merge tag 'platform-drivers-x86-v4.5-1' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86")
>
> The good thing is, it is reproducible even in kvm, 32-bit guest.
>
> Thoughts?
I think 16fd0fe4aa92 ("mm: fix kernel crash in khugepaged thread") would
fix this.
>
> [ 6.058923] BUG: unable to handle kernel NULL pointer dereference at (null)
> [ 6.059496] IP: [<c119eea6>] khugepaged+0x5a6/0x1800
> [ 6.059496] *pde = 00000000
> [ 6.059496] Oops: 0000 [#1] PREEMPT SMP
> [ 6.059496] Modules linked in:
> [ 6.059496] CPU: 2 PID: 33 Comm: khugepaged Not tainted 4.4.0+ #2
> [ 6.059496] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014
> [ 6.059496] task: f5222e80 ti: f522a000 task.ti: f522a000
> [ 6.059496] EIP: 0060:[<c119eea6>] EFLAGS: 00010246 CPU: 2
> [ 6.059496] EIP is at khugepaged+0x5a6/0x1800
> [ 6.059496] EAX: 00000000 EBX: 00000003 ECX: 00000000 EDX: 00000000
> [ 6.059496] ESI: f40412c0 EDI: f451cf00 EBP: f522bf30 ESP: f522be88
> [ 6.059496] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
> [ 6.059496] CR0: 80050033 CR2: 00000000 CR3: 3410f000 CR4: 000406d0
> [ 6.059496] Stack:
> [ 6.059496] 00000000 f57c1780 f511be00 f522be9c f57c1780 f522bea8 c1697c52 f57c1780
> [ 6.059496] f522bee0 f451cf34 f5222e80 00000001 f61e5000 c107d930 f40412c0 f451cf54
> [ 6.059496] 00000000 00002000 f5222e80 f5222e80 00000000 00000000 b6400000 00002000
> [ 6.059496] Call Trace:
> [ 6.059496] [<c1697c52>] ? _raw_spin_unlock_irq+0x32/0x50
> [ 6.059496] [<c107d930>] ? finish_task_switch+0x60/0x260
> [ 6.059496] [<c109b120>] ? wait_woken+0x80/0x80
> [ 6.059496] [<c119e900>] ? unfreeze_page+0x430/0x430
> [ 6.059496] [<c1076383>] kthread+0xb3/0xd0
> [ 6.059496] [<c16984c9>] ret_from_kernel_thread+0x21/0x38
> [ 6.059496] [<c10762d0>] ? kthread_create_on_node+0x180/0x180
> [ 6.059496] Code: 75 0b 8b 41 14 a8 01 0f 84 60 01 00 00 89 4d c4 89 4d a8 c7 45 c8 0d 00 00 00 89 f8 e8 84 8c 4f 00 c7 45 ac 00 00 00 00 8b 45 c4 <8b> 00 c1 e8 1a 8b 04 c5 c0 3f 44 c2 89 45 98 3e 8d 74 26 00 64
> [ 6.059496] EIP: [<c119eea6>] khugepaged+0x5a6/0x1800 SS:ESP 0068:f522be88
> [ 6.059496] CR2: 0000000000000000
> [ 6.059496] ---[ end trace 71a830f72f820be9 ]---
>
> --
> Regards/Gruss,
> Boris.
>
> ECO tip #101: Trim your mails when you reply.
--
Kirill A. Shutemov
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
WARNING: multiple messages have this Message-ID (diff)
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Borislav Petkov <bp@alien8.de>
Cc: linux-mm@kvack.org, Andrew Morton <akpm@linux-foundation.org>,
"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
Vlastimil Babka <vbabka@suse.cz>,
Jerome Marchand <jmarchan@redhat.com>,
Mel Gorman <mgorman@techsingularity.net>,
Ebru Akagunduz <ebru.akagunduz@gmail.com>,
Dan Williams <dan.j.williams@intel.com>,
Minchan Kim <minchan@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: khugepaged+0x5a6/0x1800 - BUG: unable to handle kernel NULL pointer dereference at (null)
Date: Mon, 25 Jan 2016 12:47:49 +0200 [thread overview]
Message-ID: <20160125104749.GA11541@node.shutemov.name> (raw)
In-Reply-To: <20160122181450.GI9806@pd.tnic>
On Fri, Jan 22, 2016 at 07:14:50PM +0100, Borislav Petkov wrote:
> Hi guys,
>
> I'm getting this null ptr deref below ontop of latest Linus, i.e.
> top-commit is:
>
> 2b4015e9fb33 ("Merge tag 'platform-drivers-x86-v4.5-1' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86")
>
> The good thing is, it is reproducible even in kvm, 32-bit guest.
>
> Thoughts?
I think 16fd0fe4aa92 ("mm: fix kernel crash in khugepaged thread") would
fix this.
>
> [ 6.058923] BUG: unable to handle kernel NULL pointer dereference at (null)
> [ 6.059496] IP: [<c119eea6>] khugepaged+0x5a6/0x1800
> [ 6.059496] *pde = 00000000
> [ 6.059496] Oops: 0000 [#1] PREEMPT SMP
> [ 6.059496] Modules linked in:
> [ 6.059496] CPU: 2 PID: 33 Comm: khugepaged Not tainted 4.4.0+ #2
> [ 6.059496] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014
> [ 6.059496] task: f5222e80 ti: f522a000 task.ti: f522a000
> [ 6.059496] EIP: 0060:[<c119eea6>] EFLAGS: 00010246 CPU: 2
> [ 6.059496] EIP is at khugepaged+0x5a6/0x1800
> [ 6.059496] EAX: 00000000 EBX: 00000003 ECX: 00000000 EDX: 00000000
> [ 6.059496] ESI: f40412c0 EDI: f451cf00 EBP: f522bf30 ESP: f522be88
> [ 6.059496] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
> [ 6.059496] CR0: 80050033 CR2: 00000000 CR3: 3410f000 CR4: 000406d0
> [ 6.059496] Stack:
> [ 6.059496] 00000000 f57c1780 f511be00 f522be9c f57c1780 f522bea8 c1697c52 f57c1780
> [ 6.059496] f522bee0 f451cf34 f5222e80 00000001 f61e5000 c107d930 f40412c0 f451cf54
> [ 6.059496] 00000000 00002000 f5222e80 f5222e80 00000000 00000000 b6400000 00002000
> [ 6.059496] Call Trace:
> [ 6.059496] [<c1697c52>] ? _raw_spin_unlock_irq+0x32/0x50
> [ 6.059496] [<c107d930>] ? finish_task_switch+0x60/0x260
> [ 6.059496] [<c109b120>] ? wait_woken+0x80/0x80
> [ 6.059496] [<c119e900>] ? unfreeze_page+0x430/0x430
> [ 6.059496] [<c1076383>] kthread+0xb3/0xd0
> [ 6.059496] [<c16984c9>] ret_from_kernel_thread+0x21/0x38
> [ 6.059496] [<c10762d0>] ? kthread_create_on_node+0x180/0x180
> [ 6.059496] Code: 75 0b 8b 41 14 a8 01 0f 84 60 01 00 00 89 4d c4 89 4d a8 c7 45 c8 0d 00 00 00 89 f8 e8 84 8c 4f 00 c7 45 ac 00 00 00 00 8b 45 c4 <8b> 00 c1 e8 1a 8b 04 c5 c0 3f 44 c2 89 45 98 3e 8d 74 26 00 64
> [ 6.059496] EIP: [<c119eea6>] khugepaged+0x5a6/0x1800 SS:ESP 0068:f522be88
> [ 6.059496] CR2: 0000000000000000
> [ 6.059496] ---[ end trace 71a830f72f820be9 ]---
>
> --
> Regards/Gruss,
> Boris.
>
> ECO tip #101: Trim your mails when you reply.
--
Kirill A. Shutemov
next prev parent reply other threads:[~2016-01-25 10:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-22 18:14 khugepaged+0x5a6/0x1800 - BUG: unable to handle kernel NULL pointer dereference at (null) Borislav Petkov
2016-01-25 10:47 ` Kirill A. Shutemov [this message]
2016-01-25 10:47 ` Kirill A. Shutemov
2016-01-25 11:00 ` Borislav Petkov
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=20160125104749.GA11541@node.shutemov.name \
--to=kirill@shutemov.name \
--cc=akpm@linux-foundation.org \
--cc=bp@alien8.de \
--cc=dan.j.williams@intel.com \
--cc=ebru.akagunduz@gmail.com \
--cc=jmarchan@redhat.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mgorman@techsingularity.net \
--cc=minchan@kernel.org \
--cc=vbabka@suse.cz \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.