Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2016 20:57:42 -0500
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        freebsd-current@freebsd.org
Subject:   kernel panic by enabling net.inet.ip.random_id
Message-ID:  <20160106015742.GA8405@mutt-hardenedbsd>

next in thread | raw e-mail | index | archive | help

--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hey All,

Here's a kernel panic I'm experiencing by enabling net.inet.ip.random_id
at boot.

I'm on latest HEAD on amd64 in bhyve. I'll soon-ish be testing on native
hardware with VIMAGE enabled.

=3D=3D=3D Begin Log =3D=3D=3D
Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex ip_id_mtx (ip_id_mtx) r =3D 0 (0xffffffff81c54830) lo=
cked @ /usr/src/sys/netinet/ip_id.c:227
stack backtrace:
#0 0xffffffff80a79620 at witness_debugger+0x70
#1 0xffffffff80a7a937 at witness_warn+0x3d7
#2 0xffffffff80e6b887 at trap_pfault+0x57
#3 0xffffffff80e6b15f at trap+0x4bf
#4 0xffffffff80e4af97 at calltrap+0x8
#5 0xffffffff80b6c41b at ip_output+0x16b
#6 0xffffffff80b68e82 at icmp_reflect+0x5b2
#7 0xffffffff80b6883f at icmp_error+0x46f
#8 0xffffffff80beeb12 at udp_input+0x982
#9 0xffffffff80b69d1d at ip_input+0x17d
#10 0xffffffff80b08ba1 at netisr_dispatch_src+0x81
#11 0xffffffff80afecce at ether_demux+0x15e
#12 0xffffffff80affa14 at ether_nh_input+0x344
#13 0xffffffff80b08ba1 at netisr_dispatch_src+0x81
#14 0xffffffff80afefcf at ether_input+0x4f
#15 0xffffffff8089a5c3 at vtnet_rxq_eof+0x823
#16 0xffffffff8089b2ce at vtnet_rx_vq_intr+0x4e
#17 0xffffffff809e9ba6 at intr_event_execute_handlers+0x96


Fatal trap 12: page fault while in kernel mode
cpuid =3D 6; apic id =3D 06
fault virtual address   =3D 0x5bd
fault code              =3D supervisor read data, page not present
instruction pointer     =3D 0x20:0xffffffff80b5de9e
stack pointer           =3D 0x28:0xfffffe02b8d483e0
frame pointer           =3D 0x28:0xfffffe02b8d48410
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 12 (irq265: virtio_pci0)
[ thread pid 12 tid 100040 ]
Stopped at      ip_fillid+0x8e: movzbl  (%rax,%rcx,1),%esi
=3D=3D=3D End Log =3D=3D=3D

Thanks,

--=20
Shawn Webb
HardenedBSD

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

--rwEMma7ioTxnRzrJ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWjHSTAAoJEGqEZY9SRW7uu9AP/Rh+qj4uy7V+CnJUJ6sBXqQ8
edU82bRD3OlaRXIlH+4NKes0TMR8PMg2YKEQPmMMon3cIluSiYhbh/lm7wTjGiFV
tES7s5Mb1XJmu60d/v/gacer5aFAHW4GmgeEHJPXQYMS3KvOVuCkJpWm3HYALFyW
eh8JvBw0pM3TPkmIxaPAEmTciX8sy/gJrf6CW9hT9I867qaUzqscINB4K2JMu3JS
ObWkoFao4X2yKgAQraqK0SnYv0mPMVwOTu9RCbSW64XxGhozH0iomlIgqmURgH6H
xRv8R42xEPK/Vq1mDA5H/lKsmIKajF9PRT8PAHfIRWwqhL+ar4vVUWE2mUx1rnym
IB9iXIcyBVi4B7qZ+2K7nX+p9Rr9igfXXIDDof/aevgSHkc9tkrRB2jo+i2Td0ZD
DGQzKgVCs7cfiDsIg08sYuPBvdzi/zObINiifVO2kefjDBJ4JW33XVuVKmmBO8uO
MMBCxhgTgd5FmZ+PMpJn24cOnvtuSjtBT0XUrGMu6JI2tkeqewHCjVXVim73VcGb
UXTY0smysEBFuSZDRxBVM2YByqYv9J+awK3dNlRPnRxSSiiPdsPLTPDDxS2ljTxF
ZHZaLKSKY+vnU64hbUiuF0tf2CkOFm1x9W6QharDTO6Fgn3nF/r2URivFz0MkoDG
QIOolPvBzUqKxgAti/CH
=eav+
-----END PGP SIGNATURE-----

--rwEMma7ioTxnRzrJ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160106015742.GA8405>