{"id":"CVE-2025-71116","state":"PUBLISHED","title":"libceph: make decode_pool() more resilient against corrupted osdmaps","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: make decode_pool() more resilient against corrupted osdmaps\n\nIf the osdmap is (maliciously) corrupted such that the encoded length\nof ceph_pg_pool envelope is less than what is expected for a particular\nencoding version, out-of-bounds reads may ensue because the only bounds\ncheck that is there is based on that length value.\n\nThis patch adds explicit bounds checks for each field that is decoded\nor skipped.","publishedAt":"2026-01-14T15:06:04.476Z","updatedAt":"2026-10-19T18:15:14.284Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4f6a7e5ee1393ec4b243b39dac9f36992d161540","status":"affected","lessThan":"d061be4c8040ffb1110d537654a038b8b6ad39d2","versionType":"git"},{"version":"4f6a7e5ee1393ec4b243b39dac9f36992d161540","status":"affected","lessThan":"145d140abda80e33331c5781d6603014fa75d258","versionType":"git"},{"version":"4f6a7e5ee1393ec4b243b39dac9f36992d161540","status":"affected","lessThan":"c82e39ff67353a5a6cbc07b786b8690bd2c45aaa","versionType":"git"},{"version":"4f6a7e5ee1393ec4b243b39dac9f36992d161540","status":"affected","lessThan":"e927ab132b87ba3f076705fc2684d94b24201ed1","versionType":"git"},{"version":"4f6a7e5ee1393ec4b243b39dac9f36992d161540","status":"affected","lessThan":"5d0d8c292531fe356c4e94dcfdf7d7212aca9957","versionType":"git"},{"version":"4f6a7e5ee1393ec4b243b39dac9f36992d161540","status":"affected","lessThan":"2acb8517429ab42146c6c0ac1daed1f03d2fd125","versionType":"git"},{"version":"4f6a7e5ee1393ec4b243b39dac9f36992d161540","status":"affected","lessThan":"8c738512714e8c0aa18f8a10c072d5b01c83db39","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ceph/osdmap.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.9","versionType":"semver"},{"version":"5.10.248","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.198","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.160","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.120","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.64","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.3","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ceph/osdmap.c"]}],"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"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/71xxx/CVE-2025-71116.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-71116","state":"PUBLISHED","datePublished":"2026-01-14T15:06:04.476Z","dateUpdated":"2026-10-19T18:15:14.284Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-01-13T15:30:19.653Z"},"containers":{"cna":{"title":"libceph: make decode_pool() more resilient against corrupted osdmaps","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibceph: make decode_pool() more resilient against corrupted osdmaps\n\nIf the osdmap is (maliciously) corrupted such that the encoded length\nof ceph_pg_pool envelope is less than what is expected for a particular\nencoding version, out-of-bounds reads may ensue because the only bounds\ncheck that is there is based on that length value.\n\nThis patch adds explicit bounds checks for each field that is decoded\nor skipped."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4f6a7e5ee1393ec4b243b39dac9f36992d161540","status":"affected","lessThan":"d061be4c8040ffb1110d537654a038b8b6ad39d2","versionType":"git"},{"version":"4f6a7e5ee1393ec4b243b39dac9f36992d161540","status":"affected","lessThan":"145d140abda80e33331c5781d6603014fa75d258","versionType":"git"},{"version":"4f6a7e5ee1393ec4b243b39dac9f36992d161540","status":"affected","lessThan":"c82e39ff67353a5a6cbc07b786b8690bd2c45aaa","versionType":"git"},{"version":"4f6a7e5ee1393ec4b243b39dac9f36992d161540","status":"affected","lessThan":"e927ab132b87ba3f076705fc2684d94b24201ed1","versionType":"git"},{"version":"4f6a7e5ee1393ec4b243b39dac9f36992d161540","status":"affected","lessThan":"5d0d8c292531fe356c4e94dcfdf7d7212aca9957","versionType":"git"},{"version":"4f6a7e5ee1393ec4b243b39dac9f36992d161540","status":"affected","lessThan":"2acb8517429ab42146c6c0ac1daed1f03d2fd125","versionType":"git"},{"version":"4f6a7e5ee1393ec4b243b39dac9f36992d161540","status":"affected","lessThan":"8c738512714e8c0aa18f8a10c072d5b01c83db39","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ceph/osdmap.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.9","versionType":"semver"},{"version":"5.10.248","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.198","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.160","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.120","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.64","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.3","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ceph/osdmap.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d061be4c8040ffb1110d537654a038b8b6ad39d2"},{"url":"https://git.kernel.org/stable/c/145d140abda80e33331c5781d6603014fa75d258"},{"url":"https://git.kernel.org/stable/c/c82e39ff67353a5a6cbc07b786b8690bd2c45aaa"},{"url":"https://git.kernel.org/stable/c/e927ab132b87ba3f076705fc2684d94b24201ed1"},{"url":"https://git.kernel.org/stable/c/5d0d8c292531fe356c4e94dcfdf7d7212aca9957"},{"url":"https://git.kernel.org/stable/c/2acb8517429ab42146c6c0ac1daed1f03d2fd125"},{"url":"https://git.kernel.org/stable/c/8c738512714e8c0aa18f8a10c072d5b01c83db39"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","baseScore":9.1,"baseSeverity":"CRITICAL"},"scenarios":[{"lang":"en","value":"AV:N - A malicious Ceph monitor or OSD can deliver a crafted CEPH_MSG_OSD_MAP over TCP to an active CephFS or RBD kernel client.\nAC:L - Attacker-controlled envelope lengths, counts, and string lengths deterministically drive decoding beyond the message buffer without a race or other uncontrollable condition.\nPR:N - No privileges on the client host are required, and legacy monitor transport can dispatch OSD maps before the separate monitor authentication completes; auth_none deployments are also reachable.\nUI:N - Once the Ceph client is active, the peer can push the corrupted map without any user action.\nS:U - The vulnerability and resulting kernel-memory or availability impacts remain within the client host's kernel security authority.\nC:H - The decoder can perform repeated attacker-steered 1-, 4-, and 8-byte reads at unbounded offsets beyond the kvmalloc-backed network-message buffer.\nI:N - The vulnerable function only reads or skips input and writes decoded values into valid pool fields; it provides no out-of-bounds write, UAF, or control-flow corruption primitive.\nA:H - Large attacker-controlled pointer advances can cause a kernel page fault or oops, and repeated malicious maps can crash or render the client unusable."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:12:10.215Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"5.10.248"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"5.15.198"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"6.1.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"6.6.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"6.12.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"6.18.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.9","versionEndExcluding":"6.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-71116","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-06-10T20:42:27.725166Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","type":"CWE","description":"CWE-125 Out-of-bounds Read"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T18:15:14.284Z"}}]}}}