{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-22991","id":"CVE-2026-22991","title":"libceph: make free_choose_arg_map() resilient to partial allocation","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: make free_choose_arg_map() resilient to partial allocation\n\nfree_choose_arg_map() may dereference a NULL pointer if its caller fails\nafter a partial allocation.\n\nFor example, in decode_choose_args(), if allocation of arg_map->args\nfails, execution jumps to the fail label and free_choose_arg_map() is\ncalled. Since arg_map","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: make free_choose_arg_map() resilient to partial allocation\n\nfree_choose_arg_map() may dereference a NULL pointer if its caller fails\nafter a partial allocation.\n\nFor example, in decode_choose_args(), if allocation of arg_map->args\nfails, execution jumps to the fail label and free_choose_arg_map() is\ncalled. Since arg_map->size is updated to a non-zero value before memory\nallocation, free_choose_arg_map() will iterate over arg_map->args and\ndereference a NULL pointer.\n\nTo prevent this potential NULL pointer dereference and make\nfree_choose_arg_map() more resilient, add checks for pointers before\niterating.","published":"2026-01-23T15:24:12.191Z","updated":"2026-10-28T02:31:08.599693541Z","reserved":"2026-01-13T15:37:45.937Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"9b3730dabcf3764bfe3ff07caf55e641a0b45234","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"851241d3f78a5505224dc21c03d8692f530256b4","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"ec1850f663da64842614c86b20fe734be070c2ba","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"8081faaf089db5280c3be820948469f7c58ef8dd","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"c4c2152a858c0ce4d2bff6ca8c1d5b0ef9f2cbdf","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"f21c3fdb96833aac2f533506899fe38c19cf49d5","status":"affected","versionType":"git"},{"version":"5cf9c4a9959b6273675310d14a834ef14fbca37c","lessThan":"e3fe30e57649c551757a02e1cad073c47e1e075e","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.13","status":"affected"},{"version":"0","lessThan":"4.13","status":"unaffected","versionType":"semver"},{"version":"5.10.248","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.198","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.161","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.121","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.66","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.6","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/9b3730dabcf3764bfe3ff07caf55e641a0b45234","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/851241d3f78a5505224dc21c03d8692f530256b4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ec1850f663da64842614c86b20fe734be070c2ba","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8081faaf089db5280c3be820948469f7c58ef8dd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c4c2152a858c0ce4d2bff6ca8c1d5b0ef9f2cbdf","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f21c3fdb96833aac2f533506899fe38c19cf49d5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e3fe30e57649c551757a02e1cad073c47e1e075e","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22991.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22991","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":"partial"},"epss":0.00467,"epssPercentile":0.41222,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-22991","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22991","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-22991","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-22991","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}