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 F321C2D662F for ; Sun, 18 Oct 2026 15:35:54 +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=1792337756; cv=none; b=tbpQAEOXIXwyvKl76R5nJePbBlu7GFAFYj0SEOT7i1v1lBzvIgfhwAYgzYLF2y9CObm+9/bODhJApRIok2vB4/plCfnG/ImRJ/+A613JgcWXxVh8czohksGpbLKPOsejkuhoobWWOa8NSBzURdl76EVGyS03y9ut8UTqYe9fx3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337756; c=relaxed/simple; bh=Qlig9TP6+rXc/zCtZocMNBDL/sL1wcpQZuhTosAZvV0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E8vBUdC5UwuVsuFOEZc+SmGngb2zOq6AtZ5Tjm0/wpPdL13W8Z/Sc9wQWlApJVT0ilkOfr7GBO9wFLU2hMtmo6umV5SjlBhnCBsQRrwloouB4oLfgpz2mrqekVaXprTtOmB3j0v+8HqTwQh5QBG9DYTcV9UtrFiFQHlX4GjO8s0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=K8j7f8g0; 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="K8j7f8g0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD6191F000C4; Sun, 18 Oct 2026 15:35:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337754; bh=ZM2ttYwKlHe79mKVgMoS8Ajk91dwZyW8bTY+Ht96WDM=; h=From:To:Cc:Subject:Date:Reply-To; b=K8j7f8g0TR2Iai/vQ4eE9MTSRPzUKGjhsZhdVO1TAN68PgfkCLGJ543g90gStpZc1 TZFxpkeeMGRJRe4wM4ryNj/Hz+2A89Jk4yxvm+lV9gke8qPTdxQw+QqjqtAVRKwggN 54iINbLM3BLroj+KokdjU0O8LOTJEsFYQAUdaAXM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98634: scsi: sd_zbc: Reject disks with too many zones Date: Sun, 18 Oct 2026 17:18:18 +0200 Message-ID: <2026101844-CVE-2026-98634-9399@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=2843; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fUh9Z3s+je2xjO10lIHSdptzjoPxmDS8f70DN39NNkU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHi0QX75U++WUG/em3l/2oeyMrKyRfq3trJrVh1Yct HY9K9if2BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT2ezDMD/6Q9VsLn7t0IIX Il+vSRtcsverPc4wP+XkX5/3p0wfanvXSrVVp31UY5z8EAA= 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: sd_zbc: Reject disks with too many zones sd_zbc_read_zones() computes the number of zones with 64-bit arithmetic and stores the result in the unsigned int nr_zones field of struct zoned_disk_info, silently truncating counts that exceed 32 bits. The truncated count is later used to size per-zone resources, while the device may still report more zones than fit. Moreover, sd_zbc_report_zones() counts the reported zones with a signed int zone_idx, which overflows past INT_MAX. Reject devices reporting more than INT_MAX zones at scan time; such a device is not realistic for any medium that exists today, and accepting it produces inconsistent zone bookkeeping. The Linux kernel CVE team has assigned CVE-2026-98634 to this issue. Affected and fixed versions =========================== Issue introduced in 4.10 with commit 89d9475610771b5e5fe1879075f0fc9ba6e3755f and fixed in 6.12.112 with commit d8791ae55d85dfaeafa20ea48365482a0cc5a107 Issue introduced in 4.10 with commit 89d9475610771b5e5fe1879075f0fc9ba6e3755f and fixed in 6.18.55 with commit 0af16d8be3ec7ff28bb56a0da79c9aed66ac2c3b Issue introduced in 4.10 with commit 89d9475610771b5e5fe1879075f0fc9ba6e3755f and fixed in 7.2.9 with commit 3ddf8383b54456f19fd73d3cebed81bd250c7388 Issue introduced in 4.10 with commit 89d9475610771b5e5fe1879075f0fc9ba6e3755f and fixed in 7.3-rc5 with commit b6ec0f79745967c751c85df373062c8d15e45fc4 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-98634 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/sd_zbc.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/d8791ae55d85dfaeafa20ea48365482a0cc5a107 https://git.kernel.org/stable/c/0af16d8be3ec7ff28bb56a0da79c9aed66ac2c3b https://git.kernel.org/stable/c/3ddf8383b54456f19fd73d3cebed81bd250c7388 https://git.kernel.org/stable/c/b6ec0f79745967c751c85df373062c8d15e45fc4