{
  "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-2024-26689",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-26689",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-04-03T14:54:50.885Z",
    "updatedAt": "2026-08-05T11:26:42.116Z",
    "importedAt": "2026-10-24T01:57:07.518Z",
    "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": "ceph: prevent use-after-free in encode_cap_msg()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nceph: prevent use-after-free in encode_cap_msg()\n\nIn fs/ceph/caps.c, in encode_cap_msg(), \"use after free\" error was\ncaught by KASAN at this line - 'ceph_buffer_get(arg->xattr_buf);'. This\nimplies before the refcount could be increment here, it was freed.\n\nIn same file, in \"handle_cap_grant()\" refcount is decremented by this\nline - 'ceph_buffer_put(ci->i_xattrs.blob);'. It appears that a race\noccurred and resource was freed by the latter line before the former\nline could increment it.\n\nencode_cap_msg() is called by __send_cap() and __send_cap() is called by\nceph_check_caps() after calling __prep_cap(). __prep_cap() is where\narg->xattr_buf is assigned to ci->i_xattrs.blob. This is the spot where\nthe refcount must be increased to prevent \"use after free\" error.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "9030aaf9bf0a1eee47a154c316c789e959638b0f",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8180d0c27b93a6eb60da1b08ea079e3926328214"
            },
            {
              "version": "9030aaf9bf0a1eee47a154c316c789e959638b0f",
              "status": "affected",
              "versionType": "git",
              "lessThan": "70e329b440762390258a6fe8c0de93c9fdd56c77"
            },
            {
              "version": "9030aaf9bf0a1eee47a154c316c789e959638b0f",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f3f98d7d84b31828004545e29fd7262b9f444139"
            },
            {
              "version": "9030aaf9bf0a1eee47a154c316c789e959638b0f",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ae20db45e482303a20e56f2db667a9d9c54ac7e7"
            },
            {
              "version": "9030aaf9bf0a1eee47a154c316c789e959638b0f",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7958c1bf5b03c6f1f58e724dbdec93f8f60b96fc"
            },
            {
              "version": "9030aaf9bf0a1eee47a154c316c789e959638b0f",
              "status": "affected",
              "versionType": "git",
              "lessThan": "cda4672da1c26835dcbd7aec2bfed954eda9b5ef"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.34",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.34"
            },
            {
              "version": "5.10.210",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.149",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.79",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.18",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.7.6",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.7.*"
            },
            {
              "version": "6.8",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}