CVE-2026-99821
publishedceph: fix off-by-one NUL termination in decode_encrypted_symlink()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd to < a6b751f04e3383273f3f788136320485636ae48e · 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd to < b3c32a18d13eca0a7dedb71992e043a2070ced72 · 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd to < 9275d246bb6f0796dc7e83f587f3b9bd63f4c31a · 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd to < a59568451161ece882e7847591edf9dce7fae287 · 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd to < 4da259ea8bf4bd6a91a63f33630a26592d2353f8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
Description
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)
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd to < a6b751f04e3383273f3f788136320485636ae48e (affected · git)79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd to < b3c32a18d13eca0a7dedb71992e043a2070ced72 (affected · git)79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd to < 9275d246bb6f0796dc7e83f587f3b9bd63f4c31a (affected · git)79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd to < a59568451161ece882e7847591edf9dce7fae287 (affected · git)79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd to < 4da259ea8bf4bd6a91a63f33630a26592d2353f8 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/4da259ea8bf4bd6a91a63f33630a26592d2353f8
- https://git.kernel.org/stable/c/9275d246bb6f0796dc7e83f587f3b9bd63f4c31a
- https://git.kernel.org/stable/c/a59568451161ece882e7847591edf9dce7fae287
- https://git.kernel.org/stable/c/a6b751f04e3383273f3f788136320485636ae48e
- https://git.kernel.org/stable/c/b3c32a18d13eca0a7dedb71992e043a2070ced72
Provider assertions
1Linux · cna
ceph: fix off-by-one NUL termination in decode_encrypted_symlink()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ef36ba0b7accf0fce59c133425707ef5d8ab236d3f34966fa62741c3f1fc0327
- Ingested
- 30 Nov 2026, 07:56:58 UTC
- Source record
- Official CVE record