{"id":"CVE-2026-98634","state":"PUBLISHED","title":"scsi: sd_zbc: Reject disks with too many zones","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: sd_zbc: Reject disks with too many zones\n\nsd_zbc_read_zones() computes the number of zones with 64-bit arithmetic and\nstores the result in the unsigned int nr_zones field of struct\nzoned_disk_info, silently truncating counts that exceed 32 bits. The\ntruncated count is later used to size per-zone resources, while the device\nmay still report more zones than fit.\n\nMoreover, sd_zbc_report_zones() counts the reported zones with a signed int\nzone_idx, which overflows past INT_MAX. Reject devices reporting more than\nINT_MAX zones at scan time; such a device is not realistic for any medium\nthat exists today, and accepting it produces inconsistent zone bookkeeping.","publishedAt":"2026-10-18T15:20:03.198Z","updatedAt":"2026-10-19T09:23:03.375Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"89d9475610771b5e5fe1879075f0fc9ba6e3755f","status":"affected","lessThan":"d8791ae55d85dfaeafa20ea48365482a0cc5a107","versionType":"git"},{"version":"89d9475610771b5e5fe1879075f0fc9ba6e3755f","status":"affected","lessThan":"0af16d8be3ec7ff28bb56a0da79c9aed66ac2c3b","versionType":"git"},{"version":"89d9475610771b5e5fe1879075f0fc9ba6e3755f","status":"affected","lessThan":"3ddf8383b54456f19fd73d3cebed81bd250c7388","versionType":"git"},{"version":"89d9475610771b5e5fe1879075f0fc9ba6e3755f","status":"affected","lessThan":"b6ec0f79745967c751c85df373062c8d15e45fc4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/sd_zbc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.10","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.55","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/sd_zbc.c"]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98634.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98634","state":"PUBLISHED","datePublished":"2026-10-18T15:20:03.198Z","dateUpdated":"2026-10-19T09:23:03.375Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.361Z"},"containers":{"cna":{"title":"scsi: sd_zbc: Reject disks with too many zones","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: sd_zbc: Reject disks with too many zones\n\nsd_zbc_read_zones() computes the number of zones with 64-bit arithmetic and\nstores the result in the unsigned int nr_zones field of struct\nzoned_disk_info, silently truncating counts that exceed 32 bits. The\ntruncated count is later used to size per-zone resources, while the device\nmay still report more zones than fit.\n\nMoreover, sd_zbc_report_zones() counts the reported zones with a signed int\nzone_idx, which overflows past INT_MAX. Reject devices reporting more than\nINT_MAX zones at scan time; such a device is not realistic for any medium\nthat exists today, and accepting it produces inconsistent zone bookkeeping."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"89d9475610771b5e5fe1879075f0fc9ba6e3755f","status":"affected","lessThan":"d8791ae55d85dfaeafa20ea48365482a0cc5a107","versionType":"git"},{"version":"89d9475610771b5e5fe1879075f0fc9ba6e3755f","status":"affected","lessThan":"0af16d8be3ec7ff28bb56a0da79c9aed66ac2c3b","versionType":"git"},{"version":"89d9475610771b5e5fe1879075f0fc9ba6e3755f","status":"affected","lessThan":"3ddf8383b54456f19fd73d3cebed81bd250c7388","versionType":"git"},{"version":"89d9475610771b5e5fe1879075f0fc9ba6e3755f","status":"affected","lessThan":"b6ec0f79745967c751c85df373062c8d15e45fc4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/sd_zbc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.10","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.55","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/sd_zbc.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d8791ae55d85dfaeafa20ea48365482a0cc5a107"},{"url":"https://git.kernel.org/stable/c/0af16d8be3ec7ff28bb56a0da79c9aed66ac2c3b"},{"url":"https://git.kernel.org/stable/c/3ddf8383b54456f19fd73d3cebed81bd250c7388"},{"url":"https://git.kernel.org/stable/c/b6ec0f79745967c751c85df373062c8d15e45fc4"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:23:03.375Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"6.12.112"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"6.18.55"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"7.2.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}