
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-39879 is a vulnerability discovered in the Linux kernel affecting the Ceph filesystem implementation. The issue was disclosed on September 23, 2025, and involves improper handling of foliobatch entries in the cephprocessfoliobatch() function (NVD).
The vulnerability stems from the cephprocessfoliobatch() function setting foliobatch entries to NULL, which creates an illegal state. The function cephshiftunusedfoliosleft() is supposed to remove these NULL entries from the array, but due to changes introduced in commits ce80b76dd327 and 1551ec61dc55, this shifting operation became effectively unreachable in many scenarios. The issue manifests when certain conditions are met, such as when cephprocessfoliobatch() fails or when cephmovedirtypageinpage_array() is not called (NVD).
When exploited, this vulnerability can cause a kernel crash through a NULL pointer dereference, potentially leading to system instability. The crash occurs specifically in the foliosputrefs function, which attempts to dereference NULL entries in the folio_batch array (NVD).
The suggested fix involves moving the cephshiftunusedfoliosleft() call to immediately follow cephprocessfoliobatch(), ensuring it always gets called to fix the illegal foliobatch state (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."