Menu

Star on GitHub · 3.2k

CVE-2025-39879

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: ceph: always call ceph_shift_unused_folios_left() The function ceph_process_folio_batch() sets folio_batch entries to NULL, whi…

Published Sep 23, 2025CWE-476EPSS 0.13%

Overview

CVE-2025-39879 is a medium-severity vulnerability. It was published on September 23, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

ceph: always call ceph_shift_unused_folios_left()

The function ceph_process_folio_batch() sets folio_batch entries to

NULL, which is an illegal state. Before folio_batch_release() crashes

due to this API violation, the function ceph_shift_unused_folios_left()

is supposed to remove those NULLs from the array.

However, since commit ce80b76dd327 ("ceph: introduce

ceph_process_folio_batch() method"), this shifting doesn't happen

anymore because the "for" loop got moved to ceph_process_folio_batch(),

and now the `i` variable that remains in ceph_writepages_start()

doesn't get incremented anymore, making the shifting effectively

unreachable much of the time.

Later, commit 1551ec61dc55 ("ceph: introduce ceph_submit_write()

method") added more preconditions for doing the shift, replacing the

`i` check (with something that is still just as broken):

- if ceph_process_folio_batch() fails, shifting never happens

- if ceph_m

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-39879?

CVE-2025-39879 is a medium-severity vulnerability. It was published on September 23, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-39879?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-39879?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-39879?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-39879 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2025

View all