{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "f7be4ee07fb72a516563bc2870ef41fa589a964a"
            },
            {
              "fixed": "173bfd69696815bcf1c052f61cb69c26cca4e443"
            },
            {
              "fixed": "995f4d05589f87452a56672270af28918c8939c3"
            },
            {
              "fixed": "0ef38d53bca5ea1375fea0d3d11e9727df064b85"
            },
            {
              "fixed": "ce748ae1181d0daf5dd0d2d906d5c1cc328c153b"
            },
            {
              "fixed": "15d79c806231e62a7b746d3b42626810004e1b27"
            },
            {
              "fixed": "116d14f29a0524853c9316f32a2ac06cff5d4bf6"
            },
            {
              "fixed": "1774c5b3713add32fe15ab0d3db4b73355f94e35"
            },
            {
              "fixed": "d410cd5303ec59c7cf23dd61423752ce8e9ecb59"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89497.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\norangefs: skip leading spaces before parsing client debug masks\n\norangefs_prepare_cdm_array() sizes each client debug keyword buffer\nwith strcspn(cds_head, \" \"), but then parses the keyword with %s. The\n%s conversion skips leading whitespace, while strcspn() does not.\n\nIf a client debug entry starts with a space, the allocation can be sized\nfor an empty keyword while sscanf() copies the following non-empty token.\nThis can write past the end of the allocated keyword buffer.\n\nSkip leading spaces before computing the keyword length so the allocation\nmatches the string parsed by sscanf().",
  "id": "CVE-2026-89497",
  "modified": "2026-09-16T03:30:19.545623524Z",
  "published": "2026-09-11T19:43:47.439Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0ef38d53bca5ea1375fea0d3d11e9727df064b85"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/116d14f29a0524853c9316f32a2ac06cff5d4bf6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/15d79c806231e62a7b746d3b42626810004e1b27"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/173bfd69696815bcf1c052f61cb69c26cca4e443"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1774c5b3713add32fe15ab0d3db4b73355f94e35"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/995f4d05589f87452a56672270af28918c8939c3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ce748ae1181d0daf5dd0d2d906d5c1cc328c153b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d410cd5303ec59c7cf23dd61423752ce8e9ecb59"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89497.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89497"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "orangefs: skip leading spaces before parsing client debug masks"
}