CVEBrief

Home / Linux / Linux / CVE-2025-39879

CVE-2025-39879: is it exploited, and which versions of Linux are affected and fixed?

CVE-2025-39879 is a NULL pointer dereference (crash) vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: Linux from 6.15 until the fixed versions (CVE record by Linux). Fixed in 6.16.8 and 6.17 (CVE record by Linux). Severity: Medium (5.5, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 28, 2026, 17:39 UTC and NVD November 19, 2026, 07:17 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 13:38 UTC
Affected
Linux from 6.15 until the fixed versions
CVE record by Linux
Fixed in
6.16.8 and 6.17
CVE record by Linux
Severity
Medium 5.5
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
0.19% in 30 days
higher than 10% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2025-39879?

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_move_dirty_page_in_page_array() was never called (because ceph_process_folio_batch() has returned early for some of various reasons), shifting never happens - if `processed_in_fbatch` is zero (because ceph_process_folio_batch() has returned early for some of the reasons mentioned above or because ceph_move_dirty_page_in_page_array() has failed), shifting never happens Since those two commits, any problem in ceph_process_folio_batch() could crash the kernel, e.g. this way: BUG: kernel NULL pointer dereference, address: 0000000000000034 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 0 P4D 0 Oops: Oops: 0002 [#1] SMP NOPTI CPU: 172 UID: 0 PID: 2342707 Comm: kworker/u778:8 Not tainted 6.15.10-cm4all1-es #714 NONE Hardware name: Dell Inc. PowerEdge R7615/0G9DHV, BIOS 1.6.10 12/08/2023 Workqueue: writeback wb_workfn (flush-ceph-1) RIP: 0010:folios_put_refs+0x85/0x140 Code: 83 c5 01 39 e8 7e 76 48 63 c5 49 8b 5c c4 08 b8 01 00 00 00 4d 85 ed 74 05 41 8b 44 ad 00 48 8b 15 b0 > RSP: 0018:ffffb880af8db778 EFLAGS: 00010207 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000003 RDX: ffffe377cc3b0000 RSI: 0000000000000000 RDI: ffffb880af8db8c0 RBP: 0000000000000000 R08: 000000000000007d R09: 000000000102b86f R10: 0000000000000001 R11: 00000000000000ac R12: ffffb880af8db8c0 R13: 0000000000000000 R14: 0000000000000000 R15: ffff9bd262c97000 FS: 0000000000000000(0000) GS:ffff9c8efc303000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000034 CR3: 0000000160958004 CR4: 0000000000770ef0 PKRU: 55555554 Call Trace: <TASK> ceph_writepages_start+0xeb9/0x1410 The crash can be reproduced easily by changing the ceph_check_page_before_write() return value to `-E2BIG`. (Interestingly, the crash happens only if `huge_zero_folio` has already been allocated; without `huge_zero_folio`, is_huge_zero_folio(NULL) returns true and folios_put_refs() skips NULL entries instead of dereferencing them. That makes reproducing the bug somewhat unreliable. See https://lore.kernel.org/[email protected] for a discussion of this detail.) My suggestion is to move the ceph_shift_unused_folios_left() to right after ceph_process_folio_batch() to ensure it always gets called to fix up the illegal folio_batch state.

From the CVE record by Linux, last updated October 21, 2026, 12:37 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
LinuxLinuxnot stated
LinuxLinuxfrom 6.15 until the fixed versions6.16.8, 6.17

As the CVE record by Linux states it, last updated October 21, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
linuxlinux kernelfrom 6.15 before 6.16.8operating system
linuxlinux kernel6.17operating system

NVD analysis (status Modified), last modified October 21, 2026, 13:18 UTC.

How severe is CVE-2025-39879?

ScoreVersionVectorSource
Medium 5.5CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
Medium 5.5CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-39879 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, January 14, 2026)
EPSS
0.19% probability of exploitation activity in the next 30 days, percentile 9.6 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
April 16, 2025
Published
September 23, 2025, 06:00 UTC
CVE record updated
October 21, 2026, 12:37 UTC by Linux
NVD
Modified, last modified October 21, 2026, 13:18 UTC
Last checked
CVE list November 28, 2026, 17:39 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2025-39879

Is CVE-2025-39879 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.19% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Linux are affected by CVE-2025-39879?

Linux from 6.15 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2025-39879?

6.16.8 and 6.17, per the CVE record by Linux. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-39879?

Medium (5.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2025-39879?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.