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 F3A3C4F55D3 for ; Thu, 17 Sep 2026 16:29:32 +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=1789662574; cv=none; b=kseObt/iScxgEL6wLeKodlLxqsJInyCzgGGmVEmFCKZO9/2VjQVPzGx6yeRwEVyrS6+JuFWzr2MrUVuJZXGOsWtkjzBUBIBKeJlgYVFMzaKOt1JuzMjTYnB8vUUTau6Yz30xFAGdgepiXLKywR6dVzfNXahlIMAmh8LZ3Lpk6To= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662574; c=relaxed/simple; bh=5eWfCQ83vdw+5Bp2oiY5gsN5FJwgmmOwL8gGRzUN96M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ty3DiiB/9v8FGdMStU6SoGnL/UmaRarmpBRLM5odW+Rya7Y4cxc64pC0kk85QMBNMKeScxLehjS2hxXHQZffNqwesmhsZqMGM+bIxUl0Zol+sl/RCK3RwiWZirex6rG7rEOktxCkhQwvhi4j7zXBhdneMR6EOzRDY+yC1awcB0E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GuReQxxM; 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="GuReQxxM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4678C1F000FF; Thu, 17 Sep 2026 16:29:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662572; bh=gPaIstWXjkl/zbauE5DfQU9O885g6EGfQkA84d05FLA=; h=From:To:Cc:Subject:Date:Reply-To; b=GuReQxxM0ewkEgsZTqXvVgDVKKq1RxTN4EzlsFef4GEiAd8OrytDE8Jm8uyb60wDO XvhfjFKab6yktuLUOaSGraP3uCXlbyRMBIgy8hQhIgSjvChbpc5AonFl6WWWfVLNbe UX0wRtQQVriBRyZ11Ry/qJWCn64U3VkqVHGWRZ50= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90398: wifi: ath11k: fix stride mismatch in mac_phy_caps_parse() Date: Thu, 17 Sep 2026 17:13:48 +0100 Message-ID: <2026091713-CVE-2026-90398-2498@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=3048; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uAGPhK+MRTvCP2LzJB1CJvSLTEDuSr/wkyf5VwsXlmw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBFZKqfd3/m2680fI7eDZdvn9c3huTyx6rOsztZU/f +P0WnfFjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI1TKGBbvsFs9mWZfuq33l wbfEljdZS9tu1jMsOPtQ3aY3/MGsM5crAm1X8YUd4H+TDwA= 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: ath11k: fix stride mismatch in mac_phy_caps_parse() Currently, in ath11k_wmi_tlv_mac_phy_caps_parse(), kcalloc() sizes the mac_phy_caps buffer as tot_phy_id * len, where len is clamped to min(firmware_len, sizeof(struct wmi_mac_phy_capabilities)). The subsequent memcpy() destination advances by sizeof(full struct) per slot via C pointer arithmetic, not by the clamped len. When firmware sends short TLVs, the second and later slots are written past the end of the allocation. The reader in ath11k_pull_mac_phy_cap_svc_ready_ext() also indexes the buffer with full-struct pointer arithmetic, so the allocation must match that stride. Fix by using kzalloc_objs(), which derives the element size from the pointer type, making allocation size and pointer stride provably consistent regardless of what len the firmware provides. Compile tested only. The Linux kernel CVE team has assigned CVE-2026-90398 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit 5b90fc760db5a969ed26d70f8e62c91915f012bd and fixed in 6.12.110 with commit bbb3b3334a9ed850c5b332eedea107796e691237 Issue introduced in 5.6 with commit 5b90fc760db5a969ed26d70f8e62c91915f012bd and fixed in 6.18.52 with commit 75185e2b214e842b7e0af29e5d1fef155662b8b1 Issue introduced in 5.6 with commit 5b90fc760db5a969ed26d70f8e62c91915f012bd and fixed in 7.2.6 with commit acff2713c3212ade15051e7b421f15c89927e70f Issue introduced in 5.6 with commit 5b90fc760db5a969ed26d70f8e62c91915f012bd and fixed in 7.3-rc1 with commit 7a246c72132eb943b5844ba79dad597b47429dba 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-90398 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/ath/ath11k/wmi.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/bbb3b3334a9ed850c5b332eedea107796e691237 https://git.kernel.org/stable/c/75185e2b214e842b7e0af29e5d1fef155662b8b1 https://git.kernel.org/stable/c/acff2713c3212ade15051e7b421f15c89927e70f https://git.kernel.org/stable/c/7a246c72132eb943b5844ba79dad597b47429dba