Чтение за пределами буфера в ядре Linux при разборе набора весов CRUSH в libceph
Linux kernel
Кратко
Компонент libceph ядра Linux некорректно проверяет размер данных набора весов CRUSH в картах OSD. Аутентифицированный монитор или OSD может отправить специально созданную карту, которая вызывает сбой клиента ядра при обработке обычного запроса.
Резюме написано моделью ИИ на cve.now и переведено автоматически.
Исправление
Исправленная версия не указана.
Оригинальное описание (EN)
Оригинальный заголовок: Linux kernel out-of-bounds read in libceph CRUSH weight-set parsing
In the Linux kernel, the following vulnerability has been resolved: libceph: reject mismatched CRUSH weight-set sizes A CEPH_MSG_OSD_MAP message can contain CRUSH choose args with replacement weight vectors for straw2 buckets. decode_choose_args() validates the optional IDs vector against the referenced bucket, but does not validate the size of any replacement-weight vector. The CRUSH mapper assumes that each replacement vector has exactly as many entries as the bucket. A zero-length vector for a nonempty bucket makes bucket_straw2_choose() dereference NULL, while a shorter nonzero vector causes an out-of-bounds read. An authenticated monitor or OSD can deliver such a map and crash a kernel client when it performs placement for an ordinary request. Reject a nonempty collection of weight sets for an absent bucket and require every replacement-weight vector to match its bucket size.
Ссылки
- Прочееgit.kernel.org/stable/c/0245389e84fba8153b0e72a0614b68c4947cfa76
- Прочееgit.kernel.org/stable/c/b171d39221e8bd34dc5cd2ff75ed4e7a5048eb28
- Прочееgit.kernel.org/stable/c/a905ddc897be89d8d77831123e8f47a9b1b13a0c
- Прочееgit.kernel.org/stable/c/88ceddba900a928193fccfc86e9fda48d24161ec
- Прочееgit.kernel.org/stable/c/d14b7eb4a3b07289ca614050921c5c27521cb5cd
- Прочееgit.kernel.org/stable/c/23e0bbd385b17c30ad5aa03f6b7663c6341f019d
- Прочееgit.kernel.org/stable/c/cab954c676687e2913b7042bc0cf294ce2e81336
- Прочееgit.kernel.org/stable/c/d8fc89b5bfe4cb3aebe4c8a818247d11291b841c