← CVE Intelligence

CVE-2025-71116

libceph: make decode_pool() more resilient against corrupted osdmaps PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 4f6a7e5ee1393ec4b243b39dac9f36992d161540 before d061be4c8040ffb1110d537654a038b8b6ad39d2; affected 4f6a7e5ee1393ec4b243b39dac9f36992d161540 before 145d140abda80e33331c5781d6603014fa75d258; affected 4f6a7e5ee1393ec4b243b39dac9f36992d161540 before c82e39ff67353a5a6cbc07b786b8690bd2c45aaa; affected 4f6a7e5ee1393ec4b243b39dac9f36992d161540 before e927ab132b87ba3f076705fc2684d94b24201ed1; affected 4f6a7e5ee1393ec4b243b39dac9f36992d161540 before 5d0d8c292531fe356c4e94dcfdf7d7212aca9957; affected 4f6a7e5ee1393ec4b243b39dac9f36992d161540 before 2acb8517429ab42146c6c0ac1daed1f03d2fd125; affected 4f6a7e5ee1393ec4b243b39dac9f36992d161540 before 8c738512714e8c0aa18f8a10c072d5b01c83db39
Linux / Linuxaffected 3.9; unaffected 0 before 3.9; unaffected 5.10.248 through 5.10.*; unaffected 5.15.198 through 5.15.*; unaffected 6.1.160 through 6.1.*; unaffected 6.6.120 through 6.6.*; unaffected 6.12.64 through 6.12.*; unaffected 6.18.3 through 6.18.*; unaffected 6.19 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.