{
  "id": "CVE-2026-22991",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-22991",
  "published_at": "2026-01-23T15:24:12.191Z",
  "title": "libceph: make free_choose_arg_map() resilient to partial allocation",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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-\u003eargs\nfails, execution jumps to the fail label and free_choose_arg_map() is\ncalled. Since arg_map-\u003esize is updated to a non-zero value before memory\nallocation, free_choose_arg_map() will iterate over arg_map-\u003eargs 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.",
  "cwe": "CWE-476",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \u003c 9b3730dabcf3764bfe3ff07caf55e641a0b45234",
          "\u003e= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \u003c 851241d3f78a5505224dc21c03d8692f530256b4",
          "\u003e= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \u003c ec1850f663da64842614c86b20fe734be070c2ba",
          "\u003e= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \u003c 8081faaf089db5280c3be820948469f7c58ef8dd",
          "\u003e= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \u003c c4c2152a858c0ce4d2bff6ca8c1d5b0ef9f2cbdf",
          "\u003e= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \u003c f21c3fdb96833aac2f533506899fe38c19cf49d5",
          "\u003e= 5cf9c4a9959b6273675310d14a834ef14fbca37c, \u003c e3fe30e57649c551757a02e1cad073c47e1e075e"
        ],
        "fixed_in": [
          "9b3730dabcf3764bfe3ff07caf55e641a0b45234",
          "851241d3f78a5505224dc21c03d8692f530256b4",
          "ec1850f663da64842614c86b20fe734be070c2ba",
          "8081faaf089db5280c3be820948469f7c58ef8dd",
          "c4c2152a858c0ce4d2bff6ca8c1d5b0ef9f2cbdf",
          "f21c3fdb96833aac2f533506899fe38c19cf49d5",
          "e3fe30e57649c551757a02e1cad073c47e1e075e"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.13"
        ],
        "fixed_in": [
          "0",
          "5.10.248",
          "5.15.198",
          "6.1.161",
          "6.6.121",
          "6.12.66",
          "6.18.6",
          "6.19"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 9b3730dabcf3764bfe3ff07caf55e641a0b45234 or 851241d3f78a5505224dc21c03d8692f530256b4 or ec1850f663da64842614c86b20fe734be070c2ba or 8081faaf089db5280c3be820948469f7c58ef8dd or c4c2152a858c0ce4d2bff6ca8c1d5b0ef9f2cbdf or f21c3fdb96833aac2f533506899fe38c19cf49d5 or e3fe30e57649c551757a02e1cad073c47e1e075e or later.",
      "Upgrade Linux to 0 or 5.10.248 or 5.15.198 or 6.1.161 or 6.6.121 or 6.12.66 or 6.18.6 or 6.19 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
