{
  "id": "CVE-2026-89649",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-89649",
  "published_at": "2026-09-11T19:45:40.118Z",
  "title": "ceph: bound xattr value length in __build_xattrs()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nceph: bound xattr value length in __build_xattrs()\n\n__build_xattrs() decodes the MDS-supplied xattr blob one attribute at a\ntime. For each attribute it reads a 32-bit name length, advances past the\nname bytes, reads a 32-bit value length, records the value pointer, and\nadvances past the value bytes. The two length fields are read with\nceph_decode_32_safe(), but the value bytes themselves are advanced over\nwith a bare \"p += len\" and no ceph_decode_need() check that \"len\" bytes\nremain in the blob.\n\nFor every attribute except the last, the next iteration's\nceph_decode_32_safe() on the following name length implicitly verifies\nthat the previous value did not run past the blob end. The final\nattribute has no successor, so its decoded value length is never checked\nagainst the blob bounds. A malicious or compromised metadata server can\nset the last attribute's value length larger than the bytes actually\npresent in the blob.\n\nThe blob is a dedicated kvmalloc() allocation sized to the wire length\n(ceph_buffer_new() in ceph_fill_inode()). __set_xattr() records the\noversized length in xattr-\u003eval_len verbatim, and a later getxattr(2) runs\nmemcpy(value, xattr-\u003eval, xattr-\u003eval_len) into a user-supplied buffer,\ncopying bytes past the end of the allocation back to user space.\n\nImpact: a malicious metadata server discloses adjacent kernel heap bytes\nto a local user via getxattr(2) on a CephFS file. Add the missing\nceph_decode_need() so an out-of-bounds value length on the final\nattribute fails the decode and returns -EIO instead of being stored.",
  "cvss_by_source": {
    "cna": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 355da1eb7a1f91c276b991764e951bbcd8047599, \u003c 848b80ca6b410f350d08b8ac19a00ef88223f2ea",
          "\u003e= 355da1eb7a1f91c276b991764e951bbcd8047599, \u003c 01e3f19c301d492e12f16b3b463ac14d7cf3ebe7",
          "\u003e= 355da1eb7a1f91c276b991764e951bbcd8047599, \u003c cb0cd79ae80476d1bc06bd9678484b6736f19588",
          "\u003e= 355da1eb7a1f91c276b991764e951bbcd8047599, \u003c 61f085cb8976c9cebc90e1a8933e4cc1ad8b0fce",
          "\u003e= 355da1eb7a1f91c276b991764e951bbcd8047599, \u003c 38be2f3c41ecaba58bb92dc16603e09ba9fd64f1",
          "\u003e= 355da1eb7a1f91c276b991764e951bbcd8047599, \u003c 1dd356310b1660215f9a3626580bf8b363ef981e",
          "\u003e= 355da1eb7a1f91c276b991764e951bbcd8047599, \u003c b12b3320c81fd72ab36388fb2445fec9c3038f10",
          "\u003e= 355da1eb7a1f91c276b991764e951bbcd8047599, \u003c 68d541754d6cd3bb98d1fd8314f57e5eb533557d"
        ],
        "fixed_in": [
          "848b80ca6b410f350d08b8ac19a00ef88223f2ea",
          "01e3f19c301d492e12f16b3b463ac14d7cf3ebe7",
          "cb0cd79ae80476d1bc06bd9678484b6736f19588",
          "61f085cb8976c9cebc90e1a8933e4cc1ad8b0fce",
          "38be2f3c41ecaba58bb92dc16603e09ba9fd64f1",
          "1dd356310b1660215f9a3626580bf8b363ef981e",
          "b12b3320c81fd72ab36388fb2445fec9c3038f10",
          "68d541754d6cd3bb98d1fd8314f57e5eb533557d"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.34"
        ],
        "fixed_in": [
          "0",
          "5.10.270",
          "5.15.221",
          "6.1.188",
          "6.6.157",
          "6.12.109",
          "6.18.50",
          "7.2.4",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 848b80ca6b410f350d08b8ac19a00ef88223f2ea or 01e3f19c301d492e12f16b3b463ac14d7cf3ebe7 or cb0cd79ae80476d1bc06bd9678484b6736f19588 or 61f085cb8976c9cebc90e1a8933e4cc1ad8b0fce or 38be2f3c41ecaba58bb92dc16603e09ba9fd64f1 or 1dd356310b1660215f9a3626580bf8b363ef981e or b12b3320c81fd72ab36388fb2445fec9c3038f10 or 68d541754d6cd3bb98d1fd8314f57e5eb533557d or later.",
      "Upgrade Linux to 0 or 5.10.270 or 5.15.221 or 6.1.188 or 6.6.157 or 6.12.109 or 6.18.50 or 7.2.4 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
