[Bug 263505] vlan on wlan kernel panic

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 24 Apr 2022 01:22:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263505

            Bug ID: 263505
           Summary: vlan on wlan kernel panic
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: leres@freebsd.org

Created attachment 233427
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233427&action=edit
kernel stack trace

A friend (Jeff Anton) reported a kernel crash when trying to configure a vlan
on a wlan interface under 13.0. I did some testing with a spare amd64 box and
was able to reproduce the crash with both 13.1-RC4 and 12.3-RELEASE-p5.

The rc.conf from my test setup looks like this:

    hostname="test.alameda.xse.com"
    sshd_enable="YES"
    dumpdev="AUTO"

    keymap="us.ctrl"

    wlans_iwn0="wlan0"
    ifconfig_wlan0="WPA SYNCDHCP"

    vlans_wlan0="vlan0"
    create_args_vlan0="vlan 1234"

    wpa_supplicant="YES"

(This assumes a valid wpa_supplicant.conf.)

After booting and successfully joining wifi issuing:

    ifconfig vlan0 192.168.1.1 

results in a "page fault while in kernel mode" panic. Kernel stack trace
attached (13.1-RC4).

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