HIGH 7.5

CVE-2026-52960: Linux Kernel Ceph Writeback Memory Leak (CVSS 7.5)

A memory management bug in the Linux kernel's Ceph filesystem code causes folios (memory pages) to not be properly released when they are unsuitable for writeback operations. When the kernel removes folios from a batch collection, it fails to decrement their reference counters, leaving them pinned in memory. This can exhaust system memory over time and lead to denial-of-service conditions.

Source data · NVD / CISA · public domain

CVSS
3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses (CWE)
Affected products
4 configuration(s)
Published / Modified
2026-06-24 / 2026-07-14

NVD description (verbatim)

In the Linux kernel, the following vulnerability has been resolved: ceph: put folios not suitable for writeback The batch holds references to the folios (see `filemap_get_folios`, `folio_batch_release`), so we need to `folio_put` the folios we remove. Tested on v6.18.

2 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-52960 addresses a reference counting error in the Linux kernel's Ceph filesystem implementation. The vulnerability occurs in folio batch handling during writeback operations. When unsuitable folios are removed from a batch (obtained via filemap_get_folios), the corresponding folio_put() calls are missing. Since folio_batch_release maintains references to folios in the batch, failure to decrement these references on removal causes memory leaks. This was identified and tested on kernel v6.18.

Business impact

Organizations running Ceph-backed storage clusters or Linux systems with Ceph clients face potential denial-of-service risk. A memory leak in the writeback path can degrade system performance, trigger out-of-memory conditions, and cause service interruption. Affected systems may experience unresponsive behavior, forced reboots, or loss of access to Ceph storage. In multi-tenant or cloud environments, this could impact multiple workloads.

Affected systems

The Linux kernel is affected, specifically in its Ceph filesystem support. Systems actively using Ceph for distributed storage, including Linux servers, container orchestration platforms, and cloud deployments that depend on Ceph, are at risk. The vulnerability affects kernel versions including v6.18 and potentially earlier versions where the faulty code path exists.

Exploitability

This is a kernel memory leak vulnerability with no authentication or user interaction required. Any legitimate I/O workload that triggers writeback of unsuitable folios can gradually exhaust memory. The CVSS vector (AV:N/AC:L/PR:N/UI:N) reflects the network-accessible, low-complexity nature of triggering the affected code path. However, consistent exploitation requires sustained writeback activity; it is not a single-packet remote code execution vector.

Remediation

Apply a patched Linux kernel version that includes the folio reference count fix. Verify the specific patch commit in the Linux kernel repository and confirm it is included in your distribution's kernel update. Until patching is complete, monitor Ceph-backed systems for memory pressure and unexpected OOM events. Restart affected services if memory exhaustion occurs.

Patch guidance

Consult your Linux distribution's security advisories and kernel update channels for the patched version that resolves CVE-2026-52960. Verify the fix against the Linux kernel git repository to confirm the commit includes the folio_put() correction in the Ceph writeback code path. Test the patched kernel in a non-production environment before rolling out to production Ceph clusters. Coordinate patches with any Ceph-specific kernel modules or out-of-tree drivers your organization may maintain.

Detection guidance

Monitor kernel logs for memory pressure warnings, elevated page fault rates, or OOM killer events on systems running Ceph. Track memory utilization trends on Ceph clients and servers; sustained unexplained growth suggests the leak. Use tools like 'slabtop' and 'memstat' to identify pinned memory pools. Enable kernel memory accounting (via cgroups or memcg) to isolate Ceph-related memory consumption. Correlate spikes with heavy Ceph writeback activity.

Why prioritize this

This vulnerability merits prompt attention due to its HIGH severity score, the lack of authentication barriers, and its ability to silently degrade system stability. Ceph deployments often underpin critical infrastructure; a memory leak in the filesystem can have cascading effects. However, it requires sustained writeback activity to manifest noticeably, so organizations without active Ceph I/O may see delayed impact.

Risk score, explained

The CVSS 3.1 score of 7.5 (HIGH) reflects a network-accessible vulnerability with low attack complexity and no privilege or interaction requirements. The vector emphasizes availability impact (A:H) with no confidentiality or integrity compromise. The score does not account for the operational reality that consistent exploitation requires sustained I/O; however, in production Ceph environments, such workloads are common, justifying the elevated rating.

Frequently asked questions

Does this vulnerability require root or special privileges to exploit?

No. Any user or process capable of generating I/O to a Ceph filesystem—including unprivileged applications—can trigger the writeback path and contribute to the memory leak. The vulnerability does not require elevated privileges.

Can this be exploited remotely over the network?

Direct remote exploitation is not straightforward. An attacker would need to generate I/O against a Ceph filesystem accessible over the network, or compromise a legitimate client system. The vulnerability itself is not a network service flaw; it is triggered by application-layer file I/O.

What is the difference between folio and page in this context?

Folios are a kernel memory abstraction introduced in recent Linux versions that can represent one or more pages as a single unit. In this case, the bug is about reference counting on folios managed by the Ceph writeback handler. Failure to decrement the reference count prevents the kernel from freeing the memory.

Will my system crash immediately if I am vulnerable?

No. Memory leaks typically degrade performance gradually. A system will become slower and less responsive over time as available memory shrinks. Eventually it may trigger the OOM killer, which terminates processes. The impact depends on workload intensity and system RAM.

This analysis is provided for informational purposes to help security professionals understand and mitigate CVE-2026-52960. SEC.co does not guarantee the completeness or accuracy of third-party vulnerability data. Always consult official vendor advisories and release notes for definitive patch information and guidance. Verify patch version numbers and affected kernel releases against the Linux kernel repository and your distribution's security channels before deploying updates. This vulnerability description does not constitute legal advice or a guarantee of protection. Source: NVD (public-domain), retrieved 2026-07-30. Analysis generated by SEC.co (claude-haiku-4-5).