本文へ移動
English version →
中 4.1

wifi: brcmfmac: fix P2P device removal race in brcmf_detach()

CVE-2026-99061 SecPulse初出

影響パッケージ

パッケージ影響を受ける版 → 修正版
LinuxLinux —
LinuxKernel
4.4.0 以上 5.10.273 未満→ 5.10.273
5.11.0 以上 5.15.224 未満→ 5.15.224
5.16.0 以上 6.1.191 未満→ 6.1.191
6.2.0 以上 6.6.160 未満→ 6.6.160
6.7.0 以上 6.12.113 未満→ 6.12.113
6.13.0 以上 6.18.57 未満→ 6.18.57
6.19.0 以上 7.2.11 未満→ 7.2.11

ディストリビューション別の修正状況

各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。

原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

In the Linux kernel, the following vulnerability has been resolved:

wifi: brcmfmac: fix P2P device removal race in brcmf_detach()

When the driver is removed while the user space process that created
the P2P device (e.g. wpa_supplicant) is still exiting, the P2P device
interface is removed twice and the kernel crashes.

The two paths are:

  • wpa_supplicant, on exit, sends NL80211_CMD_DEL_INTERFACE for the P2P
    device. nl80211_del_interface() holds RTNL and the wiphy mutex and
    calls brcmf_p2p_del_vif(), which disables discovery and waits up to
    1.5 s for BRCMF_E_IF_DEL. Then it calls brcmf_remove_interface(),
    which unregisters the wdev and frees the vif and the ifp.

  • brcmf_detach() sets the bus down, so BRCMF_E_IF_DEL never arrives,
    and calls brcmf_remove_interface(ifp, false) for the same ifp.
    brcmf_p2p_ifp_removed() reads ifp->vif and then blocks on
    rtnl_lock(). When brcmf_p2p_del_vif() releases RTNL, it calls
    cfg80211_unregister_wdev() on the wdev that was already unregistered
    and freed.

The second list_del_rcu() of wdev->list faults on LIST_POISON2:

brcmfmac: brcmf_p2p_del_vif delete P2P vif
brcmfmac: brcmf_p2p_deinit_discovery enter
brcmfmac: brcmf_p2p_del_vif P2P: GO_NEG_PHASE status cleared
brcmfmac: brcmf_detach Enter
brcmfmac: brcmf_bus_change_state 1 -> 0
brcmfmac: brcmf_remove_interface Enter, bsscfgidx=1, ifidx=0
brcmfmac: brcmf_del_if Enter, bsscfgidx=1, ifidx=0
brcmfmac: brcmf_p2p_ifp_removed P2P: device interface r…

出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく