{"id":"CVE-2026-52954","aliases":["CVE-2026-52954"],"related":[],"kind":"vulnerability","state":"published","title":"libceph: handle rbtree insertion error in decode_choose_args()","summary":"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 ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 ]","source":"cvelist"}],"published":"2026-06-24T16:28:36.992Z","modified":"2026-10-19T20:18:50.350Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-20","CWE-617"],"affected":[{"ranges":[{"type":"git","introduced":"5cf9c4a9959b6273675310d14a834ef14fbca37c","fixed":"c7bf7864e2924fa5508ac270b0e9364bc13d5a6c","status":"affected"},{"type":"git","introduced":"5cf9c4a9959b6273675310d14a834ef14fbca37c","fixed":"f47430fc1f815e87406e2d3b4e476eff1bc7fd9b","status":"affected"},{"type":"git","introduced":"5cf9c4a9959b6273675310d14a834ef14fbca37c","fixed":"0b6a3bcb91bc5bfeda39f0df3b71bab62c13e9da","status":"affected"},{"type":"git","introduced":"5cf9c4a9959b6273675310d14a834ef14fbca37c","fixed":"534ebc08df97c47d4c7596f336fa31ecbf91519c","status":"affected"},{"type":"git","introduced":"5cf9c4a9959b6273675310d14a834ef14fbca37c","fixed":"80c73bd1b2b04355d1d0c29be8ccbd25a380905d","status":"affected"},{"type":"git","introduced":"5cf9c4a9959b6273675310d14a834ef14fbca37c","fixed":"4d2b37abda9536808655830d683dc491d31741a8","status":"affected"},{"type":"git","introduced":"5cf9c4a9959b6273675310d14a834ef14fbca37c","fixed":"0a1265a9ab875f92b6a3ffb497404f46cf9d76a3","status":"affected"},{"type":"git","introduced":"5cf9c4a9959b6273675310d14a834ef14fbca37c","fixed":"d289478cfc0bcf81c7914200d6abdcb78bd04ded","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.13","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.141","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.91","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.33","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.10","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.13","fixed":"5.10.258"},{"status":"affected","introduced":"5.11","fixed":"5.15.209"},{"status":"affected","introduced":"5.16","fixed":"6.1.175"},{"status":"affected","introduced":"6.2","fixed":"6.6.141"},{"status":"affected","introduced":"6.7","fixed":"6.12.91"},{"status":"affected","introduced":"6.13","fixed":"6.18.33"},{"status":"affected","introduced":"6.19","fixed":"7.0.10"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c7bf7864e2924fa5508ac270b0e9364bc13d5a6c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f47430fc1f815e87406e2d3b4e476eff1bc7fd9b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0b6a3bcb91bc5bfeda39f0df3b71bab62c13e9da","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/534ebc08df97c47d4c7596f336fa31ecbf91519c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80c73bd1b2b04355d1d0c29be8ccbd25a380905d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4d2b37abda9536808655830d683dc491d31741a8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0a1265a9ab875f92b6a3ffb497404f46cf9d76a3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d289478cfc0bcf81c7914200d6abdcb78bd04ded","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T15:23:24.439Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-52954","url":"https://www.cve.org/CVERecord?id=CVE-2026-52954","licence":"CVE Terms of Use","modified":"2026-10-19T19:47:09.795Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-52954","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52954","licence":"Public domain","modified":"2026-10-19T20:18:50.350Z"}],"updatedAt":"2026-11-25T22:59:25.628Z","epss":{"score":0.00523,"percentile":0.45885,"date":"2026-12-01T12:00:22.000Z"}}