Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 2015 12:16:42 +0100
From:      Oliver Pinter <oliver.pinter@hardenedbsd.org>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        Fabian Keil <freebsd-listen@fabiankeil.de>,  FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: fork_findpid() - Fatal trap 12: page fault while in kernel mode
Message-ID:  <CAPQ4ffu3TZJGq=%2BJLmwPvds-y6p904-GdPZJ=uQ-vWb8poU=qQ@mail.gmail.com>
In-Reply-To: <20151215192016.GC73098@mutt-hardenedbsd>
References:  <20151215174238.2d7cc3bb@fabiankeil.de> <20151215192016.GC73098@mutt-hardenedbsd>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

Is this with latest 11-CURRENT or 10-STABLE?

Or contains the ad578c311ef commit?

On Tuesday, December 15, 2015, Shawn Webb <shawn.webb@hardenedbsd.org>
wrote:

> On Tue, Dec 15, 2015 at 05:42:38PM +0100, Fabian Keil wrote:
> > I've seen the following panic a couple of times in the last three
> > months, usually while poudriere was running and with sh being the
> > current process.
> >
> > This one is from a system based on r290926 running with
> > kern.randompid=9001 and forking frequently (>1000 forks/second)
> > due to poudriere and afl-fuzz:
> >
> > Fatal trap 12: page fault while in kernel mode
> > cpuid = 1; apic id = 04
> > fault virtual address   = 0x618b00a8
> > fault code              = supervisor read data, page not present
> > instruction pointer     = 0x20:0xffffffff80909158
> > stack pointer           = 0x28:0xfffffe011e03b940
> > frame pointer           = 0x28:0xfffffe011e03b960
> > code segment            = base 0x0, limit 0xfffff, type 0x1b
> >                         = DPL 0, pres 1, long 1, def32 0, gran 1
> > processor eflags        = interrupt enabled, resume, IOPL = 0
> > current process         = 71325 (sh)
> > trap number             = 12
> > panic: page fault
> > cpuid = 1
> > KDB: stack backtrace:
> > [...]
> > Uptime: 13d20h43m20s
> > [...]
>
> Hey Fabien,
>
> I'm glad you've seen this, too. We've observed this in HardenedBSD,
> especially when running Poudriere and Jenkins. I think Oliver Pinter
> might have a potential patch to fix this. I've CC'd him on this thread.
>
> Thanks,
>
> --
> Shawn Webb
> HardenedBSD
>
> GPG Key ID:          0x6A84658F52456EEE
> GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPQ4ffu3TZJGq=%2BJLmwPvds-y6p904-GdPZJ=uQ-vWb8poU=qQ>