CVE-2026-89497

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxf7be4ee07fb72a516563bc2870ef41fa589a964a < 15d79c806231e62a7b746d3b42626810004e1b27affected
LinuxLinuxf7be4ee07fb72a516563bc2870ef41fa589a964a < 116d14f29a0524853c9316f32a2ac06cff5d4bf6affected
LinuxLinuxf7be4ee07fb72a516563bc2870ef41fa589a964a < 1774c5b3713add32fe15ab0d3db4b73355f94e35affected
LinuxLinuxf7be4ee07fb72a516563bc2870ef41fa589a964a < d410cd5303ec59c7cf23dd61423752ce8e9ecb59affected
LinuxLinux4.6affected
LinuxLinux0 < 4.6unaffected
LinuxLinux6.12.109 <= 6.12.*unaffected
LinuxLinux6.18.50 <= 6.18.*unaffected
LinuxLinux7.2.4 <= 7.2.*unaffected
LinuxLinux7.3-rc1 <= *unaffected

Weaknesses

References