CVE-2026-99821
Last modified
CVE-2026-99821 is a vulnerability of currently unknown severity. 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
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)
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd, < a6b751f04e3383273f3f788136320485636ae48e; >= 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd, < b3c32a18d13eca0a7dedb71992e043a2070ced72; >= 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd, < 9275d246bb6f0796dc7e83f587f3b9bd63f4c31a; >= 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd, < a59568451161ece882e7847591edf9dce7fae287; >= 79f2f6ad878c1f2cb9edc674c6a263ff2ef6d1fd, < 4da259ea8bf4bd6a91a63f33630a26592d2353f8 |
| Linux | Linux | 6.6 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99821?
How severe is CVE-2026-99821?
How do I fix CVE-2026-99821?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99816In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99817In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99818In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99819In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9982Insufficient validation of untrusted input in ANGLE in Googl…8.3
- CVE-2026-99820In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99822In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99823In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99824In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99825In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99826In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99827In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2026-99821?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
