[Bug 253541] if_wg(4): panic on wireguard interface destroy
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 15 18:04:44 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253541
Bug ID: 253541
Summary: if_wg(4): panic on wireguard interface destroy
Product: Base System
Version: CURRENT
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: frank at pinky.sax.de
Created attachment 222473
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222473&action=edit
panic backtrace
When a (configured) wg interface is destroyed, the system panics.
#ifconfig wg0 destroy
panic: page fault
cpuid = 1
time = 1613404414
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00e7cb3540
vpanic() at vpanic+0x181/frame 0xfffffe00e7cb3590
panic() at panic+0x43/frame 0xfffffe00e7cb35f0
trap_fatal() at trap_fatal+0x387/frame 0xfffffe00e7cb3650
trap_pfault() at trap_pfault+0x4f/frame 0xfffffe00e7cb36b0
trap() at trap+0x27d/frame 0xfffffe00e7cb37c0
calltrap() at calltrap+0x8/frame 0xfffffe00e7cb37c0
--- trap 0xc, rip = 0xffffffff805011a1, rsp = 0xfffffe00e7cb3890, rbp =
0xfffffe00e7cb38b0 ---
grouptask_block() at grouptask_block+0x11/frame 0xfffffe00e7cb38b0
taskqgroup_detach() at taskqgroup_detach+0x18/frame 0xfffffe00e7cb38e0
wg_detach() at wg_detach+0xc8/frame 0xfffffe00e7cb3910
iflib_pseudo_deregister() at iflib_pseudo_deregister+0xfe/frame
0xfffffe00e7cb3940
if_clone_destroyif() at if_clone_destroyif+0x1b5/frame 0xfffffe00e7cb3980
if_clone_destroy() at if_clone_destroy+0x195/frame 0xfffffe00e7cb39d0
ifioctl() at ifioctl+0x4a4/frame 0xfffffe00e7cb3a90
kern_ioctl() at kern_ioctl+0x26d/frame 0xfffffe00e7cb3b00
sys_ioctl() at sys_ioctl+0xf6/frame 0xfffffe00e7cb3bc0
amd64_syscall() at amd64_syscall+0x10c/frame 0xfffffe00e7cb3cf0
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00e7cb3cf0
--- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x80041f5aa, rsp =
0x7fffffffe148, rbp = 0x7fffffffe160 ---
Some more data in the attached file, I'm not sure if it helps. vmcore and
matching debug kernel/sources are available on demand.
version: FreeBSD 14.0-CURRENT, commit 88db1cc9f197a376817ce27ba269348666bbd4b7
(freebsd/main, freebsd/HEAD, main) with minor local changes
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list