{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-22991",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-01-13T15:37:45.937Z",
        "datePublished": "2026-01-23T15:24:12.191Z",
        "dateUpdated": "2026-08-05T12:19:59.064Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T12:19:59.064Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - The vulnerable decoder is reached through Ceph `CEPH_MSG_OSD_MAP` messages received over the network from monitor or OSD peers. A remote peer that can supply a crafted OSD/CRUSH map can drive execution into `decode_choose_args()` and `free_choose_arg_map()`.\nAC:L - There is no race or timing requirement; the attacker controls the encoded CRUSH choose-arg sizes and can force allocation failure with oversized fields. Cleanup then deterministically dereferences a NULL `args` or `weight_set` pointer in the vulnerable code.\nPR:N - The attacker needs no local privileges on the vulnerable kernel host, and Ceph deployments can use auth-none/no-key configurations or process maps from a malicious configured peer. When uncertain between authentication-dependent and unauthenticated deployments, the higher severity PR:N is selected.\nUI:N - Once a CephFS/RBD/libceph client is connected, OSD maps are processed asynchronously by the kernel networking/messenger path. No additional victim action is needed for a remote peer to deliver the crafted map.\nS:U - The impact is within the vulnerable kernel client host and does not cross a separate security authority such as a hypervisor, VM boundary, or IOMMU boundary. This is a standard kernel availability impact with unchanged scope.\nC:N - The fixed flaw is a NULL pointer dereference during error cleanup after partial allocation failure. It does not provide an attacker-controlled memory read primitive.\nI:N - The direct vulnerable operation is dereferencing NULL in cleanup, not an out-of-bounds write, UAF, or controlled write. No integrity-modifying primitive is exposed by this fix.\nA:H - A NULL pointer dereference in kernel context can oops or panic the system, and the crafted map can be sent repeatedly by the remote peer. This is a high availability impact."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/ceph/osdmap.c"
                    ],
                    "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"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/ceph/osdmap.c"
                    ],
                    "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"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "5.10.248"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "5.15.198"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.1.161"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.6.121"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.12.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.18.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.19"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/9b3730dabcf3764bfe3ff07caf55e641a0b45234"
                },
                {
                    "url": "https://git.kernel.org/stable/c/851241d3f78a5505224dc21c03d8692f530256b4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ec1850f663da64842614c86b20fe734be070c2ba"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8081faaf089db5280c3be820948469f7c58ef8dd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c4c2152a858c0ce4d2bff6ca8c1d5b0ef9f2cbdf"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f21c3fdb96833aac2f533506899fe38c19cf49d5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e3fe30e57649c551757a02e1cad073c47e1e075e"
                }
            ],
            "title": "libceph: make free_choose_arg_map() resilient to partial allocation",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-06-16T20:35:31.087945Z",
                                "id": "CVE-2026-22991",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-06-16T20:35:39.173Z"
                }
            }
        ]
    }
}