{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-52955","id":"CVE-2026-52955","title":"libceph: Fix potential out-of-bounds access in crush_decode()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: Fix potential out-of-bounds access in crush_decode()\n\nA message of type CEPH_MSG_OSD_MAP containing a crush map with at least\none bucket has two fields holding the bucket algorithm. If the values\nin these two fields differ, an out-of-bounds access can occur. This is\nthe case because the first algorithm field (alg) is use","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: Fix potential out-of-bounds access in crush_decode()\n\nA message of type CEPH_MSG_OSD_MAP containing a crush map with at least\none bucket has two fields holding the bucket algorithm. If the values\nin these two fields differ, an out-of-bounds access can occur. This is\nthe case because the first algorithm field (alg) is used to allocate\nthe correct amount of memory for a bucket of this type, while the second\nalgorithm field inside the bucket (b->alg) is used in the subsequent\nprocessing.\n\nThis patch fixes the issue by adding a check that compares alg and\nb->alg and aborts the processing in case they differ. Furthermore,\nb->alg is set to 0 in this case, because the destruction of the crush\nmap also uses this field to determine the bucket type, which can again\nresult in an out-of-bounds access when trying to free the memory pointed\nto by the fields of the bucket. To correctly free the memory allocated\nfor the bucket in such a case, the corresponding call to kfree is moved\nfrom the algorithm-specific crush_destroy_bucket functions to the\ngeneric crush_destroy_bucket().","published":"2026-06-24T16:28:37.748Z","updated":"2026-10-28T02:31:14.360535747Z","reserved":"2026-06-09T07:44:35.373Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"redhat-SADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","lessThan":"6e70ef53e818c53eab28d7b0026b7fd03dddaba5","status":"affected","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","lessThan":"ebe76d58a48a48031b98543d86c4cd30a825b622","status":"affected","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","lessThan":"3f42508191e129ee6b5ea96578d5cab14f2a013a","status":"affected","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","lessThan":"ea0d42137f0c06da71e37ffc647aab4c5309599a","status":"affected","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","lessThan":"cceb10023e76bc89f3fe9238ebd0ccab0fc7c7c5","status":"affected","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","lessThan":"0f3604cbe4df14c5e58288ac9f57511e726a222d","status":"affected","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","lessThan":"fb176a99e4c1a5a8448a83d83d3606203ba81faa","status":"affected","versionType":"git"},{"version":"f24e9980eb860d8600cbe5ef3d2fd9295320d229","lessThan":"4c79fc2d598694bda845b46229c9d48b65042970","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.34","status":"affected"},{"version":"0","lessThan":"2.6.34","status":"unaffected","versionType":"semver"},{"version":"5.10.258","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.209","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.175","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.141","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.91","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.33","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.0.10","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-131","CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/6e70ef53e818c53eab28d7b0026b7fd03dddaba5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ebe76d58a48a48031b98543d86c4cd30a825b622","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3f42508191e129ee6b5ea96578d5cab14f2a013a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ea0d42137f0c06da71e37ffc647aab4c5309599a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/cceb10023e76bc89f3fe9238ebd0ccab0fc7c7c5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0f3604cbe4df14c5e58288ac9f57511e726a222d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fb176a99e4c1a5a8448a83d83d3606203ba81faa","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4c79fc2d598694bda845b46229c9d48b65042970","tags":["Patch","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-52955","tags":["vdb-entry","x_refsource_REDHAT","Third Party Advisory","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2492328","tags":["issue-tracking","x_refsource_REDHAT","Third Party Advisory","report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52955.json","tags":["x_sadp-csaf-vex","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52955.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52955","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.0038,"epssPercentile":0.3274,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-52955","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52955","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-52955","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-52955","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}