Since 6.6 the CephFS client can mount fscrypt-encrypted directories, and symlink targets in them arrive from the metadata server base64-encoded. The kernel CNA record says decode_encrypted_symlink() “allocates enclen + 1 bytes but writes the NUL terminator at sym[declen + 1] instead of sym[declen]. A malicious MDS can report symlink_len == 0 for an encrypted inode, and base64_decode() returns 0 for a zero-length input, so the store lands one byte past a kmalloc(1) allocation.” Red Hat and SUSE both rate it 7.5 Important: the trigger is a network peer, the outcome a crash of the client. On hosts that mount CephFS with encryption, upgrade to 6.6.163, 6.12.119, 6.18.65, 7.3.6 or later; a client that trusts its MDS and does not use encrypted directories is not reachable by this path.
CVE-2026-99821 at a glance.
| Component | Linux kernel, CephFS client (fs/ceph/inode.c, function decode_encrypted_symlink(), called from ceph_fill_inode() when an inode’s reply carries an encrypted symlink target) |
| Affected versions | from 79f2f6ad878c (“ceph: create symlinks with encrypted and base64-encoded targets”): 6.6 onward: 6.6 before 6.6.163, 6.12 before 6.12.119, 6.18 before 6.18.65, 7.3 before 7.3.6 and 7.4 before 7.4-rc1; kernels before 6.6 have no encrypted-symlink code and are unaffected |
| Fixed in | mainline 7.4-rc1 (commit 4da259ea, Xiang Mei of Arizona State University, reviewed by Alex Markuze, committed by Ilya Dryomov; fs/ceph/inode.c +1/−1: sym[declen + 1] = '\0' becomes sym[declen] = '\0') and stable 6.6.163, 6.12.119, 6.18.65, 7.3.6. Reported by a bugs.sh fuzzing address; the commit carries an Assisted-by: LLM trailer and no Cc: stable |
| Severity | Red Hat Important, CVSS 3.1 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, draft, CWE-787), bug 2586000 “Denial of Service via out-of-bounds write in Ceph encrypted symlink decoding”; SUSE Important 7.5 on the same vector (bug 1292326); the kernel CNA gives no score and NVD (Received, 30 November) carries none |
| Exploited in the wild | Not on the CISA KEV catalogue (2026.11.30). EPSS 0.00285 (23rd percentile) on 1 December 2026 |
| Who is exposed | A CephFS client kernel from 6.6 onward whose metadata server is compromised or hostile, with an encrypted inode in play. Red Hat: “systems not mounting Ceph filesystems, or operating only within trusted clusters, have reduced exposure”; the write is one NUL byte, and the record’s KASAN report shows it landing just past a 1-byte object in the kmalloc-8 cache |
| Published | CVE record 30 November 2026 (kernel CNA); this page built 2 December 2026, last updated 2 December 2026 |
What it is
When a CephFS directory is fscrypt-encrypted, the symlinks inside it store their targets encrypted and base64-encoded, and the MDS returns that encoded string in the inode reply. decode_encrypted_symlink() allocates a buffer of the encoded length plus one, decodes into it and NUL-terminates the result so the rest of the VFS can treat it as a string. The decoded length is always at most the encoded length, so the buffer is big enough for the data and a terminator at sym[declen].
The code wrote the terminator at sym[declen + 1]. For any real target that is still inside the allocation because base64 shrinks the data by a quarter; for an empty one it is not. The record spells out the trigger: a malicious MDS reports symlink_len == 0 for an encrypted inode, base64_decode() returns 0, the allocation is kmalloc(1), and the NUL is stored at offset 1, one byte past the end. The KASAN trace in the record shows the write in ceph_fill_inode() (fs/ceph/inode.c:996) from the ceph-msgr workqueue, into the kmalloc-8 cache: “The buggy address is located 0 bytes to the right of allocated 1-byte region”. Red Hat’s reading is memory corruption and a kernel panic on the client, hence Important and an availability-only vector from the network.
The fix is a one-character change, sym[declen], by Xiang Mei of Arizona State University, reviewed by Alex Markuze and merged by Ilya Dryomov for 7.4-rc1 with four stable backports down to 6.6, the release that introduced the function. The commit was reported by an automated fuzzing address at bugs.sh and carries an “Assisted-by: LLM” trailer. Debian notes bookworm’s 6.1 kernel does not have the vulnerable code; RHEL 8 and earlier are likewise not affected, and RHEL 9 and 10 are.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 2 December 2026; the link in the row is the tracker page, which will be newer than this one. The CephFS client is a module in every distribution kernel; it loads only when something mounts a ceph filesystem.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted for this page: the Alpine tracker refused the automated reader on 2 December 2026 | — |
| Debian | bookworm (6.1) not affected (“Vulnerable code not present”); trixie (6.12.117-1, security 6.12.118-1) vulnerable; fixed in forky and sid (7.3.6-1); no DSA | unstable 7.3.6-1 |
| Ubuntu | Not consulted for this page: ubuntu.com returned a server error to the automated reader on 2 December 2026 (two attempts); the Ubuntu priority is not stated here | — |
| RHEL, Rocky, Alma, CentOS Stream | Important, 7.5 (bug 2586000, CWE-787); kernel affected in RHEL 9 and RHEL 10 and the OpenShift RHCOS 9 and 10 images; RHEL 8 and earlier, and kernel-rt in RHEL 9, not affected; no errata on 2 December 2026 | — |
| openSUSE/SLE | Pending, Important 7.5 (bug 1292326): SLES 16.0/16.1, SLES for SAP and HA 16.x, SUSE Linux Micro 6.2 and openSUSE Leap 16.0/16.1 affected; SLE 15 SP7, SLE Micro 5.x/6.0/6.1 and the LTSS releases not affected | — |
| Fedora, Arch; self-built kernels | Not consulted; upstream stable versions apply | 6.6.163 / 6.12.119 / 6.18.65 / 7.3.6 or later |
How to check
Three questions: is a CephFS filesystem mounted with the kernel client, is encryption in use on it, and is the kernel one of the affected versions. A FUSE mount (ceph-fuse) does not use this code.
# 1. kernel CephFS mounts (the kernel client, not ceph-fuse)
findmnt -t ceph
lsmod | grep -E '^ceph '
# 2. the running kernel: affected from 6.6; fixed in 6.6.163, 6.12.119, 6.18.65, 7.3.6 or later
uname -r
# 3. is fscrypt in use on the mount (encrypted directories carry a policy; the client needs CONFIG_FS_ENCRYPTION)
grep CONFIG_FS_ENCRYPTION /boot/config-$(uname -r) 2>/dev/null
for m in $(findmnt -t ceph -n -o TARGET); do echo "$m"; find "$m" -maxdepth 2 -type d -exec fscrypt status {} \; 2>/dev/null | grep -B1 -i 'is encrypted' | head; doneNo ceph mount and no ceph module means the client is not in use and the page does not apply. A mount on a 6.6 or later kernel below the fixed version is affected in principle; in practice the attacker is the MDS, so the question becomes whether that cluster is one you run or one you merely consume. The record requires an encrypted inode, so a mount with no fscrypt directories cannot be driven down this path, though a hostile MDS can of course claim an inode is encrypted; do not lean on step 3 as a guarantee.
How to fix it
Update the kernel and reboot. There is no mitigation on the client beyond trusting the cluster: the MDS is the authority on inode metadata and the client has no second source to check it against.
# Debian forky / sid (7.3.6-1 carries the fix); trixie: watch the tracker row above
apt update && apt install linux-image-amd64 && systemctl reboot# RHEL 9 / 10, Rocky, Alma: no errata yet on 2 December 2026; when the advisory lands
dnf update kernel && systemctl reboot# SUSE / openSUSE 16.x: Pending; once the SUSE-SU lands
zypper patch --category security && systemctl reboot# Ubuntu: tracker unreachable from here today; once the linux package is released
apt update && apt install linux-generic && systemctl rebootIf a reboot has to wait, the practical interim is on the server side: make sure the MDS daemons are the ones you deployed and the cephx keys that let a host impersonate one are not lying about on clients. What not to do: do not switch production mounts to ceph-fuse to dodge this. It avoids the kernel code path but trades a one-byte overflow for a different client with its own history and a large performance cost; the kernel update is a smaller change.
Sources
- CVE-2026-99821 at CVE.org — the kernel CNA record: the “allocates enclen + 1 bytes” paragraph, the “malicious MDS can report symlink_len == 0” sentence, the KASAN report and the 6.6 lower bound (30 November 2026)
- Fix commit 4da259ea (Xiang Mei, reviewed by Alex Markuze, committed by Ilya Dryomov; mainline 7.4-rc1 per Debian;
fs/ceph/inode.c+1/−1; Fixes: 79f2f6ad878c; Reported-by: bugs.sh), read on 2 December 2026; the patch view and the stable backport pages were rate-limited, so the commit date is not stated - NVD entry — Received on 30 November 2026; no CVSS metric and no CWE on 2 December 2026
- Distribution trackers: Debian (bookworm not affected, trixie vulnerable, forky and sid fixed in 7.3.6-1) · Ubuntu (server error to the automated reader on 2 December 2026) · Red Hat (Important 7.5, bug 2586000, CWE-787, RHEL 9 and 10 affected) · SUSE (Pending, Important 7.5, bug 1292326, SLE 16.x affected) · Alpine (refused the automated reader on 2 December 2026)
- CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00285 (percentile 0.226) on 1 December 2026
Related reading
- CVE-2026-99889: Linux kernel CephFS xattr name length — the same client trusting another MDS-supplied length, from the same batch
- CVE-2026-99896: Linux kernel CephFS readdir count overflow — the readdir reply decoder, same day
- CVE-2026-99902: Linux kernel libceph redirect decode — the messenger layer beneath this one
- CVE-2026-139195: Linux kernel libceph msgr1 connect_seq — a hostile peer crashing the client through the v1 messenger
- CVE-2026-99590: Linux kernel CephFS inline data — the November CephFS entry
- The Kernel — what a slab cache is and why a single byte past a
kmallocobject is treated as a crash, not a quirk
This advisory page was assembled from the primary sources listed above on 2 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

