From nobody Fri Sep 17 08:21:46 2021 X-Original-To: net@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 9A0D917C09AA for ; Fri, 17 Sep 2021 08:21:46 +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 4H9n3t3tVPz3v43 for ; Fri, 17 Sep 2021 08:21:46 +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 6565D11979 for ; Fri, 17 Sep 2021 08:21:46 +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 18H8LkD8065569 for ; Fri, 17 Sep 2021 08:21:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 18H8Lkjt065568 for net@FreeBSD.org; Fri, 17 Sep 2021 08:21:46 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: net@FreeBSD.org Subject: [Bug 258527] wpa_supplicant(8) from the base is not able to bring up wlan(4) interface correctly due to SIGSEGV after EAP/PEAP MSCHAPv2 authentication Date: Fri, 17 Sep 2021 08:21:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258527 --- Comment #8 from Marek Zarychta --- (In reply to Cy Schubert from comment #7) >Don't update your system. Too late. I am now on stable/13-n247303-adfb7f807c6. >Then try wpa_supplicant again and send me the dump. I have a few, will send you email and share them. Here's one of them: Reading symbols from /usr/sbin/wpa_supplicant... Reading symbols from /usr/lib/debug//usr/sbin/wpa_supplicant.debug... [New LWP 100330] Core was generated by `/usr/sbin/wpa_supplicant -s -dd -B -i wlan0 -c /etc/wpa_supplicant.conf -D bsd -'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000008000000076 in ?? () (gdb) bt #0 0x0000008000000076 in ?? () #1 0x0000000000316d93 in wpa_sm_key_mgmt_set_pmk (sm=3D0x801012700,=20 pmk=3D0x801012700 "\354\350\206e\216\324\v\231=DF=9E\225\006\001\237\034N\355\362, pmk_len=3D32) at /usr/src/contrib/wpa/src/rsn_supp/wpa_i.h:393 #2 0x0000000000316cf4 in wpa_supplicant_key_mgmt_set_pmk (sm=3D0x801012700= ) at /usr/src/contrib/wpa/src/rsn_supp/wpa.c:252 #3 0x000000000031674a in wpa_supplicant_get_pmk (sm=3D0x801012700, src_addr=3D0x8010634a0 "",=20 pmkid=3D0x8010444e9 "b\217\306[r\346\032\264\327\375\231\331Z!WC") at /usr/src/contrib/wpa/src/rsn_supp/wpa.c:374 #4 0x000000000031150a in wpa_supplicant_process_1_of_4 (sm=3D0x801012700, src_addr=3D0x8010634a0 "", key=3D0x801044484, ver=3D2,=20 key_data=3D0x8010444e3 "\335\024", key_data_len=3D22) at /usr/src/contrib/wpa/src/rsn_supp/wpa.c:621 #5 0x000000000030ffca in wpa_sm_rx_eapol (sm=3D0x801012700, src_addr=3D0x8= 010634a0 "", buf=3D0x8010634a8 "\001\003", len=3D121) at /usr/src/contrib/wpa/src/rsn_supp/wpa.c:2438 #6 0x00000000002b91e2 in wpa_supplicant_rx_eapol (ctx=3D0x801039000, src_addr=3D0x8010634a0 "", buf=3D0x8010634a8 "\001\003", len=3D121) at /usr/src/contrib/wpa/wpa_supplicant/wpa_supplicant.c:4303 #7 0x0000000000308405 in l2_packet_receive (sock=3D6, eloop_ctx=3D0x801028= be0, sock_ctx=3D0x801060000) at /usr/src/contrib/wpa/src/l2_packet/l2_packet_freebsd.c:98 #8 0x0000000000367460 in eloop_sock_table_dispatch (table=3D0x3702a0 , fds=3D0x801044100) at /usr/src/contrib/wpa/src/utils/eloop.c:600 #9 0x00000000003670c2 in eloop_run () at /usr/src/contrib/wpa/src/utils/eloop.c:1223 #10 0x00000000002bc515 in wpa_supplicant_run (global=3D0x80102d000) at /usr/src/contrib/wpa/wpa_supplicant/wpa_supplicant.c:6526 #11 0x000000000029e5a1 in main (argc=3D12, argv=3D0x7fffffffebc0) at /usr/src/contrib/wpa/wpa_supplicant/main.c:397 quit) --=20 You are receiving this mail because: You are on the CC list for the bug.=