[Bug 264114] panic: vm_fault_lookup: fault on nofault entry, addr: 0 (wireguard)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 May 2022 06:09:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264114

            Bug ID: 264114
           Summary: panic: vm_fault_lookup: fault on nofault entry, addr:
                    0 (wireguard)
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: nicholas.h.briggs@gmail.com

Upgraded to 13.1-RELEASE from 13.0-RELEASE-p(whatever was current).

System is configured with wireguard, and when I attempted to bring up the
tunnel, found that it had died:

  Version String: FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC
  Panic String: vm_fault_lookup: fault on nofault entry, addr: 0

Tried to bring up wireguard again with the same result.

% kldstat
Id Refs Address        Size Name
 1   38   0x800000  1831444 kernel
 2    1 0x19800000     5000 fdescfs.ko
 3    1 0x19805000   179000 radeonkms.ko
 4    2 0x1997e000    89000 drm.ko
 5    4 0x19a07000    28000 linuxkpi.ko
 6    2 0x19a2f000     4000 backlight.ko
 7    3 0x19a33000    10000 linuxkpi_gplv2.ko
 8    1 0x19a43000    13000 ttm.ko
 9    1 0x19a56000     3000 radeon_R100_cp_bin.ko
10    1 0x19a59000     a000 mqueuefs.ko
11    1 0x19a63000     6000 acpi_wmi.ko
12    1 0x19a69000    2b000 if_wg.ko
13    1 0x19a94000     3000 mac_ntpd.ko

# pkg provides if_wg.ko
Name    : wireguard-kmod-0.0.20211105_1
Desc    : WireGuard implementation for the FreeBSD kernel
Repo    : FreeBSD
Filename: boot/modules/if_wg.ko

# pkg info wireguard-kmod-0.0.20211105_1
wireguard-kmod-0.0.20211105_1
Name           : wireguard-kmod
Version        : 0.0.20211105_1
Installed on   : Sun May  8 14:05:11 2022 PDT
Origin         : net/wireguard-kmod
Architecture   : FreeBSD:13:i386
Prefix         : /usr/local
Categories     : net-vpn net kld
Licenses       : MIT
Maintainer     : decke@FreeBSD.org
WWW            : https://git.zx2c4.com/wireguard-freebsd/
Comment        : WireGuard implementation for the FreeBSD kernel
Annotations    :
        FreeBSD_version: 1300139
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 114KiB
Description    :
Kernel module for FreeBSD to support Wireguard.

At this time this code is new, unvetted, possibly buggy, and should be
considered "experimental". It might contain security issues. We gladly
welcome your testing and bug reports, but do keep in mind that this code
is new, so some caution should be exercised at the moment for using it
in mission critical environments.

WWW: https://git.zx2c4.com/wireguard-freebsd/

It was running without issue on 13.0-RELEASE -- perhaps this version should be
tagged as not compatible with 13.1?  This seems to be the latest version of
wireguard available for the FreeBSD kernel.

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