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 498643B8BA5 for ; Tue, 6 Oct 2026 08:46:33 +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=1791276394; cv=none; b=CMwFtSplctty6KpforRauoJy0hy3NFMVbmpFxZJmQ4pkvp0viU7s/Ox3uuq1bboOZqr8oyOvYN26i821sg3poT45INaA8wxnSb9pXZVSJ0VYGzgvvh3uRkRPa+iaI8GoXhfCKj7HUOK8LU7RDbBEKCjYfOs6DqdvrrHeGPg9r6g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791276394; c=relaxed/simple; bh=+EvPG8Gc1qz8IQvk6qpe0FqAsh4qMmqyvjPTWHyWjE0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fmxTC95mwlTXfNdCWA56afh8b1ezSDW+OYSh8YKr2mwbWcmcl3Dd74qhQRJ4YlmKA3HORvvMeycKc04bB4bPjJ0gYKxqDt21HNSHm4+aDQhwxczMBY0MR9jY/89PwQZ46kE6bk0KeQ80wC5iBRSlhWCZFLJ480WGr8J0+TcsND8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PsAI/gCH; 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="PsAI/gCH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 663551F000FF; Tue, 6 Oct 2026 08:46:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791276392; bh=cYJayBBAg9yKCD1DSo8YZnXswhXwiHMeHPAhTTTt59k=; h=From:To:Cc:Subject:Date:Reply-To; b=PsAI/gCHR0vRv4hXY9wQ3cVTL1gZA2u/83DimeB7F3lLSIVxnDZ+A6Q+A0a91+4dA YIv4HNYROFZ5gRHxGsRjRoOVDcdeOuz+l+CwaY6+OMaMGjJUSXzhljBg7O79H7LRSS ehkbkPSYy19IUA5Ob/HHoYP7w/SwwoNN+gbt5+yo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98185: wifi: mwifiex: validate scan response extents Date: Tue, 6 Oct 2026 10:44:46 +0200 Message-ID: <2026100633-CVE-2026-98185-6e40@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=3632; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Y6zOy1JXrREutTmvo5YpzCTgRxB0QpXX9HPxsf5/SSc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtnwUbnrr+THqjCZjk7dvaOanHI+LX5ueTj364Ofxf 7OvGhbe6ohhYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJZPxmmMJxaEtR1/SlTcza WjvbQllLI5KsGRbMin9qJSh6bW31l2j/vv9vrjD0qYgDAA== 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: validate scan response extents mwifiex_ret_802_11_scan() subtracts the fixed response fields and the firmware-provided BSS length from resp->size without first proving that either extent fits. A short response or oversized BSS length can therefore underflow tlv_buf_size and make the TLV parser walk beyond the command response. Compute the fixed extent from the selected normal or background scan response. Validate that the fixed fields and BSS data fit before deriving the TLV extent and entering the parser. The Linux kernel CVE team has assigned CVE-2026-98185 to this issue. Affected and fixed versions =========================== Issue introduced in 3.0 with commit 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e and fixed in 5.10.271 with commit 25217c5f6ce0bf3004f80c129464cd35fe9a420f Issue introduced in 3.0 with commit 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e and fixed in 5.15.222 with commit 48312f0085aa1577d6d41af2a079b34de17c1a57 Issue introduced in 3.0 with commit 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e and fixed in 6.1.189 with commit dccf5ecaad4d8d43c545921f20328e8f91af8698 Issue introduced in 3.0 with commit 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e and fixed in 6.6.158 with commit c4943323fda22ef27bb6479b9d328ae48c63f64c Issue introduced in 3.0 with commit 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e and fixed in 6.12.112 with commit cb0008480ed7d5cf76f3ad9668a91bbb7d0b4417 Issue introduced in 3.0 with commit 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e and fixed in 6.18.54 with commit 9cff2f39ed38a32070b08364c4c9346e85b8f9ec Issue introduced in 3.0 with commit 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e and fixed in 7.2.8 with commit 7106ad8b74f50cca1ef36131f327d2c78f556daa Issue introduced in 3.0 with commit 5e6e3a92b9a4c9416b17f468fa5c7fa2233b8b4e and fixed in 7.3-rc4 with commit 3687d7d48070838cc2953431b3a27717cab0aaf6 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-98185 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/scan.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/25217c5f6ce0bf3004f80c129464cd35fe9a420f https://git.kernel.org/stable/c/48312f0085aa1577d6d41af2a079b34de17c1a57 https://git.kernel.org/stable/c/dccf5ecaad4d8d43c545921f20328e8f91af8698 https://git.kernel.org/stable/c/c4943323fda22ef27bb6479b9d328ae48c63f64c https://git.kernel.org/stable/c/cb0008480ed7d5cf76f3ad9668a91bbb7d0b4417 https://git.kernel.org/stable/c/9cff2f39ed38a32070b08364c4c9346e85b8f9ec https://git.kernel.org/stable/c/7106ad8b74f50cca1ef36131f327d2c78f556daa https://git.kernel.org/stable/c/3687d7d48070838cc2953431b3a27717cab0aaf6