# CVE-2026-99307: ceph: require the dentry lease record to cover struct ceph\_mds\_reply\_lease

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, 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-99307, UBUNTU-CVE-2026-99307, CGA-22hq-c4gx-7r36, CGA-24mc-79h7-g2f8, CGA-25qw-j9p5-hjx8, CGA-5935-ffhp-6j3m, CGA-9r2r-6mhj-5cx2, CGA-crp6-pc47-492f, CGA-fhhh-9mf3-crf6, CGA-w292-c79r-8g66, CGA-x7rg-q6j3-47gm, CGA-w53x-p22p-2rvm, CGA-w7x2-qqhj-rccf, CGA-h9vw-gwcw-h5f4, CGA-g4h9-v5qj-qw26
- Record: https://cvemate.com/vulnerability/CVE-2026-99307 · JSON: https://cvemate.com/vulnerability/CVE-2026-99307/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

ceph: require the dentry lease record to cover struct ceph_mds_reply_lease

parse_reply_info_lease() reads a 32-bit struct_len off the wire and only
checks that many bytes are present, without requiring struct_len to cover
sizeof(struct ceph_mds_reply_lease) (10 bytes).  A malicious MDS can
declare a shorter record and still get the pointer published: the
following *p += sizeof(**lease) overshoot is undone by *p = lend, so
nothing downstream rejects the reply.  ceph_fill_trace() ->
update_dentry_lease() then reads 10 bytes through that pointer on any
lookup on a mounted CephFS, running past the end of the message front.

Require the record to cover the structure, matching the sibling
parse_reply_info_dir().  A conforming MDS always encodes the full 10
bytes.

  BUG: KASAN: slab-out-of-bounds in __update_dentry_lease.constprop.0 (fs/ceph/inode.c:1459)
  Read of size 4 at addr ffff888026c63d65 by task kworker/0:3/2366
  Workqueue: ceph-msgr ceph_con_workfn
  Call Trace:
   __update_dentry_lease.constprop.0 (fs/ceph/inode.c:1459)
   ceph_fill_trace (fs/ceph/inode.c:1474 fs/ceph/inode.c:1823)
   mds_dispatch (fs/ceph/mds_client.c:4229 fs/ceph/mds_client.c:7225)
   ceph_con_process_message (net/ceph/messenger.c:1424)
   ceph_con_v1_try_read (net/ceph/messenger_v1.c:1430)
   ceph_con_workfn (net/ceph/messenger.c:1576)
   process_one_work (kernel/workqueue.c:3396)
   worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560)
   kthread (kernel/kthread.c:436)
   ret_from_fork (arch/x86/kernel/process.c:158)
   ret_from_fork_asm (arch/x86/entry/entry_64.S:245)

  The buggy address is located 357 bytes inside of
   allocated 360-byte region [ffff888026c63c00, ffff888026c63d68)
```

## Signals

- CVSS: 6.3 medium (v4.0, OSV · Ubuntu) CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
- EPSS: 0.198%, percentile 10.061%, 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.4-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/380bc69a0dbc50549cb196da40409aed69c84cfc>
- <https://git.kernel.org/stable/c/5ab17ed54e8b7ca64a8d167a09d6a2c865ed51cc>
- <https://git.kernel.org/stable/c/058e1c38722a6d5b0181f38fdec03d5da95c3ad1>
- <https://git.kernel.org/stable/c/7286b2ffe04d4b39b4e9884f714792589d94f316>
- <https://security-tracker.debian.org/tracker/CVE-2026-99307>
- <https://ubuntu.com/security/CVE-2026-99307>
- <https://www.cve.org/CVERecord?id=CVE-2026-99307>
- <https://git.kernel.org/linus/7286b2ffe04d4b39b4e9884f714792589d94f316>
- <https://git.kernel.org/stable/c/62912da82e00aad7cc4d478debb3d648204ebe47>

---

Data as of 2026-12-05T03:57:13.523Z. 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
