From nobody Thu Jan 13 03:51:11 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2EFDE195D84B for ; Thu, 13 Jan 2022 03:51:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JZ9TC497Rz3mX2 for ; Thu, 13 Jan 2022 03:51:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 652B719451 for ; Thu, 13 Jan 2022 03:51:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20D3pBnv089813 for ; Thu, 13 Jan 2022 03:51:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20D3pBWu089812 for bugs@FreeBSD.org; Thu, 13 Jan 2022 03:51:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261167] wpa_supplicant kernel panic entering multi-user mode after running /etc/netstart in single user mode Date: Thu, 13 Jan 2022 03:51:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grahamperrin@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642045871; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jJQBOImAdx4x8e5wNideFYEDrbfrK9CyAgeAYLOTD+k=; b=PvlNRvehaTempVCQldUutlQfF4zXwAHT4Jj4yenrZOfm1R9PAADdHFGnrD7vYTI7w0C7AI MaxgZDBkoQQ49sQ8EciKL1SJLCrmR9ajgV0gCmFfwxJD7I/3WmQJQlXkQ96Cfo5mMt4XRX D3G/OX2q0j7VfgPEIR11F1LV4yK79lTeKQakzK6PAlLJhbtwarhhjvare8O7KUHQ5O4vlI x2cLaur6/3yphxZHta9ijp6JUuondWgTacmjr+qhC1IgU2OO3pYLMEPxiQLGjevR4SdB5W vXkWjc698o2KPXootEoL5b0FiGo4nbZqYLAmOaWhfy7PRkG86K1XSDID+Pq5/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642045871; a=rsa-sha256; cv=none; b=ZBGbi0415t6KZlIaXpcBjK5z80bO1X/NdAJbJTz1db/Rbh8fOq8nMLiOclWm0WL8k4Og4m y8dp4CKF9pNINIDON2rJVZirwg/t+vROh+TdgbWKJGeLjpZXcfEr62SMKgIGp+qtFLMm6j 2r64nhuTfxDCc+meOSBQ65ecMEmF3USAVQBdOocS2y+3L1yAyK97GNDS2J0dVwXPTCYqe2 ecQzwhRVlHgl45OPS5GFAlt1OzK3g8rF36m2TTlUgjaA37iR/3S/wC8pzr6dJOZhqItVXD D5aO0Ei+97Lgq2+ug0BCEndyAjmBMfpWz1MPpn9uvToqP7h9k5RRYybmqmtRTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261167 --- Comment #1 from Graham Perrin --- Created attachment 230974 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D230974&action= =3Dedit core.txt.3 is too large for Bugzilla; compressed Unread portion of the kernel message buffer: #0 0xffffffff80c71b51 at witness_debugger+0x71 #1 0xffffffff80c72caa at witness_warn+0x3ea #2 0xffffffff810c8a96 at trap_pfault+0x86 #3 0xffffffff8109a298 at calltrap+0x8 #4 0xffffffff80d96e5b at ieee80211_sta_join1+0xbb #5 0xffffffff80d97d48 at ieee80211_sta_join+0x428 #6 0xffffffff80d8bea7 at ieee80211_ioctl_setmlme+0x287 #7 0xffffffff80d8988a at ieee80211_ioctl_set80211+0x5da #8 0xffffffff80d8843b at ieee80211_ioctl+0x31b #9 0xffffffff80d29f84 at ifioctl+0x7f4 #10 0xffffffff80c77482 at kern_ioctl+0x202 #11 0xffffffff80c771d6 at sys_ioctl+0x126 #12 0xffffffff810c93be at amd64_syscall+0x12e #13 0xffffffff8109abab at fast_syscall_common+0xf8 Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 01 fault virtual address =3D 0x1f fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80d9a4c4 stack pointer =3D 0x28:0xfffffe01121269a0 frame pointer =3D 0x28:0xfffffe01121269b0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 28578 (wpa_supplicant) trap number =3D 12 panic: page fault cpuid =3D 1 time =3D 1642034588 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0112126= 760 vpanic() at vpanic+0x17f/frame 0xfffffe01121267b0 panic() at panic+0x43/frame 0xfffffe0112126810 trap_fatal() at trap_fatal+0x385/frame 0xfffffe0112126870 trap_pfault() at trap_pfault+0xab/frame 0xfffffe01121268d0 calltrap() at calltrap+0x8/frame 0xfffffe01121268d0 --- trap 0xc, rip =3D 0xffffffff80d9a4c4, rsp =3D 0xfffffe01121269a0, rbp = =3D 0xfffffe01121269b0 --- ieee80211_del_node_nt() at ieee80211_del_node_nt+0x34/frame 0xfffffe0112126= 9b0 ieee80211_sta_join1() at ieee80211_sta_join1+0xbb/frame 0xfffffe0112126a00 ieee80211_sta_join() at ieee80211_sta_join+0x428/frame 0xfffffe0112126a50 ieee80211_ioctl_setmlme() at ieee80211_ioctl_setmlme+0x287/frame 0xfffffe0112126af0 ieee80211_ioctl_set80211() at ieee80211_ioctl_set80211+0x5da/frame 0xfffffe0112126b60 ieee80211_ioctl() at ieee80211_ioctl+0x31b/frame 0xfffffe0112126bd0 ifioctl() at ifioctl+0x7f4/frame 0xfffffe0112126cc0 kern_ioctl() at kern_ioctl+0x202/frame 0xfffffe0112126d30 sys_ioctl() at sys_ioctl+0x126/frame 0xfffffe0112126e00 amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe0112126f30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0112126f30 --- syscall (54, FreeBSD ELF64, sys_ioctl), rip =3D 0x3103d923d01a, rsp =3D 0x7fffffffe578, rbp =3D 0x7fffffffe5d0 --- KDB: enter: panic Uptime: 17m7s (ada0:ahcich0:0:0:0): spin-down Dumping 1978 out of 16265 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..= 91% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=3Dtextdump@entry=3D1) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0xffffffff80c00ba4 in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:487 #3 0xffffffff80c0100e in vpanic (fmt=3D0xffffffff811d5bb8 "%s",=20 ap=3D) at /usr/src/sys/kern/kern_shutdown.c:920 #4 0xffffffff80c00d63 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:844 #5 0xffffffff810c8a05 in trap_fatal (frame=3D0xfffffe01121268e0, eva=3D31) at /usr/src/sys/amd64/amd64/trap.c:946 #6 0xffffffff810c8abb in trap_pfault (frame=3D0xfffffe01121268e0,=20 usermode=3Dfalse, signo=3D, ucode=3D) at /usr/src/sys/amd64/amd64/trap.c:765 #7 #8 0xffffffff80d9a4c4 in ieee80211_del_node_nt (nt=3D0xfffffe00c7213640,=20 ni=3D0xfffffe0136ddc000) at /usr/src/sys/net80211/ieee80211_node.c:1379 #9 0xffffffff80d96e5b in ieee80211_sta_join1 ( selbs=3Dselbs@entry=3D0xfffffe01165ba000) at /usr/src/sys/net80211/ieee80211_node.c:865 #10 0xffffffff80d97d48 in ieee80211_sta_join ( vap=3Dvap@entry=3D0xfffff80004851000, chan=3D,=20 se=3D) at /usr/src/sys/net80211/ieee80211_node.c:1040 #11 0xffffffff80d8bea7 in setmlme_assoc_sta (vap=3D0xfffff80004851000,=20 mac=3D0xfffffe0112126a94 "X\037(t\a\250piano", ssid_len=3D,=20 ssid=3D) at /usr/src/sys/net80211/ieee80211_ioctl.c:1576 #12 ieee80211_ioctl_setmlme (vap=3Dvap@entry=3D0xfffff80004851000,=20 ireq=3Direq@entry=3D0xfffffe0112126d50) at /usr/src/sys/net80211/ieee80211_ioctl.c:1633 #13 0xffffffff80d8988a in ieee80211_ioctl_set80211 ( vap=3Dvap@entry=3D0xfffff80004851000, cmd=3D,=20 ireq=3Direq@entry=3D0xfffffe0112126d50) at /usr/src/sys/net80211/ieee80211_ioctl.c:2953 #14 0xffffffff80d8843b in ieee80211_ioctl (ifp=3D,=20 cmd=3D2149607914, data=3D0xfffffe0112126d50 "wlan0") at /usr/src/sys/net80211/ieee80211_ioctl.c:3633 #15 0xffffffff80d29f84 in ifioctl (so=3D0xfffff80013ce7780,=20 cmd=3D, data=3D, td=3D0xfffffe0114643720) at /usr/src/sys/net/if.c:3022 #16 0xffffffff80c77482 in fo_ioctl (fp=3D, com=3D2149607914,= =20 data=3D0xffffffff8120d151, active_cred=3D0xfffffe0136ddc018,=20 td=3D0xfffffe0114643720) at /usr/src/sys/sys/file.h:364 #17 kern_ioctl (td=3D, td@entry=3D0xfffffe0114643720,=20 fd=3D, com=3Dcom@entry=3D2149607914,=20 data=3D0xffffffff8120d151 "/usr/src/sys/net80211/ieee80211_node.c",=20 data@entry=3D0xfffffe0112126d50 "wlan0") at /usr/src/sys/kern/sys_generic.c:803 #18 0xffffffff80c771d6 in sys_ioctl (td=3D0xfffffe0114643720,=20 uap=3D0xfffffe0114643b10) at /usr/src/sys/kern/sys_generic.c:711 #19 0xffffffff810c93be in syscallenter (td=3D) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:189 #20 amd64_syscall (td=3D0xfffffe0114643720, traced=3D0) at /usr/src/sys/amd64/amd64/trap.c:1191 #21 #22 0x00003103d923d01a in ?? () Backtrace stopped: Cannot access memory at address 0x7fffffffe578 (kgdb) --=20 You are receiving this mail because: You are the assignee for the bug.=