# CVE-2026-99296: libceph: bound mon\_command ack decode to front len

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-16 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99296, UBUNTU-CVE-2026-99296, CGA-2344-w987-4pq6, CGA-5m6h-mpgc-4rfq, CGA-rvw3-wf4r-8qv3, CGA-3x6p-9fh3-hh84, CGA-9qwr-7mh4-frqf, CGA-g54c-mqfm-4mrg, CGA-vm9r-qv3x-whjv, CGA-w5x4-vxh2-m5ch, CGA-wg3j-9hf6-mwmf, CGA-wjhm-vhvw-g9rm, CGA-x6fm-p58c-v6r7, CGA-xhfv-5r64-g6cw
- Record: https://cvemate.com/vulnerability/CVE-2026-99296 · JSON: https://cvemate.com/vulnerability/CVE-2026-99296/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- EPSS: 0.349%, percentile 30.459%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 181)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.117-1 \| \< 7.3.3-1
- debian linux-6.12 (Debian): \< 6.12.117-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/c6696ac94c8c3ad79a9fa57fc334af2dc1a1f72e>
- <https://git.kernel.org/stable/c/04a04953b4828bfd8efd4ea3e7e9ad7dac5b083b>
- <https://git.kernel.org/stable/c/be9fa57665efae4060d17ab21675c1c033d54a80>
- <https://git.kernel.org/stable/c/62b41a16d8603d4d809fda212f15c3e9c783a82b>
- <https://security-tracker.debian.org/tracker/CVE-2026-99296>
- <https://ubuntu.com/security/CVE-2026-99296>
- <https://www.cve.org/CVERecord?id=CVE-2026-99296>
- <https://git.kernel.org/linus/62b41a16d8603d4d809fda212f15c3e9c783a82b>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99296.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-99296>
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git>
- <https://git.kernel.org/stable/c/80d86b0d68e9879685da2cf03f176659e2b4b889>
- <https://git.kernel.org/stable/c/f27c07251a5c0eb3da39456ec62de31307407bd8>
- <https://git.kernel.org/stable/c/cbaac517ababcc116988e6ee1f3ad170b4b0b8c2>
- <https://git.kernel.org/stable/c/b4debc9609e9e16444942099efd31ce230fc6154>

---

Data as of 2026-12-05T03:57:08.374Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
