{
  "id": "CVE-2026-52957",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-52957",
  "published_at": "2026-06-24T16:28:39.066Z",
  "title": "libceph: Fix potential null-ptr-deref in decode_choose_args()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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\nlibceph: Fix potential null-ptr-deref in decode_choose_args()\n\nA message of type CEPH_MSG_OSD_MAP contains an OSD map that itself\ncontains a CRUSH map. When decoding this CRUSH map in crush_decode(), an\narray of max_buckets CRUSH buckets is decoded, where some indices may\nnot refer to actual buckets and are therefore set to NULL. The received\nCRUSH map may optionally contain choose_args that get decoded in\ndecode_choose_args(). When decoding a crush_choose_arg_map, a series of\nchoose_args for different buckets is decoded, with the bucket_index\nbeing read from the incoming message. It is only checked that the bucket\nindex does not exceed max_buckets, but not that it doesn't point to an\nindex with a NULL bucket. If a (potentially corrupted) message contains\na crush_choose_arg_map including such a bucket_index, a null pointer\ndereference may occur in the subsequent processing when attempting to\naccess the bucket with the given index.\n\nThis patch fixes the issue by extending the affected check. Now, it is\nonly attempted to access the bucket if it is not NULL.",
  "cwe": "CWE-476",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.13:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.13:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.13:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.13:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:4.13:rc7:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, \u003c d55ffad8d422b5d1cc44dad32bd3d25f4471cd9f",
          "\u003e= c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, \u003c 301286c0ccd37d66b0e40786fd35a4f19cdbd88a",
          "\u003e= c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, \u003c 7169f326a23d0f547fcd90e68b72fd387622e126",
          "\u003e= c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, \u003c d7a65a34d2453f8cd3e0cc0e1319740af7e24276",
          "\u003e= c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, \u003c 312ec973efac0efb9b9ed64214235910e9ecbaa8",
          "\u003e= c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, \u003c f2f95e6d4b97e70bb876139b0583fc8079983f85",
          "\u003e= c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, \u003c a20e16ebfe2fa65348eb4b2dc7deac330ce03e9c",
          "\u003e= c7ed1a4bf4b446317eefa0f4916d94b1f6d3ada5, \u003c 28b0a2ab8c82d0bbdeb8013029c67c978ce6e4bf"
        ],
        "fixed_in": [
          "d55ffad8d422b5d1cc44dad32bd3d25f4471cd9f",
          "301286c0ccd37d66b0e40786fd35a4f19cdbd88a",
          "7169f326a23d0f547fcd90e68b72fd387622e126",
          "d7a65a34d2453f8cd3e0cc0e1319740af7e24276",
          "312ec973efac0efb9b9ed64214235910e9ecbaa8",
          "f2f95e6d4b97e70bb876139b0583fc8079983f85",
          "a20e16ebfe2fa65348eb4b2dc7deac330ce03e9c",
          "28b0a2ab8c82d0bbdeb8013029c67c978ce6e4bf"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.13"
        ],
        "fixed_in": [
          "0",
          "5.10.258",
          "5.15.209",
          "6.1.175",
          "6.6.141",
          "6.12.91",
          "6.18.33",
          "7.0.10",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to d55ffad8d422b5d1cc44dad32bd3d25f4471cd9f or 301286c0ccd37d66b0e40786fd35a4f19cdbd88a or 7169f326a23d0f547fcd90e68b72fd387622e126 or d7a65a34d2453f8cd3e0cc0e1319740af7e24276 or 312ec973efac0efb9b9ed64214235910e9ecbaa8 or f2f95e6d4b97e70bb876139b0583fc8079983f85 or a20e16ebfe2fa65348eb4b2dc7deac330ce03e9c or 28b0a2ab8c82d0bbdeb8013029c67c978ce6e4bf or later.",
      "Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.141 or 6.12.91 or 6.18.33 or 7.0.10 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
