CVE-2026-52954 (GCVE-0-2026-52954)
Vulnerability from cvelistv5
Published
2026-06-24 16:28
Modified
2026-08-05 12:32
Summary
In the Linux kernel, the following vulnerability has been resolved: libceph: handle rbtree insertion error in decode_choose_args() A message of type CEPH_MSG_OSD_MAP contains an OSD map that itself contains a CRUSH map. The received CRUSH map may optionally contain choose_args that get decoded in decode_choose_args(). In this function, num_choose_arg_maps is read from the message, and a corresponding number of crush_choose_arg_maps gets decoded afterwards. Each crush_choose_arg_map has a choose_args_index, which serves as the key when inserting it into the choose_args rbtree of the decoded crush_map. If a (potentially corrupted) message contains two crush_choose_arg_maps with the same index, the assertion in insert_choose_arg_map() triggers a kernel BUG when trying to insert the second crush_choose_arg_map. This patch fixes the issue by switching to the non-asserting rbtree insertion function and rejecting the message if the insertion fails. [ idryomov: changelog ]
Impacted products
Vendor Product Version
Linux Linux Version: 5cf9c4a9959b6273675310d14a834ef14fbca37c
Version: 5cf9c4a9959b6273675310d14a834ef14fbca37c
Version: 5cf9c4a9959b6273675310d14a834ef14fbca37c
Version: 5cf9c4a9959b6273675310d14a834ef14fbca37c
Version: 5cf9c4a9959b6273675310d14a834ef14fbca37c
Version: 5cf9c4a9959b6273675310d14a834ef14fbca37c
Version: 5cf9c4a9959b6273675310d14a834ef14fbca37c
Version: 5cf9c4a9959b6273675310d14a834ef14fbca37c
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/ceph/osdmap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c7bf7864e2924fa5508ac270b0e9364bc13d5a6c",
              "status": "affected",
              "version": "5cf9c4a9959b6273675310d14a834ef14fbca37c",
              "versionType": "git"
            },
            {
              "lessThan": "f47430fc1f815e87406e2d3b4e476eff1bc7fd9b",
              "status": "affected",
              "version": "5cf9c4a9959b6273675310d14a834ef14fbca37c",
              "versionType": "git"
            },
            {
              "lessThan": "0b6a3bcb91bc5bfeda39f0df3b71bab62c13e9da",
              "status": "affected",
              "version": "5cf9c4a9959b6273675310d14a834ef14fbca37c",
              "versionType": "git"
            },
            {
              "lessThan": "534ebc08df97c47d4c7596f336fa31ecbf91519c",
              "status": "affected",
              "version": "5cf9c4a9959b6273675310d14a834ef14fbca37c",
              "versionType": "git"
            },
            {
              "lessThan": "80c73bd1b2b04355d1d0c29be8ccbd25a380905d",
              "status": "affected",
              "version": "5cf9c4a9959b6273675310d14a834ef14fbca37c",
              "versionType": "git"
            },
            {
              "lessThan": "4d2b37abda9536808655830d683dc491d31741a8",
              "status": "affected",
              "version": "5cf9c4a9959b6273675310d14a834ef14fbca37c",
              "versionType": "git"
            },
            {
              "lessThan": "0a1265a9ab875f92b6a3ffb497404f46cf9d76a3",
              "status": "affected",
              "version": "5cf9c4a9959b6273675310d14a834ef14fbca37c",
              "versionType": "git"
            },
            {
              "lessThan": "d289478cfc0bcf81c7914200d6abdcb78bd04ded",
              "status": "affected",
              "version": "5cf9c4a9959b6273675310d14a834ef14fbca37c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ceph/osdmap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.13"
            },
            {
              "lessThan": "4.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.258",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.209",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.175",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.141",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.91",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.33",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.258",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.209",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.175",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.141",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.91",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.33",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.10",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "4.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: handle rbtree insertion error in decode_choose_args()\n\nA message of type CEPH_MSG_OSD_MAP contains an OSD map that itself\ncontains a CRUSH map. The received CRUSH map may optionally contain\nchoose_args that get decoded in decode_choose_args(). In this function,\nnum_choose_arg_maps is read from the message, and a corresponding number\nof crush_choose_arg_maps gets decoded afterwards. Each\ncrush_choose_arg_map has a choose_args_index, which serves as the key\nwhen inserting it into the choose_args rbtree of the decoded crush_map.\nIf a (potentially corrupted) message contains two crush_choose_arg_maps\nwith the same index, the assertion in insert_choose_arg_map() triggers a\nkernel BUG when trying to insert the second crush_choose_arg_map.\n\nThis patch fixes the issue by switching to the non-asserting rbtree\ninsertion function and rejecting the message if the insertion fails.\n\n[ idryomov: changelog ]"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The vulnerable decoder processes CEPH_MSG_OSD_MAP data received over the Ceph network protocol from monitor or OSD peers.\nAC:L - An attacker controlling an accepted Ceph peer can deterministically include two choose_arg_maps with the same choose_args_index; no race or special memory state is required.\nPR:N - In the highest reasonable scenario, a malicious or compromised Ceph cluster endpoint sends the malformed map to an already connected client and needs no privileges on the victim system.\nUI:N - OSD map updates are processed asynchronously by the kernel client after the Ceph session exists; no victim action is needed to process the malicious message.\nS:U - The impact is within the same kernel security authority and does not cross a VM, IOMMU, or sandbox boundary.\nC:N - The bug triggers a BUG() assertion on duplicate rbtree insertion and does not provide an information disclosure primitive.\nI:N - The vulnerable path does not perform attacker-controlled memory corruption; it aborts via BUG() before creating an integrity-impacting primitive.\nA:H - The duplicate choose_args_index triggers a kernel BUG/oops in the Ceph client decode path, causing a high-impact denial of service."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:32:04.179Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c7bf7864e2924fa5508ac270b0e9364bc13d5a6c"
        },
        {
          "url": "https://git.kernel.org/stable/c/f47430fc1f815e87406e2d3b4e476eff1bc7fd9b"
        },
        {
          "url": "https://git.kernel.org/stable/c/0b6a3bcb91bc5bfeda39f0df3b71bab62c13e9da"
        },
        {
          "url": "https://git.kernel.org/stable/c/534ebc08df97c47d4c7596f336fa31ecbf91519c"
        },
        {
          "url": "https://git.kernel.org/stable/c/80c73bd1b2b04355d1d0c29be8ccbd25a380905d"
        },
        {
          "url": "https://git.kernel.org/stable/c/4d2b37abda9536808655830d683dc491d31741a8"
        },
        {
          "url": "https://git.kernel.org/stable/c/0a1265a9ab875f92b6a3ffb497404f46cf9d76a3"
        },
        {
          "url": "https://git.kernel.org/stable/c/d289478cfc0bcf81c7914200d6abdcb78bd04ded"
        }
      ],
      "title": "libceph: handle rbtree insertion error in decode_choose_args()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-52954",
    "datePublished": "2026-06-24T16:28:36.992Z",
    "dateReserved": "2026-06-09T07:44:35.372Z",
    "dateUpdated": "2026-08-05T12:32:04.179Z",
    "state": "PUBLISHED"
  },
  "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…