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

CVE-2025-71116
CRITICAL 9.1

At a glance

Source
NVD
EPSS
EPSS 0.46 % · percentile 40 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-125 — Out-of-bounds Read

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HLinux
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 4f6a7e5ee1393ec4b243b39dac9f36992d161540 < d061be4c8040ffb1110d537654a038b8b6ad39d2 ; affected 4f6a7e5ee1393ec4b243b39dac9f36992d161540 < 145d140abda80e33331c5781d6603014fa75d258 ; affected 4f6a7e5ee1393ec4b243b39dac9f36992d161540 < c82e39ff67353a5a6cbc07b786b8690bd2c45aaa ; affected 4f6a7e5ee1393ec4b243b39dac9f36992d161540 < e927ab132b87ba3f076705fc2684d94b24201ed1 ; affected 4f6a7e5ee1393ec4b243b39dac9f36992d161540 < 5d0d8c292531fe356c4e94dcfdf7d7212aca9957 ; affected 4f6a7e5ee1393ec4b243b39dac9f36992d161540 < 2acb8517429ab42146c6c0ac1daed1f03d2fd125
Linux · Linuxaffected 3.9 ; unaffected 0 < 3.9 ; unaffected 5.10.248 ≤ 5.10.* ; unaffected 5.15.198 ≤ 5.15.* ; unaffected 6.1.160 ≤ 6.1.* ; unaffected 6.6.120 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD