CVE-2026-52954 (GCVE-0-2026-52954)

Vulnerability from cvelistv5 – Published: 2026-06-24 16:28 – Updated: 2026-06-29 04:18
VLAI
Title
libceph: handle rbtree insertion error in decode_choose_args()
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 ]
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 5cf9c4a9959b6273675310d14a834ef14fbca37c , < c7bf7864e2924fa5508ac270b0e9364bc13d5a6c (git)
Affected: 5cf9c4a9959b6273675310d14a834ef14fbca37c , < f47430fc1f815e87406e2d3b4e476eff1bc7fd9b (git)
Affected: 5cf9c4a9959b6273675310d14a834ef14fbca37c , < 0b6a3bcb91bc5bfeda39f0df3b71bab62c13e9da (git)
Affected: 5cf9c4a9959b6273675310d14a834ef14fbca37c , < 534ebc08df97c47d4c7596f336fa31ecbf91519c (git)
Affected: 5cf9c4a9959b6273675310d14a834ef14fbca37c , < 80c73bd1b2b04355d1d0c29be8ccbd25a380905d (git)
Affected: 5cf9c4a9959b6273675310d14a834ef14fbca37c , < 4d2b37abda9536808655830d683dc491d31741a8 (git)
Affected: 5cf9c4a9959b6273675310d14a834ef14fbca37c , < 0a1265a9ab875f92b6a3ffb497404f46cf9d76a3 (git)
Affected: 5cf9c4a9959b6273675310d14a834ef14fbca37c , < d289478cfc0bcf81c7914200d6abdcb78bd04ded (git)
Create a notification for this product.
Linux Linux Affected: 4.13
Unaffected: 0 , < 4.13 (semver)
Unaffected: 5.10.258 , ≤ 5.10.* (semver)
Unaffected: 5.15.209 , ≤ 5.15.* (semver)
Unaffected: 6.1.175 , ≤ 6.1.* (semver)
Unaffected: 6.6.141 , ≤ 6.6.* (semver)
Unaffected: 6.12.91 , ≤ 6.12.* (semver)
Unaffected: 6.18.33 , ≤ 6.18.* (semver)
Unaffected: 7.0.10 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
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"
          }
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-29T04:18:41.413Z",
        "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-06-29T04:18:41.413Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-52954",
      "date": "2026-07-02",
      "epss": "0.0053",
      "percentile": "0.40871"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-52954\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-06-24T17:17:05.530\",\"lastModified\":\"2026-06-29T06:16:30.117\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"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 ]\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/ceph/osdmap.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5cf9c4a9959b6273675310d14a834ef14fbca37c\",\"lessThan\":\"c7bf7864e2924fa5508ac270b0e9364bc13d5a6c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5cf9c4a9959b6273675310d14a834ef14fbca37c\",\"lessThan\":\"f47430fc1f815e87406e2d3b4e476eff1bc7fd9b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5cf9c4a9959b6273675310d14a834ef14fbca37c\",\"lessThan\":\"0b6a3bcb91bc5bfeda39f0df3b71bab62c13e9da\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5cf9c4a9959b6273675310d14a834ef14fbca37c\",\"lessThan\":\"534ebc08df97c47d4c7596f336fa31ecbf91519c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5cf9c4a9959b6273675310d14a834ef14fbca37c\",\"lessThan\":\"80c73bd1b2b04355d1d0c29be8ccbd25a380905d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5cf9c4a9959b6273675310d14a834ef14fbca37c\",\"lessThan\":\"4d2b37abda9536808655830d683dc491d31741a8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5cf9c4a9959b6273675310d14a834ef14fbca37c\",\"lessThan\":\"0a1265a9ab875f92b6a3ffb497404f46cf9d76a3\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5cf9c4a9959b6273675310d14a834ef14fbca37c\",\"lessThan\":\"d289478cfc0bcf81c7914200d6abdcb78bd04ded\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/ceph/osdmap.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.13\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.13\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.258\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.209\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.175\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.141\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.91\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.33\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.10\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":7.5,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":3.6}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0a1265a9ab875f92b6a3ffb497404f46cf9d76a3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0b6a3bcb91bc5bfeda39f0df3b71bab62c13e9da\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4d2b37abda9536808655830d683dc491d31741a8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/534ebc08df97c47d4c7596f336fa31ecbf91519c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/80c73bd1b2b04355d1d0c29be8ccbd25a380905d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c7bf7864e2924fa5508ac270b0e9364bc13d5a6c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d289478cfc0bcf81c7914200d6abdcb78bd04ded\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f47430fc1f815e87406e2d3b4e476eff1bc7fd9b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…