Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E98233E1738 for ; Tue, 6 Oct 2026 10:28:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282524; cv=none; b=J8EIDQtbTAMBmnh0zJkm8I+vaWF/VrerO1qKrrmnjBjEQ+cWolmU2S8LQ39x7wg9hfPIh337NcJqwJkxWXYlc7ffNa8iv+XIkhC4bNpjZj5CFnWNc+YsQfgr3U1x3CtRibmNXebOk2tFmf3vrdyGk6th9Y4GCT/9Cuqap+rY9Ns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282524; c=relaxed/simple; bh=cueIbRUl9QCfNit7gnYIyi7WL7Lks40G3Z3KSJKCYTk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Y3oFpR9v0d7360pZi3QC7T2VVh1HpD321mtsiOG5pbV7CPkEVZcnd+Tc1jovaMwjizNYR5ym0WpHUI+uy8fsKY0RsnCecmDLiXmKfSBeqkqZxXjxMX22WXtGrZk802gaqLJU473QCd6Bf/VsOWnCMzwJcYPxL8plJkiRF4YR+Us= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=000PRltO; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="000PRltO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 545A51F000FF; Tue, 6 Oct 2026 10:28:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282522; bh=xC4JmoY1n3+f+60NcXk/5rnt6xh86iUr6OTaYVH7W1o=; h=From:To:Cc:Subject:Date:Reply-To; b=000PRltOQ70YnplkU0z15KRfG1r9gGPM8Q8r2TBRtHRcmAB2TWj/W9pB+Wz6MSeui ssasCBDVZL06zGJclwfFUX/A6qYJWeV9cMbH5EbSZA2HXxEL/JU5WQKIqcjBvcVcgw Tttv+nwmmYlzSdctamOB8tjy0hcs4Q6YdYPcFCSs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98338: wifi: cfg80211: ibss: ref BSS entry for joined event Date: Tue, 6 Oct 2026 10:47:19 +0200 Message-ID: <2026100617-CVE-2026-98338-2982@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2485; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ffzcuaDvyOKhWIfTZJlRjW0S7gTMuZNyiw0ZUSxvVbE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtspGfrDl+z0jT/Rkpav3Ae9fzHZfWdq6VyZzGc134 yuVOqLfEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNxOMYwP+TvxBsph6cJzeLY JBcc3LPNbEbgI4YFx6RnPeOy8bCoWifrp2rOKLbB6cQmAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: ibss: ref BSS entry for joined event When the IBSS is joined, we only record the BSSID/channel in the event and look up the BSS entry when processing it. However, that's racy, e.g. a new scan with NL80211_SCAN_FLAG_FLUSH can remove it, causing a warning in the event work: !bss WARNING: net/wireless/ibss.c:37 at __cfg80211_ibss_joined+0x3d3/0x440 Workqueue: cfg80211 cfg80211_event_work cfg80211_process_wdev_events+0x39f/0x5b0 net/wireless/util.c:1144 cfg80211_process_rdev_events+0xa1/0x110 net/wireless/util.c:1179 cfg80211_event_work+0x2f/0x40 net/wireless/core.c:393 Do the lookup early (the driver is expected to only join an IBSS that has a BSS entry) and keep a reference to it. The Linux kernel CVE team has assigned CVE-2026-98338 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.32 with commit 667503ddcb96f3b10211f997fe55907fa7509841 and fixed in 7.2.8 with commit b0e3f019e461ac42e45aa3ec1216cefaca2f4a8b Issue introduced in 2.6.32 with commit 667503ddcb96f3b10211f997fe55907fa7509841 and fixed in 7.3-rc4 with commit 708f9d43d6a2eb9c6b83fe62af628de9dffd9314 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98338 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/wireless/core.h net/wireless/ibss.c net/wireless/util.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/b0e3f019e461ac42e45aa3ec1216cefaca2f4a8b https://git.kernel.org/stable/c/708f9d43d6a2eb9c6b83fe62af628de9dffd9314