CVE-2026-99296 (GCVE-0-2026-99296)

Vulnerability from cvelistv5 – Published: 2026-11-16 09:59 – Updated: 2026-11-19 13:52
VLAI
Title
libceph: bound mon_command ack decode to front len
Summary
In the Linux kernel, the following vulnerability has been resolved: libceph: bound mon_command ack decode to front len handle_command_ack() bounds the decode with msg->front_alloc_len, the size of the reply buffer, instead of msg->front.iov_len, the number of bytes the monitor sent. mon_alloc_msg() routes every CEPH_MSG_MON_COMMAND_ACK to get_generic_reply(), which returns the preallocated ->reply of whichever generic request carries the same tid, so the buffer keeps its fixed size however short the reply is. An ack with hdr.front_len below sizeof(struct ceph_mon_request_header) + sizeof(u32), including 0, still passes ceph_decode_need(), and ceph_decode_32() returns four bytes that were never received: uninitialized slab memory, stale bytes of an earlier message, or bytes the peer planted by sending a reply that lands in the same buffer and is then rejected. The read stays within the allocation, so KASAN does not flag it. req->result reaches userspace through ceph_monc_do_statfs(), ceph_monc_get_version() and ceph_monc_blocklist_add(); rbd hands it back from write() on /sys/bus/rbd/add_single_major, and rbd_get_client() passes it to ERR_PTR() unchecked, which faults: rbd: failed to get latest osdmap: -186318427 BUG: unable to handle page fault for address: fffffbfffe9ca034 Oops: Oops: 0000 [#1] SMP KASAN NOPTI RIP: 0010:do_rbd_add (drivers/block/rbd.c:7105) Call Trace: ... kernfs_fop_write_iter (fs/kernfs/file.c:345) vfs_write (fs/read_write.c:595 fs/read_write.c:687) ksys_write (fs/read_write.c:739) do_syscall_64 (arch/x86/entry/syscall_64.c:61 arch/x86/entry/syscall_64.c:84) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) Kernel panic - not syncing: Fatal exception Use msg->front.iov_len, matching handle_subscribe_ack(), handle_statfs_reply(), handle_get_version_reply() and handle_auth_reply(). A well-formed ack has front.iov_len >= 22 and is unaffected; a short one takes the existing bad: path. This applies commit d3c32939fa0e ("libceph: bound get_version reply decode to front len") to the last decode-side use of front_alloc_len in this file.
Assigner
Linux CNA
Impacted products
Vendor Product Version
Linux Linux Affected: 6305a3b415157759bfe4b50a643fac22ea229f5c , < c6696ac94c8c3ad79a9fa57fc334af2dc1a1f72e (git)
Affected: 6305a3b415157759bfe4b50a643fac22ea229f5c , < 04a04953b4828bfd8efd4ea3e7e9ad7dac5b083b (git)
Affected: 6305a3b415157759bfe4b50a643fac22ea229f5c , < be9fa57665efae4060d17ab21675c1c033d54a80 (git)
Affected: 6305a3b415157759bfe4b50a643fac22ea229f5c , < 62b41a16d8603d4d809fda212f15c3e9c783a82b (git)
Create a notification for this product.
Linux Linux Affected: 4.9
Unaffected: 0 , < 4.9 (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.61 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/ceph/mon_client.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c6696ac94c8c3ad79a9fa57fc334af2dc1a1f72e",
              "status": "affected",
              "version": "6305a3b415157759bfe4b50a643fac22ea229f5c",
              "versionType": "git"
            },
            {
              "lessThan": "04a04953b4828bfd8efd4ea3e7e9ad7dac5b083b",
              "status": "affected",
              "version": "6305a3b415157759bfe4b50a643fac22ea229f5c",
              "versionType": "git"
            },
            {
              "lessThan": "be9fa57665efae4060d17ab21675c1c033d54a80",
              "status": "affected",
              "version": "6305a3b415157759bfe4b50a643fac22ea229f5c",
              "versionType": "git"
            },
            {
              "lessThan": "62b41a16d8603d4d809fda212f15c3e9c783a82b",
              "status": "affected",
              "version": "6305a3b415157759bfe4b50a643fac22ea229f5c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ceph/mon_client.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.9"
            },
            {
              "lessThan": "4.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.61",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: bound mon_command ack decode to front len\n\nhandle_command_ack() bounds the decode with msg-\u003efront_alloc_len, the size\nof the reply buffer, instead of msg-\u003efront.iov_len, the number of bytes the\nmonitor sent.  mon_alloc_msg() routes every CEPH_MSG_MON_COMMAND_ACK to\nget_generic_reply(), which returns the preallocated -\u003ereply of whichever\ngeneric request carries the same tid, so the buffer keeps its fixed size\nhowever short the reply is.  An ack with hdr.front_len below sizeof(struct\nceph_mon_request_header) + sizeof(u32), including 0, still passes\nceph_decode_need(), and ceph_decode_32() returns four bytes that were never\nreceived: uninitialized slab memory, stale bytes of an earlier message, or\nbytes the peer planted by sending a reply that lands in the same buffer and\nis then rejected.  The read stays within the allocation, so KASAN does not\nflag it.\n\nreq-\u003eresult reaches userspace through ceph_monc_do_statfs(),\nceph_monc_get_version() and ceph_monc_blocklist_add(); rbd hands it back\nfrom write() on /sys/bus/rbd/add_single_major, and rbd_get_client() passes\nit to ERR_PTR() unchecked, which faults:\n\n  rbd: failed to get latest osdmap: -186318427\n  BUG: unable to handle page fault for address: fffffbfffe9ca034\n  Oops: Oops: 0000 [#1] SMP KASAN NOPTI\n  RIP: 0010:do_rbd_add (drivers/block/rbd.c:7105)\n  Call Trace:\n   ...\n   kernfs_fop_write_iter (fs/kernfs/file.c:345)\n   vfs_write (fs/read_write.c:595 fs/read_write.c:687)\n   ksys_write (fs/read_write.c:739)\n   do_syscall_64 (arch/x86/entry/syscall_64.c:61 arch/x86/entry/syscall_64.c:84)\n   entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)\n  Kernel panic - not syncing: Fatal exception\n\nUse msg-\u003efront.iov_len, matching handle_subscribe_ack(),\nhandle_statfs_reply(), handle_get_version_reply() and handle_auth_reply().\nA well-formed ack has front.iov_len \u003e= 22 and is unaffected; a short one\ntakes the existing bad: path.  This applies commit d3c32939fa0e (\"libceph:\nbound get_version reply decode to front len\") to the last decode-side\nuse of front_alloc_len in this file."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - handle_command_ack() decodes a CEPH_MSG_MON_COMMAND_ACK that mon_dispatch() received on the monitor connection; the peer sets hdr.front_len (0 is enough) and that frame arrives over routable Ceph messenger TCP (port 6789 for msgr1, 3300 for msgr2).\nAC:L - While ceph_monc_get_version() is in flight, the monitor writes a chosen u32 at offset 18 of the preallocated reply (a CRC-failed frame leaves those bytes in place) and then sends COMMAND_ACK with the same tid and front_len below 22; ceph_decode_32() returns that value.\nPR:N - mon_dispatch() takes the ack from the monitor the client already dialed; mon_con_ops has no check_message_signature callback, and the path never checks a uid, capability, or other credential on the victim host.\nUI:R - The panic is reached only when do_rbd_add() reuses an existing rbd client and calls ceph_wait_for_latest_osdmap(); that requires an administrator write to /sys/bus/rbd/add_single_major (or add), which the monitor cannot issue.\nS:U - rbd_get_client() and do_rbd_add() fault inside the host kernel address space; the bogus errno does not cross a guest/host or IOMMU boundary.\nC:L - If front_len is below sizeof(struct ceph_mon_request_header)+4, ceph_decode_32() still returns four bytes from the reply allocation that this frame did not carry (fresh slab or a prior rejected reply), and rbd_warn() logs that int; the read is fixed at four bytes.\nI:N - handle_command_ack() only stores those four bytes in ceph_mon_generic_request.result and callers treat that integer as an errno; the do_rbd_add() failure is a read fault on the resulting ERR_PTR.\nA:H - rbd_get_client() passes any non-zero ceph_wait_for_latest_osdmap() result to ERR_PTR(), and do_rbd_add() accepts only [-4095,-1] via IS_ERR(), so a planted result such as 1 is dereferenced as struct rbd_client and panics in do_rbd_add()."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-19T13:52:19.704Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c6696ac94c8c3ad79a9fa57fc334af2dc1a1f72e"
        },
        {
          "url": "https://git.kernel.org/stable/c/04a04953b4828bfd8efd4ea3e7e9ad7dac5b083b"
        },
        {
          "url": "https://git.kernel.org/stable/c/be9fa57665efae4060d17ab21675c1c033d54a80"
        },
        {
          "url": "https://git.kernel.org/stable/c/62b41a16d8603d4d809fda212f15c3e9c783a82b"
        }
      ],
      "title": "libceph: bound mon_command ack decode to front len",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99296",
    "datePublished": "2026-11-16T09:59:23.638Z",
    "dateReserved": "2026-09-25T10:25:14.406Z",
    "dateUpdated": "2026-11-19T13:52:19.704Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99296",
      "date": "2026-11-19",
      "epss": "0.00209",
      "percentile": "0.11229"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-19T01:04:42.000Z",
      "cve": "CVE-2026-99296",
      "id": "msrc_CVE-2026-99296",
      "initial_release_date": "2026-11-16T23:27:06.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "libceph: bound mon_command ack decode to front len",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99296.json",
      "version": "3"
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-19T16:52:56+00:00",
      "cve": "CVE-2026-99296",
      "id": "CVE-2026-99296",
      "initial_release_date": "2026-11-16T09:59:23.638000+00:00",
      "product_status:known_affected": "190",
      "product_status:known_not_affected": "14",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via truncated monitor replies in libceph",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99296.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.