Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792755598; b=caPKofnDek/KAad+i5nCuRIJfJcHG6Ee8AlhraS4aAmI2u4m6TwfGVnRDCoSMyVUjjzp 1MbKKEBd7C8T58mHj4++Q78W+u9acgK2JlXVXL6FL/BFsa+f9rim5H43G6qo2O7ciJFlc INJFOSJYywZ0dL6iwO48sgHwwD7G6k6PzBs4RlaE7NqrXRxlNAK5JjuBT+Y8fby9H7p5z aDw3ZO9AY6G/8mIuxgUsvQMyMBDjGMceEXEYHAMC1sFX7McNNj+Y7v9E+frn+xEioZg4Q jX9T3idtSzQOjf9SmZKim6dZbvmSh33mQ0R1F1+Lf9zBOZzO1JgpFDiJaXT67pbCT6Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792755598; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=4/xoMBCt8Smd3EcNivNOgidGXdiD4gTbZHo8E8H9ky4=; b=jarJKNVydQz4YAoTNlnKWLZ+22ZUXNLNleGq+Tqz02g+ieySYpEdspPikeZO43JO0zy8 2cxcrGkhTa14ofGAMzTMRyg8+B/x+EDc83FXTSkEAn4D2Wysd4G3yEElSxN5XwfDlhlxE ZPpHePc+gq8byPbDnxXQtpOGI0frz0zhMFhfrr5gwkzriwSPg6mLvJehM1baGEv8aaUlV sMmc8LDyfs9KErvrrvLeLL2tWJuJi7lLaFe004sBR9q6LjEft+0qsh9DuS3VDcbn7RFW3 q24MbRt4/vC7DtirilNjiyNGw8BUv4d6Ck3wL/bEuCX/xR0sg6kgdp88wpnoY4RfmdQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ZdxP4wtK; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C8A9A606A31D for ; Fri, 23 Oct 2026 11:39:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ZdxP4wtK Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BED01F01825; Fri, 23 Oct 2026 11:39:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792755597; bh=4/xoMBCt8Smd3EcNivNOgidGXdiD4gTbZHo8E8H9ky4=; h=From:To:Cc:Subject:Date:Reply-To; b=ZdxP4wtKpIQyHmPSNz2vpOPoPOnTIy8557LrbUTSLKOFQp8GngMp1mZp2ySpiFPH3 sy2XA47ev6K5z4+MjWrNYs53wTFjWco3xnehgpyyuBjl6/96AN7lCQ4jgL/hfwzxhO DxjwkQO02E9qz3Mjl+Ze4hBEuQVTmjXWIVKnfoT4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98887: wifi: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO Date: Fri, 23 Oct 2026 13:37:35 +0200 Message-ID: <2026102324-CVE-2026-98887-39d1@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2858; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=oJfTU9rzbRw+axI2IJqA+NGjIa/WQJtJIc0XXSyJvpk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm33b40REU8mfslOfRAulSvlMrLNeE+hjXc8moTsnNly pnsMud1xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETUfRkWNLFnGq11SPFsfr4w Tno5Q5pN3doTDPP03TgT1vTLLJ9ZME/hMYP4zDnCJ+MA 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: mac80211_hwsim: reject undersized HWSIM_ATTR_TX_INFO hwsim_tx_info_frame_received_nl() casts the HWSIM_ATTR_TX_INFO payload to a struct hwsim_tx_rate * and unconditionally reads IEEE80211_TX_MAX_RATES entries (8 bytes) from it. The policy only bounds the attribute from above (NLA_BINARY .len is a maximum) and the op sets GENL_DONT_VALIDATE_STRICT, so a short or zero-length attribute is accepted and the loop reads past the payload. Require the exact length in the policy, so a malformed attribute is rejected before the handler runs. The Linux kernel CVE team has assigned CVE-2026-98887 to this issue. Affected and fixed versions =========================== Fixed in 5.10.271 with commit 3a96bb65b4b820d8b41fa155781ec1c29e3479d4 Fixed in 5.15.222 with commit 59e1f2a0242232b4a3af144ae317d3913fc09046 Fixed in 6.1.189 with commit 1ae85bb34fe3510659b86d6a5f8036dd498233f8 Fixed in 6.6.158 with commit 6f6368b20f8c9481fa7ba7b672dcb3c9f36b2695 Fixed in 6.12.111 with commit b5b1234bbfa25537fb9a5c0d62c328ed4547f721 Fixed in 6.18.53 with commit 13edd8ea7ff2ce6a964b290ef2034cd8cbed96c7 Fixed in 7.2 with commit 3dc723ac78a6e4fa0fd49e27e487ed319da40a9f 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-98887 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/virtual/mac80211_hwsim_main.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/3a96bb65b4b820d8b41fa155781ec1c29e3479d4 https://git.kernel.org/stable/c/59e1f2a0242232b4a3af144ae317d3913fc09046 https://git.kernel.org/stable/c/1ae85bb34fe3510659b86d6a5f8036dd498233f8 https://git.kernel.org/stable/c/6f6368b20f8c9481fa7ba7b672dcb3c9f36b2695 https://git.kernel.org/stable/c/b5b1234bbfa25537fb9a5c0d62c328ed4547f721 https://git.kernel.org/stable/c/13edd8ea7ff2ce6a964b290ef2034cd8cbed96c7 https://git.kernel.org/stable/c/3dc723ac78a6e4fa0fd49e27e487ed319da40a9f