CVE
РУСҚАЗ
CVE-2026-99904Жоғары7.5Машиналық аударма

Linux ядросында Ceph файлдық жүйесінің клиентінде суреттер атауларында буфердің толып кетуі

Linux kernel

Қысқаша

Linux ядросының Ceph файлдық жүйесінің клиентінде ceph_fname_to_usr() функциясында суреттің атауын өңдеу кезінде буфердің толып кетуі осалдығы бар. Каталог жазбаларын оқу кезінде қайта құрылған сурет атауы жазылатын буферден ұзынырақ болуы мүмкін, сондықтан ол буфердің соңынан тыс жазылады.

Түйіндемені дереккөздер негізінде ЖИ жасаған және ол автоматты түрде аударылған.

Түзету

Түзетілген нұсқа көрсетілмеген.

Түпнұсқа сипаттама (EN)

Түпнұсқа тақырып: Linux kernel buffer overflow in Ceph filesystem client snapshot names

In the Linux kernel, the following vulnerability has been resolved: ceph: fix longname buffer overflow in ceph_fname_to_usr() Snapshot longname reconstruction formats "_<name>_<inode>" via snprintf() and memcpy()s the result into oname->name. Checking the length against NAME_MAX only protects the LOOKUPNAME/export callers, whose buffer is allocated with fscrypt_fname_alloc_buffer(NAME_MAX). The readdir path points oname->name straight at the altname in the MDS reply, whose capacity is altname_len; the reconstructed name can exceed that while still fitting under NAME_MAX, overflowing the in-place destination. Save the actual oname->len before the decryption overwrites it, and fail with -ENAMETOOLONG when the reconstructed name would not fit.

Сілтемелер