CVE-2026-89497
JSON

7.8high

orangefs: skip leading spaces before parsing client debug masks

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: orangefs: skip leading spaces before parsing client debug masks orangefs_prepare_cdm_array() sizes each client debug keyword buffer with strcspn(cds_head, " "), but then parses the keyword with %s. The %s conversion skips leading whitespace, while strcspn() does not. If a client debug entry starts with a space, the allocation can be sized for an empty keyword while sscanf() copies the following non-empty token. This can write past the end of the allocated keyword buffer. Skip leading spaces before computing the keyword length so the allocation matches the string parsed by sscanf().

Affected

Product or packageVersionsReported by
Linux Linuxfrom f7be4ee07fb72a516563bc2870ef41fa589a964a before 173bfd69696815bcf1c052f61cb69c26cca4e443, from f7be4ee07fb72a516563bc2870ef41fa589a964a before 995f4d05589f87452a56672270af28918c8939c3, from f7be4ee07fb72a516563bc2870ef41fa589a964a before 0ef38d53bca5ea1375fea0d3d11e9727df064b85, from f7be4ee07fb72a516563bc2870ef41fa589a964a before ce748ae1181d0daf5dd0d2d906d5c1cc328c153b, from f7be4ee07fb72a516563bc2870ef41fa589a964a before 15d79c806231e62a7b746d3b42626810004e1b27, from f7be4ee07fb72a516563bc2870ef41fa589a964a before 116d14f29a0524853c9316f32a2ac06cff5d4bf6, from f7be4ee07fb72a516563bc2870ef41fa589a964a before 1774c5b3713add32fe15ab0d3db4b73355f94e35, from f7be4ee07fb72a516563bc2870ef41fa589a964a before d410cd5303ec59c7cf23dd61423752ce8e9ecb59 and 1 more
Not affected: before 4.6, from 5.10.270 up to 5.10.*, from 5.15.221 up to 5.15.*, from 6.1.188 up to 6.1.*, from 6.6.157 up to 6.6.*, from 6.12.109 up to 6.12.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-89497 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-89497 changed 2026-10-19Public domain