Re: crash in iflib_fast_intr

From: Shawn Webb <shawn.webb_at_hardenedbsd.org>
Date: Wed, 18 Jan 2017 14:45:34 -0500
On Wed, Jan 18, 2017 at 07:31:12AM -0700, Sean Bruno wrote:
> 
> 
> On 01/18/17 03:37, peter.blok_at_bsd4all.org wrote:
> > Hi,
> > 
> > A kernel without option EARLY_AP_STARTUP crashes in if lib_fast_intr. Since GENERIC now has EARLY_AP_STARTUP, this probably got unnoticed. Problem is reproducible.
> > 
> > KDB: stack backtrace:
> > #0 0xffffffff805cec97 at kdb_backtrace+0x67
> > #1 0xffffffff80584816 at vpanic+0x186
> > #2 0xffffffff80584683 at panic+0x43
> > #3 0xffffffff8090f222 at trap_fatal+0x322
> > #4 0xffffffff8090f3ec at trap_pfault+0x1bc
> > #5 0xffffffff8090eaa0 at trap+0x280
> > #6 0xffffffff808f35e1 at calltrap+0x8
> > #7 0xffffffff806a202d at iflib_fast_intr+0x3d
> > #8 0xffffffff8054963b at intr_event_handle+0x9b
> > #9 0xffffffff80965f38 at intr_execute_handlers+0x48
> > #10 0xffffffff8096b1cf at lapic_handle_intr+0x3f
> > #11 0xffffffff808f3cc7 at Xapic_isr1+0xb7
> > #12 0xffffffff805b994a at sched_idletd+0x37a
> > #13 0xffffffff805460f5 at fork_exit+0x85
> > #14 0xffffffff808f3b1e at fork_trampoline+0xe
> > 
> > Peter
> 
> Thanks for the report.  We're looking at this.
> 
> This is with an igb(4) interface or em(4)?
> 
> sean
> 

I'm getting something similar with em(4):

https://goo.gl/photos/MXiFXtatBYcWagJTA

I'm at this commit in HardenedBSD:

https://github.com/HardenedBSD/hardenedBSD/commit/2108b0d56984115eb52e72bd16539071064b348e

Thanks,

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

GPG Key ID:          0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE

Received on Wed Jan 18 2017 - 18:45:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:09 UTC