Description
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 ]
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- Low impact
- Integrity
- None
- Availability
- High impact
References
- 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
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.