CVE-2026-22991

NameCVE-2026-22991
DescriptionIn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4475-1, DLA-4476-1, DSA-6126-1, DSA-6127-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)bullseye5.10.223-1vulnerable
bullseye (security)5.10.249-1fixed
bookworm6.1.159-1vulnerable
bookworm (security)6.1.162-1fixed
trixie6.12.63-1vulnerable
trixie (security)6.12.69-1fixed
forky, sid6.18.9-1fixed
linux-6.1 (PTS)bullseye (security)6.1.162-1~deb11u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcebullseye5.10.249-1DLA-4475-1
linuxsourcebookworm6.1.162-1DSA-6127-1
linuxsourcetrixie6.12.69-1DSA-6126-1
linuxsource(unstable)6.18.8-1
linux-6.1sourcebullseye6.1.162-1~deb11u1DLA-4476-1

Notes

https://git.kernel.org/linus/e3fe30e57649c551757a02e1cad073c47e1e075e (6.19-rc5)

Search for package or bug name: Reporting problems