scsi: sd_zbc: Reject disks with too many zones
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.
CVE-2026-98634
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98634
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "89d9475610771b5e5fe1879075f0fc9ba6e3755f",
"lessThan": "d8791ae55d85dfaeafa20ea48365482a0cc5a107",
"versionType": "git"
},
{
"status": "affected",
"version": "89d9475610771b5e5fe1879075f0fc9ba6e3755f",
"lessThan": "0af16d8be3ec7ff28bb56a0da79c9aed66ac2c3b",
"versionType": "git"
},
{
"status": "affected",
"version": "89d9475610771b5e5fe1879075f0fc9ba6e3755f",
"lessThan": "3ddf8383b54456f19fd73d3cebed81bd250c7388",
"versionType": "git"
},
{
"status": "affected",
"version": "89d9475610771b5e5fe1879075f0fc9ba6e3755f",
"lessThan": "b6ec0f79745967c751c85df373062c8d15e45fc4",
"versionType": "git"
}
],
"programFiles": [
"drivers/scsi/sd_zbc.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.10"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.10",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.112",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.55",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.9",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/scsi/sd_zbc.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98634
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #38656 · Revision 1
- Added to Heist Feed
- Publisher date