CVE-2026-22991

libceph: make free_choose_arg_map() resilient to partial allocation

7.5 high EPSS 0.47%

Published 23 Jan 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-22991

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-22991 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.5 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.47%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 42.1% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Jun 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 5cf9c4a9959b6273675310d14a834ef14fbca37c, before 9b3730dabcf3764bfe3ff07caf55e641a0b45234
affected from 5cf9c4a9959b6273675310d14a834ef14fbca37c, before 851241d3f78a5505224dc21c03d8692f530256b4
affected from 5cf9c4a9959b6273675310d14a834ef14fbca37c, before ec1850f663da64842614c86b20fe734be070c2ba
affected from 5cf9c4a9959b6273675310d14a834ef14fbca37c, before 8081faaf089db5280c3be820948469f7c58ef8dd
affected from 5cf9c4a9959b6273675310d14a834ef14fbca37c, before c4c2152a858c0ce4d2bff6ca8c1d5b0ef9f2cbdf
affected from 5cf9c4a9959b6273675310d14a834ef14fbca37c, before f21c3fdb96833aac2f533506899fe38c19cf49d5
affected from 5cf9c4a9959b6273675310d14a834ef14fbca37c, before e3fe30e57649c551757a02e1cad073c47e1e075e
Other versions: unaffected
Linux
affected 4.13
unaffected before 4.13
unaffected from 5.10.248 up to and including 5.10.*
unaffected from 5.15.198 up to and including 5.15.*
unaffected from 6.1.161 up to and including 6.1.*
unaffected from 6.6.121 up to and including 6.6.*
unaffected from 6.12.66 up to and including 6.12.*
unaffected from 6.18.6 up to and including 6.18.*
unaffected 6.19 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-22991 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-22991

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-22991
trivy image --scanners vuln IMAGE | grep CVE-2026-22991

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-22991 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.