{
  "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-39689",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-39689",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-09-05T17:20:55.270Z",
    "updatedAt": "2026-10-15T22:02:30.348Z",
    "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": "ftrace: Also allocate and copy hash for reading of filter files",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nftrace: Also allocate and copy hash for reading of filter files\n\nCurrently the reader of set_ftrace_filter and set_ftrace_notrace just adds\nthe pointer to the global tracer hash to its iterator. Unlike the writer\nthat allocates a copy of the hash, the reader keeps the pointer to the\nfilter hashes. This is problematic because this pointer is static across\nfunction calls that release the locks that can update the global tracer\nhashes. This can cause UAF and similar bugs.\n\nAllocate and copy the hash for reading the filter files like it is done\nfor the writers. This not only fixes UAF bugs, but also makes the code a\nbit simpler as it doesn't have to differentiate when to free the\niterator's hash between writers and readers.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "c20489dad156dd9919ebd854bbace46dbd2576a3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "12064e1880fc9202be75ff668205b1703d92f74f"
            },
            {
              "version": "c20489dad156dd9919ebd854bbace46dbd2576a3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c4cd93811e038d19f961985735ef7bb128078dfb"
            },
            {
              "version": "c20489dad156dd9919ebd854bbace46dbd2576a3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e0b6b223167e1edde5c82edf38e393c06eda1f13"
            },
            {
              "version": "c20489dad156dd9919ebd854bbace46dbd2576a3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a40c69f4f1ed96acbcd62e9b5ff3a596f0a91309"
            },
            {
              "version": "c20489dad156dd9919ebd854bbace46dbd2576a3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3b114a3282ab1a12cb4618a8f45db5d7185e784a"
            },
            {
              "version": "c20489dad156dd9919ebd854bbace46dbd2576a3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c591ba1acd081d4980713e47869dd1cc3d963d19"
            },
            {
              "version": "c20489dad156dd9919ebd854bbace46dbd2576a3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "64db338140d2bad99a0a8c6a118dd60b3e1fb8cb"
            },
            {
              "version": "c20489dad156dd9919ebd854bbace46dbd2576a3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bfb336cf97df7b37b2b2edec0f69773e06d11955"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.12",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.12"
            },
            {
              "version": "5.4.297",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.241",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.190",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.149",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.103",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.44",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.16.4",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.16.*"
            },
            {
              "version": "6.17",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}