CVE-2025-71116
JSON

9.1critical

libceph: make decode_pool() more resilient against corrupted osdmaps

Severity
9.1critical CVSS:3.1 by Linux
Exploit likelihood
0.46% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 4f6a7e5ee1393ec4b243b39dac9f36992d161540 before d061be4c8040ffb1110d537654a038b8b6ad39d2, from 4f6a7e5ee1393ec4b243b39dac9f36992d161540 before 145d140abda80e33331c5781d6603014fa75d258, from 4f6a7e5ee1393ec4b243b39dac9f36992d161540 before c82e39ff67353a5a6cbc07b786b8690bd2c45aaa, from 4f6a7e5ee1393ec4b243b39dac9f36992d161540 before e927ab132b87ba3f076705fc2684d94b24201ed1, from 4f6a7e5ee1393ec4b243b39dac9f36992d161540 before 5d0d8c292531fe356c4e94dcfdf7d7212aca9957, from 4f6a7e5ee1393ec4b243b39dac9f36992d161540 before 2acb8517429ab42146c6c0ac1daed1f03d2fd125, from 4f6a7e5ee1393ec4b243b39dac9f36992d161540 before 8c738512714e8c0aa18f8a10c072d5b01c83db39, 3.9
Not affected: before 3.9, from 5.10.248 up to 5.10.*, from 5.15.198 up to 5.15.*, from 6.1.160 up to 6.1.*, from 6.6.120 up to 6.6.*, from 6.12.64 up to 6.12.*
CVE List
linux linux_kernelfrom 3.9.1 before 5.10.248, from 5.11 before 5.15.198, from 5.16 before 6.1.160, from 6.2 before 6.6.120, from 6.7 before 6.12.64, from 6.13 before 6.18.3, 3.9, 6.19NVD

All scores

Linux9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: libceph: hacer decode_pool() más resistente contra osdmaps corruptos Si el osdmap está (maliciosamente) corrupto de tal manera que la longitud codificada del envoltorio ceph_pg_pool es menor de lo que se espera para una versión de codificación particular, pueden producirse lecturas fuera de límites porque la única comprobación de límites que existe se basa en ese valor de longitud. Este parche añade comprobaciones de límites explícitas para cada campo que se decodifica o se omite.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-71116 changed 2026-10-19CVE Terms of Use
NVDCVE-2025-71116 changed 2026-10-19Public domain