{"id":"CVE-2026-98634","summary":"scsi: sd_zbc: Reject disks with too many zones","details":"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.","modified":"2026-10-19T02:47:01.433144459Z","published":"2026-10-18T15:20:03.198Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98634.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0af16d8be3ec7ff28bb56a0da79c9aed66ac2c3b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3ddf8383b54456f19fd73d3cebed81bd250c7388"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b6ec0f79745967c751c85df373062c8d15e45fc4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d8791ae55d85dfaeafa20ea48365482a0cc5a107"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98634.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98634"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"89d9475610771b5e5fe1879075f0fc9ba6e3755f"},{"fixed":"d8791ae55d85dfaeafa20ea48365482a0cc5a107"},{"fixed":"0af16d8be3ec7ff28bb56a0da79c9aed66ac2c3b"},{"fixed":"3ddf8383b54456f19fd73d3cebed81bd250c7388"},{"fixed":"b6ec0f79745967c751c85df373062c8d15e45fc4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98634.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"6.12.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.55"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98634.json"}}],"schema_version":"1.9.0"}