Skip to content
High 7.5

Linux kernelのcephファイルシステムに脆弱性、悪意あるMDSで範囲外書き込みのおそれ

CVE-2026-99821 First seen on SecPulse

Summary

Linux kernelのcephファイルシステムで、暗号化されたシンボリックリンクの復号処理に範囲外書き込みの脆弱性が見つかりました。悪意あるMDSが細工した情報を送ると、確保された領域の外に1バイト書き込まれるおそれがあります。6.6.163、6.12.119、6.18.65、7.3.6の修正版で修正されているため、該当する版を使っている場合は修正版への更新を検討してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux kernelのcephファイルシステムで、暗号化されたシンボリックリンクの復号処理に範囲外書き込みの脆弱性が見つかりました。悪意あるMDSが細工した情報を送ると、確保された領域の外に1バイト書き込まれるおそれがあります。6.6.163、6.12.119、6.18.65、7.3.6の修正版で修正されているため、該当する版を使っている場合は修正版への更新を検討してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.6.0, < 6.6.163→ 6.6.163
≥ 6.7.0, < 6.12.119→ 6.12.119
≥ 6.13.0, < 6.18.65→ 6.18.65
≥ 6.19.0, < 7.3.6→ 7.3.6

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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)

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details