CVE-2026-52958·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: libceph: Fix potential out-of-bounds access in osdmap_decode() When decoding osd_state and osd_weight from an incoming osdmap in osdmap_decode(), both are decoded for each osd, i.e., map->max_osd times. The ceph_decode_need() check only accounts for sizeof(*map->osd_weight) once. This can potentially result in an out-of-bounds memory access if the incoming message is corrupted such that the max_osd value exceeds the actual content of the osdmap message. This patch fixes the issue by changing the corresponding part in the ceph_decode_need() check to account for map->max_osd*sizeof(*map->osd_weight).
- Severity
- critical
- Software
- Kernel
- Fixed in
- 7.0.10
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.74% — higher than 54% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-52958 scores 9.1 on CVSS, so a successful attack would be serious — but at 0.74%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.10
Fixed in: 7.0.10
How to fix this CVE
Update your Linux kernel to version 7.0.10 or later to patch the osdmap decoding vulnerability that could allow memory access violations. Systems running kernel versions 6.19 through 7.0.9 should prioritize this update, especially those using Ceph storage clusters. Reboot after applying the kernel update to activate the patched version.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with 'uname -r' and compare against the vulnerable range 6.19 to 7.0.9
- Step 2: Verify if Ceph client libraries (libceph) are loaded by checking 'lsmod | grep ceph' or examining network connections to Ceph monitors with 'netstat -an | grep ceph'
- Step 3: Search system logs for osdmap decoding errors using 'grep -i 'osdmap\|decode' /var/log/kern.log /var/log/messages 2>/dev/null | head -20'
- Step 4: After patching, confirm the new kernel version with 'uname -r' and verify it is 7.0.10 or higher
FAQ
What is CVE-2026-52958?
This is a kernel memory safety bug in the Ceph client osdmap decoder where insufficient bounds checking allows reading past allocated buffer memory when processing a malformed OSD map message. The decoder fails to properly validate the total size needed for all OSD state and weight entries.
Is CVE-2026-52958 being actively exploited?
No, there is no evidence of active exploitation or public exploits available for this vulnerability. It was discovered and patched before reaching production attack stages.
What versions of Kernel are affected by CVE-2026-52958?
Linux kernel versions 6.19 through 7.0.9 are vulnerable. Version 7.0.10 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-52958?
Run 'uname -r' to see your kernel version; if it falls between 6.19 and 7.0.9, you are vulnerable. Cross-reference with 'dpkg -l | grep linux-image' (Debian) or 'rpm -qa | grep kernel' (RHEL) for confirmation.
Does Defensia detect CVE-2026-52958?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-52958 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0d2dd7e6bb74fd7712aa73457a4a821906c6863a
- https://git.kernel.org/stable/c/35d0ed82d03e5ee77ea4f31f20e29562a7721649
- https://git.kernel.org/stable/c/36a79759a288961b1ff28a68ec2d1f56f6848098
- https://git.kernel.org/stable/c/3f2575bb7f955d42569d96c3e04fa958a0dcf4b4
- https://git.kernel.org/stable/c/48df98d12b15360cd56af5c1f460307b340c1197
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-52958. Free for 1 server.
Get started free