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 1016B3537F5 for ; Fri, 25 Sep 2026 10:36:56 +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=1790332617; cv=none; b=ODdsuoHVpzzR5FzqHsWllXML4SLLRThb/TLcfAQTuSTkYZFZGA1yBaLhfP0MHiR2xAlN9mHpLpI27bMKkuSK5wR1F/9FGocHNVSpFboqEn6kf+nqZKGnp1ZQ8XeLx9h8awPB4Nv9Sd3dxnfe2S8uKEHL1c3gFBYdnW0pXt3gqiI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332617; c=relaxed/simple; bh=cTQt1t29UmumytQ/cbrHH6lL6YkA4sNeAqni+5EWZ60=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JMKCqs82cpSTucwm3E7bunDIp+gTTzSt8eUEC7my1lMylcgmYkP0a3KPyDu9vNB0sau2KRMwiowDcZj25ckcKAbbmxN1YZPzM3NA8nSdwDCN8DV+51PuqQTrd46EJaZ8qZwN1c4w5UEmx0aAC+6DUVnveSob5RRg9guvgN4dV0E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sC52cnQ5; 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="sC52cnQ5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FBDF1F000FF; Fri, 25 Sep 2026 10:36:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332615; bh=dY/KJ3KTmGdclp7MvoNRrO8V+/nmJPAASNKqOAo5hUU=; h=From:To:Cc:Subject:Date:Reply-To; b=sC52cnQ5OfJPI/3Rq+sENS95+gGVzpIz2EHxPNk+YSDIe7xa9K8Q3p3uCwQBei7Tz ZupGOSA4QGDJkAoUBmEMT6gpygRSDki/thTTKJZUDzxrdiKqj3hVBfXIQ200APRMsU 8Jd6t+v7MBruoR9lUb4H38o63PaHO6hbzqJec5Ng= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98088: scsi: mpt3sas: Avoid out-of-bounds cpumask_of_node() call in _base_assign_reply_queues() Date: Fri, 25 Sep 2026 12:26:30 +0200 Message-ID: <2026092539-CVE-2026-98088-5918@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=2837; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=stuWaP1Uj/yfvL2FCWVdSdvBQPfpxVGtBYn56fpVFzc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvPPF5zw72ub/0sBQP9pnY+G9NUXTvUrb+r2OZmZol NzzvnGyI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaS+JZhNutnm71uuZf2xqxd Y6WeY9Fz7PYaN4a5UvutuM2+7jtQpPBOZPWaAGmlq5rrAQ== 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: scsi: mpt3sas: Avoid out-of-bounds cpumask_of_node() call in _base_assign_reply_queues() dev_to_node() can return NUMA_NO_NODE (-1) on systems without NUMA topology information for the PCI device, such as single-socket boards that don't expose device-to-node affinity. Passing -1 directly into cpumask_of_node() indexes node_to_cpumask_map[-1], an out-of-bounds array read caught by UBSAN: UBSAN: array-index-out-of-bounds in arch/x86/include/asm/topology.h:72:28 index -1 is out of range for type 'cpumask *[1024]' Fall back to cpu_online_mask when no NUMA node is available, rather than assuming dev_to_node() always returns a valid node index. The Linux kernel CVE team has assigned CVE-2026-98088 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit 728bbc6cbff70051813730fb7977f5d99d867e12 and fixed in 6.12.111 with commit 0a5f7cdb0cb911584720591069065f09c59ec4fc Issue introduced in 5.3 with commit 728bbc6cbff70051813730fb7977f5d99d867e12 and fixed in 6.18.53 with commit 7b23144c3ff6e46d7d4a464b02f8944265684e39 Issue introduced in 5.3 with commit 728bbc6cbff70051813730fb7977f5d99d867e12 and fixed in 7.2.7 with commit 45504e621b7e884abe59f201e093a3eac7fca7fe Issue introduced in 5.3 with commit 728bbc6cbff70051813730fb7977f5d99d867e12 and fixed in 7.3-rc2 with commit e0d26fe176a8db6ccad4ab38c5bab29391c1946b 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-98088 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/scsi/mpt3sas/mpt3sas_base.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/0a5f7cdb0cb911584720591069065f09c59ec4fc https://git.kernel.org/stable/c/7b23144c3ff6e46d7d4a464b02f8944265684e39 https://git.kernel.org/stable/c/45504e621b7e884abe59f201e093a3eac7fca7fe https://git.kernel.org/stable/c/e0d26fe176a8db6ccad4ab38c5bab29391c1946b