CVE-2026-89652 (GCVE-0-2026-89652)
Vulnerability from cvelistv5
Published
2026-09-11 19:45
Modified
2026-10-19 08:50
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: ceph: bound copied dentry name length in NFS export get_name ceph_get_name() copies the MDS-supplied name into the caller's NAME_MAX-sized buffer with memcpy(name, rinfo->dname, rinfo->dname_len) and then writes name[rinfo->dname_len] = 0, without checking dname_len against NAME_MAX. A malicious or buggy MDS that returns a LOOKUPNAME reply with dname_len > NAME_MAX overflows the buffer. __get_snap_name() copies rde->name / rde->name_len the same unchecked way. Impact: a malicious or compromised Ceph MDS overflows the NAME_MAX name buffer in a client's NFS-export get_name path, a slab out-of-bounds write reported by KASAN. Reachable when a CephFS mount is re-exported over NFS. Add ceph_export_copy_name(), which rejects lengths above NAME_MAX with -ENAMETOOLONG before the copy, and use it in both ceph_get_name() and __get_snap_name().
Impacted products
Vendor Product Version
Linux Linux Version: 19913b4eac4a230dccb548931358398f45dabe4c
Version: 19913b4eac4a230dccb548931358398f45dabe4c
Version: 19913b4eac4a230dccb548931358398f45dabe4c
Version: 19913b4eac4a230dccb548931358398f45dabe4c
Version: 19913b4eac4a230dccb548931358398f45dabe4c
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-89652",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-16T19:25:18.510719Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-16T19:26:46.828Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ceph/export.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a294064e0e0f81ea607b2f019e16888aa1b0a011",
              "status": "affected",
              "version": "19913b4eac4a230dccb548931358398f45dabe4c",
              "versionType": "git"
            },
            {
              "lessThan": "61d9f27b191b838b96b697ce0bfaee39a138243a",
              "status": "affected",
              "version": "19913b4eac4a230dccb548931358398f45dabe4c",
              "versionType": "git"
            },
            {
              "lessThan": "06fb5e623cdc2402d6bb29be94d9beb9a826ffec",
              "status": "affected",
              "version": "19913b4eac4a230dccb548931358398f45dabe4c",
              "versionType": "git"
            },
            {
              "lessThan": "e7c2fd3893a7f7fcd7e8cf0b2c6348bb1e893df6",
              "status": "affected",
              "version": "19913b4eac4a230dccb548931358398f45dabe4c",
              "versionType": "git"
            },
            {
              "lessThan": "eff8013c5a8916613c742ae5a2cc341cb605c0ae",
              "status": "affected",
              "version": "19913b4eac4a230dccb548931358398f45dabe4c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ceph/export.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.15"
            },
            {
              "lessThan": "3.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.109",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.50",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.109",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.50",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.4",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nceph: bound copied dentry name length in NFS export get_name\n\nceph_get_name() copies the MDS-supplied name into the caller\u0027s\nNAME_MAX-sized buffer with memcpy(name, rinfo-\u003edname, rinfo-\u003edname_len)\nand then writes name[rinfo-\u003edname_len] = 0, without checking dname_len\nagainst NAME_MAX. A malicious or buggy MDS that returns a LOOKUPNAME reply\nwith dname_len \u003e NAME_MAX overflows the buffer. __get_snap_name() copies\nrde-\u003ename / rde-\u003ename_len the same unchecked way.\n\nImpact: a malicious or compromised Ceph MDS overflows the NAME_MAX name\nbuffer in a client\u0027s NFS-export get_name path, a slab out-of-bounds write\nreported by KASAN. Reachable when a CephFS mount is re-exported over NFS.\n\nAdd ceph_export_copy_name(), which rejects lengths above NAME_MAX with\n-ENAMETOOLONG before the copy, and use it in both ceph_get_name() and\n__get_snap_name()."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - ceph_get_name() copies LOOKUPNAME/LSSNAP dentry names from a Ceph MDS reply over TCP, and nfsd reaches that callback via exportfs_decode_fh_raw() when CephFS is re-exported, so a remote MDS (or NFS client against such a gateway) hits the overflow on the network path.\nAC:L - A malicious MDS fully controls dname_len and the name bytes. nfsd lookup of a Ceph directory uses d_obtain_alias() then reconnect_path(), which deterministically calls get_name; no race, rare config, or uncontrollable layout is required.\nPR:N - No local account or capability on the victim is needed. A compromised or malicious MDS supplies the overflowing name, and on NFS-reexported CephFS any remote NFS client can force LOOKUPNAME by presenting a directory filehandle.\nUI:N - Once CephFS is mounted and re-exported over NFS, nfsd directory filehandle resolution automatically issues LOOKUPNAME and copies the MDS reply; no extra victim mount, click, or interactive step is required at exploit time.\nS:U - The overflow corrupts kernel stack/memory on the NFS/Ceph client host and does not cross a VM, IOMMU, or other security-authority boundary.\nC:H - Unbounded memcpy of MDS-controlled name bytes past the NAME_MAX+1 exportfs buffer is memory corruption that can overwrite adjacent kernel objects and be leveraged for arbitrary disclosure.\nI:H - Attacker-controlled length and contents overflow the NAME_MAX+1 stack buffer in exportfs_decode_fh_raw(), enabling an arbitrary write and control-flow hijacking.\nA:H - The same out-of-bounds write of a 256-byte name buffer by an MDS-chosen length, reported as a KASAN OOB write, reliably oopses or panics the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:50:23.873Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a294064e0e0f81ea607b2f019e16888aa1b0a011"
        },
        {
          "url": "https://git.kernel.org/stable/c/61d9f27b191b838b96b697ce0bfaee39a138243a"
        },
        {
          "url": "https://git.kernel.org/stable/c/06fb5e623cdc2402d6bb29be94d9beb9a826ffec"
        },
        {
          "url": "https://git.kernel.org/stable/c/e7c2fd3893a7f7fcd7e8cf0b2c6348bb1e893df6"
        },
        {
          "url": "https://git.kernel.org/stable/c/eff8013c5a8916613c742ae5a2cc341cb605c0ae"
        }
      ],
      "title": "ceph: bound copied dentry name length in NFS export get_name",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89652",
    "datePublished": "2026-09-11T19:45:42.443Z",
    "dateReserved": "2026-09-11T19:38:34.742Z",
    "dateUpdated": "2026-10-19T08:50:23.873Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-89652\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-16T19:25:18.510719Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-16T19:25:19.395Z\"}}], \"cna\": {\"title\": \"ceph: bound copied dentry name length in NFS export get_name\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 9.8, \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:N - ceph_get_name() copies LOOKUPNAME/LSSNAP dentry names from a Ceph MDS reply over TCP, and nfsd reaches that callback via exportfs_decode_fh_raw() when CephFS is re-exported, so a remote MDS (or NFS client against such a gateway) hits the overflow on the network path.\\nAC:L - A malicious MDS fully controls dname_len and the name bytes. nfsd lookup of a Ceph directory uses d_obtain_alias() then reconnect_path(), which deterministically calls get_name; no race, rare config, or uncontrollable layout is required.\\nPR:N - No local account or capability on the victim is needed. A compromised or malicious MDS supplies the overflowing name, and on NFS-reexported CephFS any remote NFS client can force LOOKUPNAME by presenting a directory filehandle.\\nUI:N - Once CephFS is mounted and re-exported over NFS, nfsd directory filehandle resolution automatically issues LOOKUPNAME and copies the MDS reply; no extra victim mount, click, or interactive step is required at exploit time.\\nS:U - The overflow corrupts kernel stack/memory on the NFS/Ceph client host and does not cross a VM, IOMMU, or other security-authority boundary.\\nC:H - Unbounded memcpy of MDS-controlled name bytes past the NAME_MAX+1 exportfs buffer is memory corruption that can overwrite adjacent kernel objects and be leveraged for arbitrary disclosure.\\nI:H - Attacker-controlled length and contents overflow the NAME_MAX+1 stack buffer in exportfs_decode_fh_raw(), enabling an arbitrary write and control-flow hijacking.\\nA:H - The same out-of-bounds write of a 256-byte name buffer by an MDS-chosen length, reported as a KASAN OOB write, reliably oopses or panics the kernel.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"19913b4eac4a230dccb548931358398f45dabe4c\", \"lessThan\": \"a294064e0e0f81ea607b2f019e16888aa1b0a011\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"19913b4eac4a230dccb548931358398f45dabe4c\", \"lessThan\": \"61d9f27b191b838b96b697ce0bfaee39a138243a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"19913b4eac4a230dccb548931358398f45dabe4c\", \"lessThan\": \"06fb5e623cdc2402d6bb29be94d9beb9a826ffec\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"19913b4eac4a230dccb548931358398f45dabe4c\", \"lessThan\": \"e7c2fd3893a7f7fcd7e8cf0b2c6348bb1e893df6\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"19913b4eac4a230dccb548931358398f45dabe4c\", \"lessThan\": \"eff8013c5a8916613c742ae5a2cc341cb605c0ae\", \"versionType\": \"git\"}], \"programFiles\": [\"fs/ceph/export.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.15\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"3.15\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.6.157\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12.109\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.12.*\"}, {\"status\": \"unaffected\", \"version\": \"6.18.50\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.18.*\"}, {\"status\": \"unaffected\", \"version\": \"7.2.4\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"7.2.*\"}, {\"status\": \"unaffected\", \"version\": \"7.3\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"fs/ceph/export.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/a294064e0e0f81ea607b2f019e16888aa1b0a011\"}, {\"url\": \"https://git.kernel.org/stable/c/61d9f27b191b838b96b697ce0bfaee39a138243a\"}, {\"url\": \"https://git.kernel.org/stable/c/06fb5e623cdc2402d6bb29be94d9beb9a826ffec\"}, {\"url\": \"https://git.kernel.org/stable/c/e7c2fd3893a7f7fcd7e8cf0b2c6348bb1e893df6\"}, {\"url\": \"https://git.kernel.org/stable/c/eff8013c5a8916613c742ae5a2cc341cb605c0ae\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nceph: bound copied dentry name length in NFS export get_name\\n\\nceph_get_name() copies the MDS-supplied name into the caller\u0027s\\nNAME_MAX-sized buffer with memcpy(name, rinfo-\u003edname, rinfo-\u003edname_len)\\nand then writes name[rinfo-\u003edname_len] = 0, without checking dname_len\\nagainst NAME_MAX. A malicious or buggy MDS that returns a LOOKUPNAME reply\\nwith dname_len \u003e NAME_MAX overflows the buffer. __get_snap_name() copies\\nrde-\u003ename / rde-\u003ename_len the same unchecked way.\\n\\nImpact: a malicious or compromised Ceph MDS overflows the NAME_MAX name\\nbuffer in a client\u0027s NFS-export get_name path, a slab out-of-bounds write\\nreported by KASAN. Reachable when a CephFS mount is re-exported over NFS.\\n\\nAdd ceph_export_copy_name(), which rejects lengths above NAME_MAX with\\n-ENAMETOOLONG before the copy, and use it in both ceph_get_name() and\\n__get_snap_name().\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.157\", \"versionStartIncluding\": \"3.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.109\", \"versionStartIncluding\": \"3.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.18.50\", \"versionStartIncluding\": \"3.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.2.4\", \"versionStartIncluding\": \"3.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.3\", \"versionStartIncluding\": \"3.15\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-10-19T08:50:23.873Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-89652\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-19T08:50:23.873Z\", \"dateReserved\": \"2026-09-11T19:38:34.742Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2026-09-11T19:45:42.443Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…