From nobody Fri Feb 16 21:53:56 2024 X-Original-To: wireless@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 4Tc5Kw3gxFz59lCS for ; Fri, 16 Feb 2024 21:53:56 +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 4Tc5Kw1Qdvz4YT4 for ; Fri, 16 Feb 2024 21:53:56 +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=1708120436; 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; bh=UBwQbNqHdaihAQFyb+6dMOkuU7PhbDVOyM2Nn4AJkxo=; b=Yvq7br9J+rcXKMXzdYafDiQCFtzZHo6bb+96A+GECfMcavsKlfjZ7GiHy0lOyJp80EyFi1 5vGgX/eFNNiLUjrO+BwLtgJ/6hx53mTSproWJGCBa64Reb39oX4j4JWcH3A7x5TdgIm7RW HqL87wADaZn1mAs+zh5qnu0VsU+1x4ArWjFXwLa9BSoY7WvZqPIgpxvRdNONDdrzcBtXqF BMX01qpv442P4TIeylYdKh6l837hgzcJi2n1UOzK24d5WYpz4WGldEhT0BbN1PluJSz4Zs Y9s355TVF44vz4Dn6eCdbaLvrzo4PTvNShmkZmOBVadJpFafDNFO43A23+2twQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708120436; a=rsa-sha256; cv=none; b=k35XExy0kNYhJ1D4zq9KUt9Oq7LJx8WhJRqQxCKZIY6DKL2EUgd9NYksaqZfv3ISKLtFhc P28t/aDeGps8nHVOIsvfGzsCFN6CS9L2rMTcZrq6yzrdLPoQiYXa9YfEu2/4wGXxHEKcK2 iVbQSkWQsIJd3xmo30oky1SxhjQm11L0M5ueEhtGNq05EN5wXnp+4TQWdTBSsk/8s52Nvo VSxeHXrd1jyB6JaawvDDKQ10UhthrLibomoobyoCRhRM9LGPqK33nvpDM2B1S3tLVtRQqw O23NY9N1EfZqybvCO4uKndpoTiCVxDxz0ThOtR0a+0an3DDP62+8VvIUY8LYlw== 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 4Tc5Kw0WHzzhkF for ; Fri, 16 Feb 2024 21:53:56 +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 41GLrueT027676 for ; Fri, 16 Feb 2024 21:53:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41GLruwB027671 for wireless@FreeBSD.org; Fri, 16 Feb 2024 21:53:56 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: wireless@FreeBSD.org Subject: [Bug 277100] LinuxKPI w/ LKPI_80211_HW_CRYPTO: in private build iwlwifi0: exclusive sleep mutex iwlwifi0_com_lo (iwlwifi0_com_lo) r = 0 (0xfffffe00ab444020) locked @ /usr/src/sys/net80211/ieee80211_scan_sw.c:436 Date: Fri, 16 Feb 2024 21:53:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cc@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277100 Bug ID: 277100 Summary: LinuxKPI w/ LKPI_80211_HW_CRYPTO: in private build iwlwifi0: exclusive sleep mutex iwlwifi0_com_lo (iwlwifi0_com_lo) r =3D 0 (0xfffffe00ab444020) locked @ /usr/src/sys/net80211/ieee80211_scan_sw.c:436 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: wireless Assignee: wireless@FreeBSD.org Reporter: cc@FreeBSD.org Hit this bug on testing LKPI_80211_HW_CRYPTO in my private build. I am amazed it does not cause a panic/crash this time. =3D=3D=3D backtraces from dmesg (multiple cases) =3D=3D=3D ... [42.544686] wlan0: link state changed to UP [42.556806] iwlwifi0: _lkpi_iv_key_set_delete: set_key succeeded: keyidx 0 hw_key_idx 0 flags 0 [42.558904] uma_zalloc_debug: zone "malloc-64" with the following non-sleep= able locks held: [42.559243] iwlwifi0: exclusive sleep mutex iwlwifi0_com_lo (iwlwifi0_com_l= o) r =3D 0 (0xfffffe00ab444020) locked @ /usr/src/sys/net80211/ieee80211_scan_sw= .c:436 [42.560370] stack backtrace: [42.560631] #0 0xffffffff80bc9475 at witness_debugger+0x65 [42.560985] _lkpi_iv_key_set_delete: set_key succeeded: keyidx 0 hw_key_idx= 0 flags 0 [42.561791] #1 0xffffffff80bca5d9 at witness_warn+0x3e9 [42.562205] #2 0xffffffff80eeb184 at uma_zalloc_debug+0x34 [42.562640] #3 0xffffffff80eeac97 at uma_zalloc_arg+0x27 [42.563029] #4 0xffffffff80b273fe at malloc+0x7e [42.563388] #5 0xffffffff80de2192 at _lkpi_iv_key_set_delete+0x42 [42.563837] #6 0xffffffff80cd2124 at _ieee80211_crypto_delkey+0x74 [42.564287] #7 0xffffffff80cd208e at ieee80211_crypto_delkey+0x1e [42.564730] #8 0xffffffff80cfcdaa at ieee80211_node_delucastkey+0x3a [42.565192] #9 0xffffffff80cfb6d3 at ieee80211_sta_leave+0x13 [42.565605] #10 0xffffffff80d0eb80 at sta_newstate+0x100 [42.565994] #11 0xffffffff80dd839e at lkpi_sta_run_to_init+0x27e [42.566431] #12 0xffffffff80de1eeb at lkpi_iv_newstate+0x2db [42.566841] #13 0xffffffff80d06434 at ieee80211_newstate_cb+0x2a4 [42.567280] #14 0xffffffff80bbb37b at taskqueue_run_locked+0xab [42.567702] #15 0xffffffff80bbc433 at taskqueue_thread_loop+0xd3 [42.568129] #16 0xffffffff80b097e2 at fork_exit+0x82 [42.568509] #17 0xffffffff8102fffe at fork_trampoline+0xe [42.568814] lkpi_net80211_to_l80211_cipher_suite: unsupported cipher 0x0000= 0006 [42.569296] wlan0: link state changed to DOWN [42.575649] iwlwifi0: cc: iwl_mvm_mld_free_sta_link mvm_sta->link[0] =3D 0xfffff800204114a8 [74.329729] wlan0: link state changed to UP [74.344199] iwlwifi0: _lkpi_iv_key_set_delete: set_key succeeded: keyidx 0 hw_key_idx 0 flags 0 [74.346195] uma_zalloc_debug: zone "malloc-64" with the following non-sleep= able locks held: [74.346664] iwlwifi0: exclusive sleep mutex iwlwifi0_com_lo (iwlwifi0_com_l= o) r =3D 0 (0xfffffe00ab444020) locked @ /usr/src/sys/net80211/ieee80211_scan_sw= .c:436 [74.348324] stack backtrace: [74.348609] #0 0xffffffff80bc9475 at witnes_lkpi_iv_key_set_delete: set_key succeeded: keyidx 0 hw_key_idx 0 flags 0 [74.349676] s_debugger+0x65 [74.349803] #1 0xffffffff80bca5d9 at witness_warn+0x3e9 [74.350228] #2 0xffffffff80eeb184 at uma_zalloc_debug+0x34 [74.350665] #3 0xffffffff80eeac97 at uma_zalloc_arg+0x27 [74.351063] #4 0xffffffff80b273fe at malloc+0x7e [74.351422] #5 0xffffffff80de2192 at _lkpi_iv_key_set_delete+0x42 [74.351884] #6 0xffffffff80cd2124 at _ieee80211_crypto_delkey+0x74 [74.352351] #7 0xffffffff80cd208e at ieee80211_crypto_delkey+0x1e [74.352810] #8 0xffffffff80cfcdaa at ieee80211_node_delucastkey+0x3a [74.353287] #9 0xffffffff80cfb6d3 at ieee80211_sta_leave+0x13 [74.353725] #10 0xffffffff80d0eb80 at sta_newstate+0x100 [74.354127] #11 0xffffffff80dd839e at lkpi_sta_run_to_init+0x27e [74.354581] #12 0xffffffff80de1eeb at lkpi_iv_newstate+0x2db [74.355003] #13 0xffffffff80d06434 at ieee80211_newstate_cb+0x2a4 [74.355456] #14 0xffffffff80bbb37b at taskqueue_run_locked+0xab [74.355894] #15 0xffffffff80bbc433 at taskqueue_thread_loop+0xd3 [74.356336] #16 0xffffffff80b097e2 at fork_exit+0x82 [74.356728] #17 0xffffffff8102fffe at fork_trampoline+0xe [74.357047] lkpi_net80211_to_l80211_cipher_suite: unsupported cipher 0x0000= 0006 [74.357767] wlan0: link state changed to DOWN [74.364907] iwlwifi0: cc: iwl_mvm_mld_free_sta_link mvm_sta->link[0] =3D 0xfffff80030123ca8 --=20 You are receiving this mail because: You are the assignee for the bug.=