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 AE54D3CB554 for ; Mon, 10 Aug 2026 12:05:17 +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=1786363518; cv=none; b=s0HwrfF6Y5bs9KgrdoVNkZB074k7NHXXRk4FEJtbeBZAHgh8TrjiUiTV2QKFMp6QEHxmvKGUoKr8l5pzEtSYRZJ1jA03O55/wDy4hU67oXp5KU/UQ14wzZ559kwkkPlxypZ6DCMQOIgw5JlzxOPWKSvut7qQfDRb1k6vgcIw6kU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363518; c=relaxed/simple; bh=W3Y+z5RycgTT6dBgPGKR8fDo5dvb/IexvfGbflAstRA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tI1sbppKye0iACLqFQNww3zUyvW39IhCdeSxcW3o3TqAK2iPqMFSiwozLg5ZG23czA7wnVcEsccalXYzcq+A9mth101VWnI3lh8RgnfXmgardERLyrML+GMnz5VzcAKJ1wR372HJ9U2p5WFxQGzUw+rviKFP+MxLKfUKVMmPP5Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IcWxaH2/; 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="IcWxaH2/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 329D11F000E9; Mon, 10 Aug 2026 12:05:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363517; bh=w2Aez3Uv1aOHrBMfhdn7neGnhS/o8EbCMDGtMCy/GG8=; h=From:To:Cc:Subject:Date:Reply-To; b=IcWxaH2/yVldChDzsfP49u64/QSaskEh40UEFmlrFdByMYX3R9Ym42bXpRQnLGA6H A8Vsb4aflHKq+dCa97gXKSBBGGw4Bm987kwtrqox1vjYVo0gwbDvnRFnrlSDuI0h59 rMhc9cKmiVELPkztBgdYgzlBKDMjl2UgznHIgsKc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68197: wifi: mwifiex: fix NULL dereference when the AP has HT-cap but no HT-oper Date: Mon, 10 Aug 2026 13:58:34 +0200 Message-ID: <2026081010-CVE-2026-68197-fa1a@gregkh> X-Mailer: git-send-email 2.55.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=3407; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tIgW5QHpB1/YnNfPMuQinkdpEixTy8t0dA5nOJVaq50=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe6YF9N/ds473Yl79e+FovcLKP91H4psL7/9cxbJRL PRUpoldRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyESYJhwUWZO5NSe1r9U6Mm rFpZ+1eqcYUxP8M8kyf+Zxq4Gtc7mqS1M547saa+8nQrAA== 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: mwifiex: fix NULL dereference when the AP has HT-cap but no HT-oper mwifiex_tdls_add_ht_oper() gates its follow-the-AP-bandwidth path on bss_desc->bcn_ht_cap being present, but then dereferences a different pointer, bss_desc->bcn_ht_oper: if (ISSUPP_CHANWIDTH40(priv->adapter->hw_dot_11n_dev_cap) && bss_desc->bcn_ht_cap && ISALLOWED_CHANWIDTH40(bss_desc->bcn_ht_oper->ht_param)) bcn_ht_cap and bcn_ht_oper are populated independently while parsing the associated AP's beacon in mwifiex_update_bss_desc_with_ie(): an AP that advertises an HT Capabilities element but no HT Operation element leaves bcn_ht_cap non-NULL and bcn_ht_oper NULL. Setting up a TDLS link to a peer while associated to such an AP then dereferences the NULL bcn_ht_oper and crashes the kernel. Every other bcn_ht_oper user in the driver NULL-checks it first. Guard on the pointer that is actually dereferenced. Found by 0sec automated security-research tooling (https://0sec.ai). The Linux kernel CVE team has assigned CVE-2026-68197 to this issue. Affected and fixed versions =========================== Issue introduced in 3.16 with commit 396939f94084d5923d558e9f22db48bc51156e47 and fixed in 6.6.148 with commit eb42c3c8fd479166c42984728754cd779c71fd60 Issue introduced in 3.16 with commit 396939f94084d5923d558e9f22db48bc51156e47 and fixed in 6.12.101 with commit 45011e4d9ba3f2182e5df64be65888044fa20771 Issue introduced in 3.16 with commit 396939f94084d5923d558e9f22db48bc51156e47 and fixed in 6.18.42 with commit 9375a4ea4121625ef27a46b74781cda66a5cc61b Issue introduced in 3.16 with commit 396939f94084d5923d558e9f22db48bc51156e47 and fixed in 7.1.6 with commit cca4398aa305c22016d1714f388e2fa6ea4e5ad4 Issue introduced in 3.16 with commit 396939f94084d5923d558e9f22db48bc51156e47 and fixed in 7.2-rc5 with commit c3d68e294cbb6a4090bb219d3dcaca85a011809b 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-68197 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: drivers/net/wireless/marvell/mwifiex/tdls.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/eb42c3c8fd479166c42984728754cd779c71fd60 https://git.kernel.org/stable/c/45011e4d9ba3f2182e5df64be65888044fa20771 https://git.kernel.org/stable/c/9375a4ea4121625ef27a46b74781cda66a5cc61b https://git.kernel.org/stable/c/cca4398aa305c22016d1714f388e2fa6ea4e5ad4 https://git.kernel.org/stable/c/c3d68e294cbb6a4090bb219d3dcaca85a011809b