Skip to content
Heist/ feed
Back to feed
UnratedFix available

scsi: sd_zbc: Reject disks with too many zones

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.112, 6.18.55, 7.2.9
CVEs
CVE-2026-98634
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 16:19 UTC · Revision 1

Source evidence

scsi: sd_zbc: Reject disks with too many zones

core-osv · Original source

Published 18 Oct 2026, 15:20 UTC

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.

osv:CVE-2026-98634

Kernel

Fixed versions: 6.12.112, 6.18.55, 7.2.9

Complete source record
{
  "id": "ee098c2f930c6155cfb88c30611d2b0b2600028999e42f820faba33d938fff73",
  "url": "https://osv.dev/vulnerability/CVE-2026-98634",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "scsi: sd_zbc: Reject disks with too many zones",
    "summary": "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.",
    "evidence": "osv:CVE-2026-98634",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.112",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.55",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-98634",
      "aliases": [
        "CVE-2026-98634"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "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"
          }
        },
        {
          "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"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98634.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.283073026Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0af16d8be3ec7ff28bb56a0da79c9aed66ac2c3b",
        "https://git.kernel.org/stable/c/3ddf8383b54456f19fd73d3cebed81bd250c7388",
        "https://git.kernel.org/stable/c/b6ec0f79745967c751c85df373062c8d15e45fc4",
        "https://git.kernel.org/stable/c/d8791ae55d85dfaeafa20ea48365482a0cc5a107",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98634.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-98634",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98634.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-98634",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 497286,
  "published_at": "2026-10-18T15:20:03.198+00:00"
}