* mm: kernel BUG in page_add_new_anon_rmap (khugepaged)
@ 2016-09-03 10:11 ` Dmitry Vyukov
0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Vyukov @ 2016-09-03 10:11 UTC (permalink / raw)
To: Andrea Arcangeli, Ebru Akagündüz, Kirill A. Shutemov,
Andrew Morton, Vlastimil Babka, Mel Gorman, Johannes Weiner,
linux-mm, LKML, Vegard Nossum, Sasha Levin,
Konstantin Khlebnikov, Andrey Ryabinin, Greg Thelen,
Suleiman Souhlal, Hugh Dickins, David Rientjes
Hello,
I've got another BUG in khugepaged while running syzkaller fuzzer:
kernel BUG at mm/rmap.c:1248!
invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN
Dumping ftrace buffer:
(ftrace buffer empty)
Modules linked in:
CPU: 2 PID: 1340 Comm: khugepaged Not tainted 4.8.0-rc3-next-20160825+ #8
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
task: ffff88006a40c580 task.stack: ffff88006a438000
RIP: 0010:[<ffffffff817b6a30>] [<ffffffff817b6a30>]
page_add_new_anon_rmap+0x2e0/0x450 mm/rmap.c:1248
RSP: 0018:ffff88006a43f9c8 EFLAGS: 00010296
RAX: 0000000000000154 RBX: ffffea0000548000 RCX: 0000000000000000
RDX: 0000000000000154 RSI: 0000000000000001 RDI: ffffed000d487f15
RBP: ffff88006a43fa00 R08: 0000000000000001 R09: 0000000000000000
R10: ffff88003cc505c0 R11: 0000000000000001 R12: ffff880038cecd00
R13: 000000c440200000 R14: 0000000000000001 R15: ffff88006a43fb88
FS: 0000000000000000(0000) GS:ffff88006d200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c43d56a000 CR3: 000000000861c000 CR4: 00000000000006e0
DR0: 000000000000001e DR1: 000000000000001e DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Stack:
ffffea0000f29c40 ffff880000000200 80000000152000e7 ffff880038cecd00
ffffea0000f29c40 ffffea0000548000 ffff88006a43fb88 ffff88006a43fbb0
ffffffff81830466 ffffed000719d9a8 ffff880038cecd40 ffffffff00000001
Call Trace:
[<ffffffff81830466>] collapse_huge_page+0x2d36/0x3500 mm/khugepaged.c:1066
[< inline >] khugepaged_scan_pmd mm/khugepaged.c:1205
[< inline >] khugepaged_scan_mm_slot mm/khugepaged.c:1718
[< inline >] khugepaged_do_scan mm/khugepaged.c:1799
[<ffffffff818329fb>] khugepaged+0x1dcb/0x2b30 mm/khugepaged.c:1844
[<ffffffff813f120f>] kthread+0x23f/0x2d0 kernel/kthread.c:209
[<ffffffff86e1098a>] ret_from_fork+0x2a/0x40 arch/x86/entry/entry_64.S:431
Code: df e8 a5 35 fc ff 0f 0b e8 fe 52 e1 ff 48 c7 c6 20 42 11 87 48
89 df e8 8f 35 fc ff 0f 0b e8 e8 52 e1 ff 4c 89 e7 e8 20 2d fc ff <0f>
0b e8 d9 52 e1 ff 4c 89 fa 48 b8 00 00 00 00 00 fc ff df 48
RIP [<ffffffff817b6a30>] page_add_new_anon_rmap+0x2e0/0x450 mm/rmap.c:1248
RSP <ffff88006a43f9c8>
---[ end trace 27dc22f88d620ad9 ]---
On 0f98f121e1670eaa2a2fbb675e07d6ba7f0e146f of linux-next.
^ permalink raw reply [flat|nested] 4+ messages in thread
* mm: kernel BUG in page_add_new_anon_rmap (khugepaged)
@ 2016-09-03 10:11 ` Dmitry Vyukov
0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Vyukov @ 2016-09-03 10:11 UTC (permalink / raw)
To: Andrea Arcangeli, Ebru Akagündüz, Kirill A. Shutemov,
Andrew Morton, Vlastimil Babka, Mel Gorman, Johannes Weiner,
linux-mm, LKML, Vegard Nossum, Sasha Levin,
Konstantin Khlebnikov, Andrey Ryabinin, Greg Thelen,
Suleiman Souhlal, Hugh Dickins, David Rientjes
Hello,
I've got another BUG in khugepaged while running syzkaller fuzzer:
kernel BUG at mm/rmap.c:1248!
invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN
Dumping ftrace buffer:
(ftrace buffer empty)
Modules linked in:
CPU: 2 PID: 1340 Comm: khugepaged Not tainted 4.8.0-rc3-next-20160825+ #8
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
task: ffff88006a40c580 task.stack: ffff88006a438000
RIP: 0010:[<ffffffff817b6a30>] [<ffffffff817b6a30>]
page_add_new_anon_rmap+0x2e0/0x450 mm/rmap.c:1248
RSP: 0018:ffff88006a43f9c8 EFLAGS: 00010296
RAX: 0000000000000154 RBX: ffffea0000548000 RCX: 0000000000000000
RDX: 0000000000000154 RSI: 0000000000000001 RDI: ffffed000d487f15
RBP: ffff88006a43fa00 R08: 0000000000000001 R09: 0000000000000000
R10: ffff88003cc505c0 R11: 0000000000000001 R12: ffff880038cecd00
R13: 000000c440200000 R14: 0000000000000001 R15: ffff88006a43fb88
FS: 0000000000000000(0000) GS:ffff88006d200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c43d56a000 CR3: 000000000861c000 CR4: 00000000000006e0
DR0: 000000000000001e DR1: 000000000000001e DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Stack:
ffffea0000f29c40 ffff880000000200 80000000152000e7 ffff880038cecd00
ffffea0000f29c40 ffffea0000548000 ffff88006a43fb88 ffff88006a43fbb0
ffffffff81830466 ffffed000719d9a8 ffff880038cecd40 ffffffff00000001
Call Trace:
[<ffffffff81830466>] collapse_huge_page+0x2d36/0x3500 mm/khugepaged.c:1066
[< inline >] khugepaged_scan_pmd mm/khugepaged.c:1205
[< inline >] khugepaged_scan_mm_slot mm/khugepaged.c:1718
[< inline >] khugepaged_do_scan mm/khugepaged.c:1799
[<ffffffff818329fb>] khugepaged+0x1dcb/0x2b30 mm/khugepaged.c:1844
[<ffffffff813f120f>] kthread+0x23f/0x2d0 kernel/kthread.c:209
[<ffffffff86e1098a>] ret_from_fork+0x2a/0x40 arch/x86/entry/entry_64.S:431
Code: df e8 a5 35 fc ff 0f 0b e8 fe 52 e1 ff 48 c7 c6 20 42 11 87 48
89 df e8 8f 35 fc ff 0f 0b e8 e8 52 e1 ff 4c 89 e7 e8 20 2d fc ff <0f>
0b e8 d9 52 e1 ff 4c 89 fa 48 b8 00 00 00 00 00 fc ff df 48
RIP [<ffffffff817b6a30>] page_add_new_anon_rmap+0x2e0/0x450 mm/rmap.c:1248
RSP <ffff88006a43f9c8>
---[ end trace 27dc22f88d620ad9 ]---
On 0f98f121e1670eaa2a2fbb675e07d6ba7f0e146f of linux-next.
--
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mm: kernel BUG in page_add_new_anon_rmap (khugepaged)
2016-09-03 10:11 ` Dmitry Vyukov
@ 2016-09-07 16:38 ` Kirill A. Shutemov
-1 siblings, 0 replies; 4+ messages in thread
From: Kirill A. Shutemov @ 2016-09-07 16:38 UTC (permalink / raw)
To: Dmitry Vyukov
Cc: Andrea Arcangeli, Ebru Akagündüz, Kirill A. Shutemov,
Andrew Morton, Vlastimil Babka, Mel Gorman, Johannes Weiner,
linux-mm, LKML, Vegard Nossum, Sasha Levin,
Konstantin Khlebnikov, Andrey Ryabinin, Greg Thelen,
Suleiman Souhlal, Hugh Dickins, David Rientjes
On Sat, Sep 03, 2016 at 12:11:21PM +0200, Dmitry Vyukov wrote:
> Hello,
>
> I've got another BUG in khugepaged while running syzkaller fuzzer:
>
> kernel BUG at mm/rmap.c:1248!
I think it caused by the same bug as the you've already reported:
http://lkml.kernel.org/r/CACT4Y+Z3gigBvhca9kRJFcjX0G70V_nRhbwKBU+yGoESBDKi9Q@mail.gmail.com
The patch in that thread should address this issue too.
--
Kirill A. Shutemov
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mm: kernel BUG in page_add_new_anon_rmap (khugepaged)
@ 2016-09-07 16:38 ` Kirill A. Shutemov
0 siblings, 0 replies; 4+ messages in thread
From: Kirill A. Shutemov @ 2016-09-07 16:38 UTC (permalink / raw)
To: Dmitry Vyukov
Cc: Andrea Arcangeli, Ebru Akagündüz, Kirill A. Shutemov,
Andrew Morton, Vlastimil Babka, Mel Gorman, Johannes Weiner,
linux-mm, LKML, Vegard Nossum, Sasha Levin,
Konstantin Khlebnikov, Andrey Ryabinin, Greg Thelen,
Suleiman Souhlal, Hugh Dickins, David Rientjes
On Sat, Sep 03, 2016 at 12:11:21PM +0200, Dmitry Vyukov wrote:
> Hello,
>
> I've got another BUG in khugepaged while running syzkaller fuzzer:
>
> kernel BUG at mm/rmap.c:1248!
I think it caused by the same bug as the you've already reported:
http://lkml.kernel.org/r/CACT4Y+Z3gigBvhca9kRJFcjX0G70V_nRhbwKBU+yGoESBDKi9Q@mail.gmail.com
The patch in that thread should address this issue too.
--
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-09-08 0:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-03 10:11 mm: kernel BUG in page_add_new_anon_rmap (khugepaged) Dmitry Vyukov
2016-09-03 10:11 ` Dmitry Vyukov
2016-09-07 16:38 ` Kirill A. Shutemov
2016-09-07 16:38 ` Kirill A. Shutemov
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.