All reports
Medium

kernel: libceph: make free_choose_arg_map() resilient to partial allocation

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-22991

Probability of exploitation in the next 30 days: 0.47%

FIRST EPSS · 2026-11-20

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.

A flaw was found in the Linux kernel's libceph module. When decoding storage map arguments from a Ceph cluster, a memory allocation failure can cause an error cleanup routine to access an uninitialized pointer. A network-based attacker or compromised server capable of inducing this failure condition can cause a NULL pointer dereference, crashing the system and resulting in a Denial of Service (DoS).