Skip to content
statance
MenuClose
unknown

CVE-2026-99821

ceph: fix off-by-one NUL termination in decode_encrypted_symlink()

Published 30 Nov 2026 · Source updated 30 Nov 2026 · Retrieved 2026-12-03 23:17 UTC

Monitor this CVE ↗Full CVE monitoring on Pro and Business

What happened?

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

ceph: fix off-by-one NUL termination in decode_encrypted_symlink()

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.

Terminate at sym[declen], which is always within the allocation.

BUG: KASAN: slab-out-of-bounds in ceph_fill_inode (fs/ceph/inode.c:996) Write of size 1 at addr ffff888020aad361 by task kworker/0:0/9 Workqueue: ceph-msgr ceph_con_workfn Call Trace: kasan_report (mm/kasan/report.c:595) ceph_fill_inode (fs/ceph/inode.c:996 fs/ceph/inode.c:1277) ceph_fill_trace (fs/ceph/inode.c:1716) 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) ... The buggy address belongs to the object at ffff888020aad360 which belongs to the cache kmalloc-8 of size 8 The buggy address is located 0 bytes to the right of allocated 1-byte region [ffff888020aad360, ffff888020aad361)

Description supplied by CVE Program. Formatting is simplified; follow the original advisory for full details.

Affected software and versions

Source-provided software and version information
SoftwareVersion informationFixed version
LinuxLinuxaffected: 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd to < a6b751f04e3383273f3f788136320485636ae48e; affected: 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd to < b3c32a18d13eca0a7dedb71992e043a2070ced72; affected: 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd to < 9275d246bb6f0796dc7e83f587f3b9bd63f4c31a; affected: 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd to < a59568451161ece882e7847591edf9dce7fae287; affected: 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd to < 4da259ea8bf4bd6a91a63f33630a26592d2353f8See vendor advisory
LinuxLinuxaffected: 6.6; unaffected: 0 to < 6.6; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.119 to ≤ 6.12.*; unaffected: 6.18.65 to ≤ 6.18.*; unaffected: 7.3.6 to ≤ 7.3.*; unaffected: 7.4-rc1 to ≤ *See vendor advisory

Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.

Is it being exploited?

This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.

CISA data retrieved 2026-12-05 02:05 UTC. Check CISA ↗

How to respond

  1. Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
  2. Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
  3. Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.

Sources and remediation references

This public advisory does not determine whether a particular server is affected. Records are refreshed as sources change; verify urgent decisions against the original advisory.

← Browse the public CVE feed