{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-38067",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38067",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-06-18T09:33:45.518Z",
    "updatedAt": "2026-10-15T01:06:26.314Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "rseq: Fix segfault on registration when rseq_cs is non-zero",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nrseq: Fix segfault on registration when rseq_cs is non-zero\n\nThe rseq_cs field is documented as being set to 0 by user-space prior to\nregistration, however this is not currently enforced by the kernel. This\ncan result in a segfault on return to user-space if the value stored in\nthe rseq_cs field doesn't point to a valid struct rseq_cs.\n\nThe correct solution to this would be to fail the rseq registration when\nthe rseq_cs field is non-zero. However, some older versions of glibc\nwill reuse the rseq area of previous threads without clearing the\nrseq_cs field and will also terminate the process if the rseq\nregistration fails in a secondary thread. This wasn't caught in testing\nbecause in this case the leftover rseq_cs does point to a valid struct\nrseq_cs.\n\nWhat we can do is clear the rseq_cs field on registration when it's\nnon-zero which will prevent segfaults on registration and won't break\nthe glibc versions that reuse rseq areas on thread creation.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "d7822b1e24f2df5df98c76f0e94a5416349ff759",
              "status": "affected",
              "versionType": "git",
              "lessThan": "48900d839a3454050fd5822e34be8d54c4ec9b86"
            },
            {
              "version": "d7822b1e24f2df5df98c76f0e94a5416349ff759",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3e4028ef31b69286c9d4878cee0330235f53f218"
            },
            {
              "version": "d7822b1e24f2df5df98c76f0e94a5416349ff759",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b2b05d0dc2f4f0646922068af435aed5763d16ba"
            },
            {
              "version": "d7822b1e24f2df5df98c76f0e94a5416349ff759",
              "status": "affected",
              "versionType": "git",
              "lessThan": "eaf112069a904b6207b4106ff083e0208232a2eb"
            },
            {
              "version": "d7822b1e24f2df5df98c76f0e94a5416349ff759",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f004f58d18a2d3dc761cf973ad27b4a5997bd876"
            },
            {
              "version": "d7822b1e24f2df5df98c76f0e94a5416349ff759",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2df285dab00fa03a3ef939b6cb0d0d0aeb0791db"
            },
            {
              "version": "d7822b1e24f2df5df98c76f0e94a5416349ff759",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fd881d0a085fc54354414aed990ccf05f282ba53"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.18",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.18"
            },
            {
              "version": "5.10.240",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.189",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.146",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.99",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.39",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.14.9",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.14.*"
            },
            {
              "version": "6.15",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}