Skip to content
Heist/ feed
Back to feed
HighFix available

orangefs: skip leading spaces before parsing client debug masks

Type: advisorySources: OSV

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().

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.270, 5.15.221, 6.1.188, 6.12.109, 6.18.50, 6.6.157, 7.2.4
CVEs
CVE-2026-89497
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:27 UTC · Revision 1

Source evidence

orangefs: skip leading spaces before parsing client debug masks

core-osv · Original source

Published 11 Sept 2026, 19:43 UTC

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().

osv:CVE-2026-89497

Kernel

Fixed versions: 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, 6.18.50, 7.2.4

Complete source record
{
  "id": "2d3c5ac7f494e4b2ff55b9e4b64c010715ee010dbd22085b1a7583bb14c9a7e9",
  "url": "https://osv.dev/vulnerability/CVE-2026-89497",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "orangefs: skip leading spaces before parsing client debug masks",
    "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().",
    "evidence": "osv:CVE-2026-89497",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.270",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.221",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.188",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.157",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.109",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.50",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-89497",
      "aliases": [
        "CVE-2026-89497"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f7be4ee07fb72a516563bc2870ef41fa589a964a"
                },
                {
                  "fixed": "173bfd69696815bcf1c052f61cb69c26cca4e443"
                },
                {
                  "fixed": "995f4d05589f87452a56672270af28918c8939c3"
                },
                {
                  "fixed": "0ef38d53bca5ea1375fea0d3d11e9727df064b85"
                },
                {
                  "fixed": "ce748ae1181d0daf5dd0d2d906d5c1cc328c153b"
                },
                {
                  "fixed": "15d79c806231e62a7b746d3b42626810004e1b27"
                },
                {
                  "fixed": "116d14f29a0524853c9316f32a2ac06cff5d4bf6"
                },
                {
                  "fixed": "1774c5b3713add32fe15ab0d3db4b73355f94e35"
                },
                {
                  "fixed": "d410cd5303ec59c7cf23dd61423752ce8e9ecb59"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89497.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.6.0"
                },
                {
                  "fixed": "5.10.270"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.221"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.188"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.157"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.109"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.50"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89497.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.745004629Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0ef38d53bca5ea1375fea0d3d11e9727df064b85",
        "https://git.kernel.org/stable/c/116d14f29a0524853c9316f32a2ac06cff5d4bf6",
        "https://git.kernel.org/stable/c/15d79c806231e62a7b746d3b42626810004e1b27",
        "https://git.kernel.org/stable/c/173bfd69696815bcf1c052f61cb69c26cca4e443",
        "https://git.kernel.org/stable/c/1774c5b3713add32fe15ab0d3db4b73355f94e35",
        "https://git.kernel.org/stable/c/995f4d05589f87452a56672270af28918c8939c3",
        "https://git.kernel.org/stable/c/ce748ae1181d0daf5dd0d2d906d5c1cc328c153b",
        "https://git.kernel.org/stable/c/d410cd5303ec59c7cf23dd61423752ce8e9ecb59",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89497.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-89497",
        "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/89xxx/CVE-2026-89497.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-89497",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521777,
  "published_at": "2026-09-11T19:43:47.439+00:00"
}