CVE-2026-22991
libceph: make free_choose_arg_map() resilient to partial allocation
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < 9b3730dabcf3764bfe3ff07caf55e641a0b45234; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < 851241d3f78a5505224dc21c03d8692f530256b4; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < ec1850f663da64842614c86b20fe734be070c2ba; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < 8081faaf089db5280c3be820948469f7c58ef8dd; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < c4c2152a858c0ce4d2bff6ca8c1d5b0ef9f2cbdf; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < f21c3fdb96833aac2f533506899fe38c19cf49d5; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < e3fe30e57649c551757a02e1cad073c47e1e075e
- Anyone running Linux 4.13
Vulnerability facts
- Affected
- Linux >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < 9b3730dabcf3764bfe3ff07caf55e641a0b45234; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < 851241d3f78a5505224dc21c03d8692f530256b4; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < ec1850f663da64842614c86b20fe734be070c2ba; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < 8081faaf089db5280c3be820948469f7c58ef8dd; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < c4c2152a858c0ce4d2bff6ca8c1d5b0ef9f2cbdf; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < f21c3fdb96833aac2f533506899fe38c19cf49d5; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < e3fe30e57649c551757a02e1cad073c47e1e075e; Linux 4.13
- Fixed in
- Linux 9b3730dabcf3764bfe3ff07caf55e641a0b45234, Linux 851241d3f78a5505224dc21c03d8692f530256b4, Linux 8081faaf089db5280c3be820948469f7c58ef8dd
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.63% chance of exploitation in 30 days (percentile 45, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: libceph: make free_choose_arg_map() resilient to partial allocation free_choose_arg_map() may dereference a NULL pointer if its caller fails after a partial allocation. For example, in decode_choose_args(), if allocation of arg_map->args fails, execution jumps to the fail label and free_choose_arg_map() is called. Since arg_map->size is updated to a non-zero value before memory allocation, free_choose_arg_map() will iterate over arg_map->args and dereference a NULL pointer. To prevent this potential NULL pointer dereference and make free_choose_arg_map() more resilient, add checks for pointers before iterating.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < 9b3730dabcf3764bfe3ff07caf55e641a0b45234; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < 851241d3f78a5505224dc21c03d8692f530256b4; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < ec1850f663da64842614c86b20fe734be070c2ba; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < 8081faaf089db5280c3be820948469f7c58ef8dd; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < c4c2152a858c0ce4d2bff6ca8c1d5b0ef9f2cbdf; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < f21c3fdb96833aac2f533506899fe38c19cf49d5; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < e3fe30e57649c551757a02e1cad073c47e1e075e | — | cvelist |
| Linux | 4.13 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-22991. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-22991.md Affected: Linux >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < 9b3730dabcf3764bfe3ff07caf55e641a0b45234; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < 851241d3f78a5505224dc21c03d8692f530256b4; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < ec1850f663da64842614c86b20fe734be070c2ba; >= 5cf9c4a9959b6273675310d… Fixed in: Linux 9b3730dabcf3764bfe3ff07caf55e641a0b45234, Linux 851241d3f78a5505224dc21c03d8692f530256b4, Linux 8081faaf089db5280c3be820948469f7c58ef8dd Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/9b3730dabcf3764bfe3ff07caf55e641a0b45234
- https://git.kernel.org/stable/c/851241d3f78a5505224dc21c03d8692f530256b4
- https://git.kernel.org/stable/c/ec1850f663da64842614c86b20fe734be070c2ba
- https://git.kernel.org/stable/c/8081faaf089db5280c3be820948469f7c58ef8dd
- https://git.kernel.org/stable/c/c4c2152a858c0ce4d2bff6ca8c1d5b0ef9f2cbdf
- https://git.kernel.org/stable/c/f21c3fdb96833aac2f533506899fe38c19cf49d5
- https://git.kernel.org/stable/c/e3fe30e57649c551757a02e1cad073c47e1e075e
FAQ
Is CVE-2026-22991 being exploited?
There is no confirmed exploitation: CVE-2026-22991 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.63% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-22991?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-22991?
Linux >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < 9b3730dabcf3764bfe3ff07caf55e641a0b45234; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < 851241d3f78a5505224dc21c03d8692f530256b4; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < ec1850f663da64842614c86b20fe734be070c2ba; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < 8081faaf089db5280c3be820948469f7c58ef8dd; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < c4c2152a858c0ce4d2bff6ca8c1d5b0ef9f2cbdf; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < f21c3fdb96833aac2f533506899fe38c19cf49d5; >= 5cf9c4a9959b6273675310d14a834ef14fbca37c, < e3fe30e57649c551757a02e1cad073c47e1e075e; Linux 4.13.
Is there a fix for CVE-2026-22991?
Yes. Fixed in Linux 9b3730dabcf3764bfe3ff07caf55e641a0b45234, Linux 851241d3f78a5505224dc21c03d8692f530256b4, Linux 8081faaf089db5280c3be820948469f7c58ef8dd. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-22991?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.