Чтения за пределами буфера в libceph из-за непроверенных сетевых данных в ядре Linux
Linux kernel
Кратко
В компоненте libceph ядра Linux несколько полей в ceph_oloc_decode() считывались из сетевых данных без проверки границ. Повреждённое сообщение от OSD могло привести к чтению за пределами буфера.
Резюме сгенерировано ИИ по данным источников и переведено автоматически.
Исправление
Исправленная версия не указана.
Оригинальное описание (EN)
Оригинальный заголовок: Linux kernel out-of-bounds reads in libceph from unchecked network data
In the Linux kernel, the following vulnerability has been resolved: libceph: Fix multiple unsafe decodes in ceph_oloc_decode() ceph_oloc_decode handles unchecked data received over the network from an OSD. Currently, there are multiple decode operations that aren't covered by any bounds check. Decoding these fields can therefore result in out-of-bounds reads if a corrupted message is received. This patch fixes the issue by adding bounds checks covering all previously uncovered decode operations. [ idryomov: use ceph_decode_64_safe() for hash ]
Ссылки
- Прочееgit.kernel.org/stable/c/1714768ef0018faa4b3f42035567f31ba39f1834
- Прочееgit.kernel.org/stable/c/b21a77b22548ec8b2ab6a25cc42efe81edeaa439
- Прочееgit.kernel.org/stable/c/a3113042e7f13eb5620d39471ea2894d415c5452
- Прочееgit.kernel.org/stable/c/6cc35e1c15d17704d05f0bdfbeb883ef7e57b333
- Прочееgit.kernel.org/stable/c/60e0f0fa93f5ebd68b3cd9f061ddeb6eab9bc498
- Прочееgit.kernel.org/stable/c/ab62a3677aadb0bd46f37330cbf44202cff3a59b
- Прочееgit.kernel.org/stable/c/dd7efad37e5eacbf9082a8bf12ba56292a1725f7
- Прочееgit.kernel.org/stable/c/10655007b9b679e46a9e383202c7bb791e5d1d13