Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2021 18:04:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253541] if_wg(4): panic on wireguard interface destroy
Message-ID:  <bug-253541-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253541

            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@FreeBSD.org
          Reporter: frank@pinky.sax.de

Created attachment 222473
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D222473&action=
=3Dedit
panic backtrace

When a (configured) wg interface is destroyed, the system panics.
#ifconfig wg0 destroy

panic: page fault
cpuid =3D 1
time =3D 1613404414
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00e7cb3=
540
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 =3D 0xffffffff805011a1, rsp =3D 0xfffffe00e7cb3890, rbp =
=3D
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 =3D 0x80041f5aa, rsp =3D
0x7fffffffe148, rbp =3D 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 88db1cc9f197a376817ce27ba269348666bbd=
4b7
(freebsd/main, freebsd/HEAD, main) with minor local changes

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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