Description
In the Linux kernel, the following vulnerability has been resolved: libceph: make decode_pool() more resilient against corrupted osdmaps If the osdmap is (maliciously) corrupted such that the encoded length of ceph_pg_pool envelope is less than what is expected for a particular encoding version, out-of-bounds reads may ensue because the only bounds check that is there is based on that length value. This patch adds explicit bounds checks for each field that is decoded or skipped.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
4f6a7e5ee1393ec4b243b39dac9f36992d161540 to < d061be4c8040ffb1110d537654a038b8b6ad39d2affected4f6a7e5ee1393ec4b243b39dac9f36992d161540 to < 145d140abda80e33331c5781d6603014fa75d258affected4f6a7e5ee1393ec4b243b39dac9f36992d161540 to < c82e39ff67353a5a6cbc07b786b8690bd2c45aaaaffected4f6a7e5ee1393ec4b243b39dac9f36992d161540 to < e927ab132b87ba3f076705fc2684d94b24201ed1affected4f6a7e5ee1393ec4b243b39dac9f36992d161540 to < 5d0d8c292531fe356c4e94dcfdf7d7212aca9957affected4f6a7e5ee1393ec4b243b39dac9f36992d161540 to < 2acb8517429ab42146c6c0ac1daed1f03d2fd125affected4f6a7e5ee1393ec4b243b39dac9f36992d161540 to < 8c738512714e8c0aa18f8a10c072d5b01c83db39affected
Linux Linux
Default version status: affected
3.9affected0 to < 3.9unaffected5.10.248 to ≤ 5.10.*unaffected5.15.198 to ≤ 5.15.*unaffected6.1.160 to ≤ 6.1.*unaffected6.6.120 to ≤ 6.6.*unaffected6.12.64 to ≤ 6.12.*unaffected6.18.3 to ≤ 6.18.*unaffected6.19 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/d061be4c8040ffb1110d537654a038b8b6ad39d2 ↗
- https://git.kernel.org/stable/c/145d140abda80e33331c5781d6603014fa75d258 ↗
- https://git.kernel.org/stable/c/c82e39ff67353a5a6cbc07b786b8690bd2c45aaa ↗
- https://git.kernel.org/stable/c/e927ab132b87ba3f076705fc2684d94b24201ed1 ↗
- https://git.kernel.org/stable/c/5d0d8c292531fe356c4e94dcfdf7d7212aca9957 ↗
- https://git.kernel.org/stable/c/2acb8517429ab42146c6c0ac1daed1f03d2fd125 ↗
- https://git.kernel.org/stable/c/8c738512714e8c0aa18f8a10c072d5b01c83db39 ↗