From nobody Sun Jul 2 11:52:40 2023 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 4Qv6qs00n2z4lVg3 for ; Sun, 2 Jul 2023 11:52:41 +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 4Qv6qr3pJSz4Ky7 for ; Sun, 2 Jul 2023 11:52:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688298760; 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=mJwChi30PfowOSDdlSoFVZZaHyPZMyTVJAioo5gewpE=; b=ElqjVyv/YFeVc3b3qjJbIetFKCQiypqy3gwNjIjKt+b1J6k0QUGJ17vdB5i0b8zGjM6ddy kn37rN9Oox6c6EDBv0wgghSGA9NUowaJ8kc/1duZn+Z7mHNJ9ZCjvSDPt7IR5IPfkiH+Cf VbrN/de4W9bL5xpw0kIBgmatqYPTv+0ecDXFDRsBw4YW0DfIEoebAmtB+dQIMTGoA28vDx fbgkQC95B0O9yQJsppdNTB+/335Zc5y6IZF/L7fwuBWb28BbHASq/5GuNIbmnRa8YidZ9N kqYnUOcKfE6xQPQWuohpx/gcLMokrH1UOBSeMYOVkJflkuQYpopuzjexfK5Hcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688298760; a=rsa-sha256; cv=none; b=noGhtlz7fKI0DVLxxX8K4UosLbhEdt08Iipcjs6GSt1XEN2MVuMkQN1Z8nawP94syH+yTW netSKqd78ADDIZSSgIzUxwhIYnVsU6IxaXerGkMDq3/T/n8xsI8c0bX0U/GI6YLClDZBgz x6dv9dR3rtjD3aSNzKH1awUTSZsbFL7ZlqwXmCelYa8nEzgQ2iAeGab6lMAZ82MowYKZI0 5owkYEouYGn0sl+H+Rkjkaj2aE8NDMSeeH7ixbjCc2hJgKchlUPn/7zn8RuiPODkG7P9Km tj/IMezviTUpW7yP3P6njInhU7OEqPJnkQWzMDngtp5cbK1XOgiqOQyF2IZZuA== 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 4Qv6qr2mP3z16rk for ; Sun, 2 Jul 2023 11:52:40 +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 362Bqe7u035126 for ; Sun, 2 Jul 2023 11:52:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 362BqeXG035125 for net@FreeBSD.org; Sun, 2 Jul 2023 11:52:40 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 272319] FreeBSD kernel crash on MPD5 restart with PPP configuration. Date: Sun, 02 Jul 2023 11:52:40 +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: 13.2-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: afedorov@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272319 Aleksandr Fedorov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |afedorov@FreeBSD.org --- Comment #7 from Aleksandr Fedorov --- Evgeniy, sent p priv->so to mee: $24 =3D {so_lock =3D {lock_object =3D {lo_name =3D 0xffffffff807f7904 "sock= et", lo_flags =3D 21168128, lo_data =3D 0, lo_witness =3D 0xfffff8007cd5a800}, mtx_lock =3D 0}, s= o_count =3D 1, so_rdsel =3D { si_tdlist =3D {tqh_first =3D 0x0, tqh_last =3D 0x0}, si_note =3D {kl_li= st =3D {slh_first =3D 0x0}, kl_lock =3D 0xffffffff80555a00 , kl_unlock =3D 0xffffffff80555a40 , kl_assert_locked =3D 0xffffffff80555a80 , kl_assert_unlocked =3D 0xffffffff80555ac0 , kl_lockarg =3D 0xfffff8004da77a38, kl_autodestroy =3D 0}, si_mtx =3D = 0x0}, so_wrsel =3D { si_tdlist =3D {tqh_first =3D 0x0, tqh_last =3D 0x0}, si_note =3D {kl_li= st =3D {slh_first =3D 0x0}, kl_lock =3D 0xffffffff80555b00 , kl_unlock =3D 0xffffffff80555b40 , kl_assert_locked =3D 0xffffffff80555b80 , kl_assert_unlocked =3D 0xffffffff80555bc0 , kl_lockarg =3D 0xfffff8004da77a38, kl_autodestroy =3D 0}, si_mtx =3D = 0x0}, so_type =3D 1, so_options =3D 514, so_linger =3D 0, so_state =3D 256, so_pcb =3D 0xfffff= 800355bd988, so_vnet =3D 0xfffff8000203e8c0, so_proto =3D 0xffffffff80a62460 , so_timeo =3D 0, so_error =3D 0, so_rerror =3D 0, so_sigio =3D 0x0, so_cred =3D 0xfffff800= 5f954400, so_label =3D 0x0, so_gencnt =3D 11170, so_emuldata =3D 0x0, so_dtor =3D 0x0, osd =3D {osd_n= slots =3D 0, osd_slots =3D 0x0, osd_next =3D {le_next =3D 0x0, le_prev =3D 0x0}}, so_fibnum =3D 0, so_u= ser_cookie =3D 0, so_ts_clock =3D 0, so_max_pacing_rate =3D 0, {{so_rcv =3D {sb_mtx =3D {lo= ck_object =3D {lo_name =3D 0x0, lo_flags =3D 1302821776, lo_data =3D 4294965248, lo_witness =3D= 0x0}, mtx_lock =3D 18446735278919351200}, sb_sx =3D {lock_object =3D {l= o_name =3D 0x0, lo_flags =3D 1, lo_data =3D 0, lo_witness =3D 0x0}, sx_lock =3D 0}, sb_sel =3D = 0x0, sb_state =3D 0, sb_mb =3D 0x0, sb_mbtail =3D 0x80000000001, sb_lastrecord =3D 0x800= 000010000, sb_sndptr =3D 0x8200820, sb_fnrdy =3D 0x0, sb_sndptroff =3D 0, sb_a= cc =3D 0, sb_ccc =3D 0, sb_hiwat =3D 0, sb_mbcnt =3D 0, sb_mcnt =3D 0, sb_ccnt =3D 0, sb_mb= max =3D 0, sb_ctl =3D 0, sb_lowat =3D 0, sb_timeo =3D 0, sb_flags =3D 0, sb_upcall =3D 0x0, = sb_upcallarg =3D 0x0, sb_aiojobq =3D {tqh_first =3D 0x0, tqh_last =3D 0x0}, sb_aiotask = =3D {ta_link =3D { stqe_next =3D 0x0}, ta_pending =3D 0, ta_priority =3D 0, ta_fun= c =3D 0x0, ta_context =3D 0x0}}, so_snd =3D {sb_mtx =3D {lock_object =3D {lo_name =3D 0x0, lo_flags = =3D 0, lo_data =3D 0, lo_witness =3D 0x0}, mtx_lock =3D 0}, sb_sx =3D {lock_object = =3D {lo_name =3D 0x0, lo_flags =3D 0, lo_data =3D 0, lo_witness =3D 0x0}, sx_lock =3D= 0}, sb_sel =3D 0x0, sb_state =3D 0, sb_mb =3D 0x0, sb_mbtail =3D 0x0, sb_lastrecord =3D= 0x0, sb_sndptr =3D 0x0, sb_fnrdy =3D 0x0, sb_sndptroff =3D 0, sb_acc =3D 0, sb_ccc =3D 0, s= b_hiwat =3D 0, sb_mbcnt =3D 0, sb_mcnt =3D 0, sb_ccnt =3D 0, sb_mbmax =3D 0, sb_ctl =3D 0, sb_lowa= t =3D 0, sb_timeo =3D 0, sb_flags =3D 0, sb_upcall =3D 0x0, sb_upcallarg =3D 0x0, sb_aiojobq= =3D {tqh_first =3D 0x0, tqh_last =3D 0x0}, sb_aiotask =3D {ta_link =3D {stqe_next =3D 0x0= }, ta_pending =3D 0, ta_priority =3D 0, ta_func =3D 0x0, ta_context =3D 0x0}}, so_list= =3D {tqe_next =3D 0x0, tqe_prev =3D 0x0}, so_listen =3D 0x0, so_qstate =3D SQ_NONE, so_pee= rlabel =3D 0x0, so_oobmark =3D 0}, {sol_incomp =3D {tqh_first =3D 0x0, tqh_last =3D 0xfffff8004da77b90}, sol_comp =3D {tqh_first =3D 0x0, tqh_last =3D 0xfffff8004da77ba0}, so= l_qlen =3D 0, sol_incqlen =3D 0, sol_qlimit =3D 1, sol_accept_filter =3D 0x0, sol_accept_filter_arg = =3D 0x0, sol_accept_filter_str =3D 0x0, sol_upcall =3D 0x0, sol_upcallarg =3D = 0x0, sol_sbrcv_lowat =3D 1, sol_sbsnd_lowat =3D 2048, sol_sbrcv_hiwat =3D 65536, sol_sbsnd_hiwat = =3D 32768, sol_sbrcv_flags =3D 2080, sol_sbsnd_flags =3D 2080, sol_sbrcv_timeo = =3D 0, sol_sbsnd_timeo =3D 0}}} (kgdb) priv->so->so_options =3D=3D 512 (0x202 - SO_ACCPTCONN | SO_REUSEADDR), so t= his is a LISTENNING type of socket. After this commit: https://github.com/freebsd/freebsd-src/commit/779f106aa169256b7010a1d8f963f= f656b881e92 Access to so_rcv, so_snd fields is invalid for listening sockets. Because t= hey share the same place with sol_* fields. --=20 You are receiving this mail because: You are the assignee for the bug.=