# CVE-2026-98635: scsi: block: Fix zones\_cond out-of-bounds write on zone report

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-18T15:20:05.961Z
- **Modified:** 2026-10-19T10:19:27.747Z

## Who should check

- Anyone running Linux \>= 6e945ffb6555705cf20b1fcdc21a139911562995, \< ca688bb207957cffa5a8cad207329b0dcac1f2c0; \>= 6e945ffb6555705cf20b1fcdc21a139911562995, \< 7c431d61b69a3fd0784c20aa4cd0b8fb501b5653
- Anyone running Linux 6.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: block: Fix zones\_cond out-of-bounds write on zone report

blk\_revalidate\_disk\_zones() sizes the zones\_cond array from the disk
capacity and zone size, but the index used by blk\_revalidate\_zone\_cond()
comes from the device-driven report\_zones() walk and is never checked
against the array size. A device reporting more zones than fit the array
makes blk\_zone\_set\_cond() write out of bounds.

One way to reach this is a zone count exceeding 32 bits: both
blk\_revalidate\_zone\_args.nr\_zones and struct zoned\_disk\_info.nr\_zones are
unsigned int, so a disk advertising more than UINT\_MAX zones (e.g.  2^32 +
1024 zones of one 512-byte logical block) gets its zone count truncated to
a small value, undersizing the array while the report walk keeps counting
upward.

Check the index against the array size before storing the zone condition,
and refuse to revalidate when the zone count does not fit 32 bits.

## Affected and fixed versions

- Linux: \>= 6e945ffb6555705cf20b1fcdc21a139911562995, \< ca688bb207957cffa5a8cad207329b0dcac1f2c0; \>= 6e945ffb6555705cf20b1fcdc21a139911562995, \< 7c431d61b69a3fd0784c20aa4cd0b8fb501b5653 (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- Upgrade Linux to 7c431d61b69a3fd0784c20aa4cd0b8fb501b5653 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98635. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98635.md
Affected: Linux >= 6e945ffb6555705cf20b1fcdc21a139911562995, < ca688bb207957cffa5a8cad207329b0dcac1f2c0; >= 6e945ffb6555705cf20b1fcdc21a139911562995, < 7c431d61b69a3fd0784c20aa4cd0b8fb501b5653; Linux 6.19
Fixed in: Linux 7c431d61b69a3fd0784c20aa4cd0b8fb501b5653

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98635 being exploited?

There is no confirmed exploitation: CVE-2026-98635 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98635?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98635?

Linux \>= 6e945ffb6555705cf20b1fcdc21a139911562995, \< ca688bb207957cffa5a8cad207329b0dcac1f2c0; \>= 6e945ffb6555705cf20b1fcdc21a139911562995, \< 7c431d61b69a3fd0784c20aa4cd0b8fb501b5653; Linux 6.19.

### Is there a fix for CVE-2026-98635?

Yes. Fixed in Linux 7c431d61b69a3fd0784c20aa4cd0b8fb501b5653. Upgrade Linux to 7c431d61b69a3fd0784c20aa4cd0b8fb501b5653 or later.

### How do I check if I'm affected by CVE-2026-98635?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/ca688bb207957cffa5a8cad207329b0dcac1f2c0>
- other: <https://git.kernel.org/stable/c/7c431d61b69a3fd0784c20aa4cd0b8fb501b5653>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98635>

HTML: <https://flawdb.com/CVE-2026-98635> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98635>
