Bug 235649 - panic: general protection fault in vlan_ioctl+0xfc
Summary: panic: general protection fault in vlan_ioctl+0xfc
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-net (Nobody)
Keywords: panic, stress2
Depends on:
Reported: 2019-02-10 19:41 UTC by Peter Holm
Modified: 2019-02-12 02:57 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Peter Holm freebsd_committer 2019-02-10 19:41:32 UTC
While stress testing ifconfig I got this:

Fatal trap 9: general protection fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer	= 0x20:0xffffffff8120956c
stack pointer	        = 0x28:0xfffffe00b9d97660
frame pointer	        = 0x28:0xfffffe00b9d976c0
code segment		= base rx0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 11473 (ifconfig)
trap number		= 9
panic: general protection fault
cpuid = 0
time = 1549805206
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe00b9d97340
vpanic() at vpanic+0x20c/frame 0xfffffe00b9d973a0
panic() at panic+0x43/frame 0xfffffe00b9d97400
trap_fatal() at trap_fatal+0x47d/frame 0xfffffe00b9d97470
trap() at trap+0xba/frame 0xfffffe00b9d97590
calltrap() at calltrap+0x8/frame 0xfffffe00b9d97590
--- trap 0x9, rip = 0xffffffff8120956c, rsp = 0xfffffe00b9d97660, rbp = 0xfffffe00b9d976c0 ---
vlan_ioctl() at vlan_ioctl+0xfc/frame 0xfffffe00b9d976c0
ifhwioctl() at ifhwioctl+0x6ea/frame 0xfffffe00b9d97750
ifioctl() at ifioctl+0x5dc/frame 0xfffffe00b9d97830
kern_ioctl() at kern_ioctl+0x3a8/frame 0xfffffe00b9d978a0
sys_ioctl() at sys_ioctl+0x290/frame 0xfffffe00b9d97980
amd64_syscall() at amd64_syscall+0x45e/frame 0xfffffe00b9d97ab0
fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe00b9d97ab0
--- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x80048524a, rsp = 0x7fffffffe3e8, rbp = 0x7fffffffe4b0 ---
KDB: enter: panic
[ thread pid 11473 tid 100681 ]
Stopped at      kdb_enter+0x6a: movq    $0,kdb_why