From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3603086470761475303==" MIME-Version: 1.0 From: =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rgensen_=3Ctoke_at_toke=2Edk=3E?= To: iwd at lists.01.org Subject: iwd 1.23 crashes in eapol_handle_pkt_1_of_4() Date: Wed, 02 Feb 2022 13:05:56 +0100 Message-ID: <87fsp1cw2j.fsf@toke.dk> In-Reply-To: 87iltxcxnl.fsf@toke.dk --===============3603086470761475303== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Since updating to iwd 1.23 (from Arch packages), I've started seeing periodic crashes. I rebuilt iwd with debug symbols enabled and got the following backtrace out of 'coredumpctl gdb': Core was generated by `/usr/lib/iwd/iwd'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00005555f0ba8b3d in eapol_handle_ptk_1_of_4 (sm=3Dsm(a)entry=3D0x5555= f2b4a920, ek=3D0x5555f2b62588, ek(a)entry=3D0x16, unencrypted=3Dunencrypted= (a)entry=3Dfalse) at src/eapol.c:1236 1236 handshake_event(sm->handshake, (gdb) bt #0 0x00005555f0ba8b3d in eapol_handle_ptk_1_of_4 (sm=3Dsm(a)entry=3D0x5555= f2b4a920, ek=3D0x5555f2b62588, ek(a)entry=3D0x16, unencrypted=3Dunencrypted= (a)entry=3Dfalse) at src/eapol.c:1236 #1 0x00005555f0bab118 in eapol_key_handle (unencrypted=3D, = frame=3D, sm=3D0x5555f2b4a920) at src/eapol.c:2343 #2 eapol_rx_packet (proto=3D, from=3D, frame= =3D, unencrypted=3D, user_data=3D0x5555f2b4a9= 20) at src/eapol.c:2665 #3 0x00005555f0bac497 in __eapol_rx_packet (ifindex=3D62, src=3Dsrc(a)entr= y=3D0x5555f2b62574 "x\212 J\207\267", proto=3Dproto(a)entry=3D34958, frame= =3Dframe(a)entry=3D0x5555f2b62588 "\002\003", = len=3Dlen(a)entry=3D121, noencrypt=3Dnoencrypt(a)entry=3Dfalse) at src/= eapol.c:3017 #4 0x00005555f0b8c617 in netdev_control_port_frame_event (netdev=3D0x5555f= 2b64450, msg=3D0x5555f2b62588) at src/netdev.c:5574 #5 netdev_unicast_notify (msg=3Dmsg(a)entry=3D0x5555f2b619a0, user_data=3D= ) at src/netdev.c:5613 #6 0x00007f60084c9a51 in dispatch_unicast_watches (msg=3D0x5555f2b619a0, i= d=3D, genl=3D0x5555f2b3fc80) at ell/genl.c:954 #7 process_unicast (nlmsg=3D0x7fff61abeac0, genl=3D0x5555f2b3fc80) at ell/= genl.c:973 #8 received_data (io=3D, user_data=3D0x5555f2b3fc80) at ell= /genl.c:1098 #9 0x00007f60084c61bd in io_callback (fd=3D, events=3D1, us= er_data=3D0x5555f2b3fd20) at ell/io.c:120 #10 0x00007f60084c536d in l_main_iterate (timeout=3D) at ell= /main.c:478 #11 0x00007f60084c543e in l_main_run () at ell/main.c:525 #12 l_main_run () at ell/main.c:507 #13 0x00007f60084c5670 in l_main_run_with_signal (callback=3Dcallback(a)ent= ry=3D0x5555f0b89150 , user_data=3Duser_data(a)entry=3D0x0) = at ell/main.c:647 #14 0x00005555f0b886a4 in main (argc=3D, argv=3D) at src/main.c:532 Does anyone have any ideas? :) Thanks! -Toke --===============3603086470761475303==--