目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-39879— Linux kernel 安全漏洞

一分钟漏洞结论

影响对象
Linux Linux
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未正确调用ceph_shift_unused_folios_left函数,可能导致空指针取消引用。

AI 预测 7.8 利用难度: 困难 EPSS 0.13% · P2

可能的 ATT&CK 技术 1 AI

T1499 · Endpoint Denial of Service

影响版本矩阵 7

厂商产品 版本范围状态
Linux Linux 0f2b2b7cacf888229cec19126e6791b11fb35f32< 523214f0afa1b3d0e696917bc5a4d0737718e3d7 affected
ce80b76dd32764cc914975777e058d4fae4f0ea0< 289b6615cf553d98509a9b273195d9936da1cfb2 affected
ce80b76dd32764cc914975777e058d4fae4f0ea0< cce7c15faaac79b532a07ed6ab8332280ad83762 affected
6.15 affected
< 6.15 unaffected
6.16.8≤ 6.16.* unaffected
6.17≤ * unaffected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2025-39879 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
ceph: always call ceph_shift_unused_folios_left()
来源: CVE Program / CVE List V5
Vulnerability 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_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/20250826231626.218675-1-max.kellermann@ionos.com 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.
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未正确调用ceph_shift_unused_folios_left函数,可能导致空指针取消引用。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 0f2b2b7cacf888229cec19126e6791b11fb35f32 ~ 523214f0afa1b3d0e696917bc5a4d0737718e3d7 -
Linux Linux 6.15 -

二、漏洞 CVE-2025-39879 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2025-39879 的情报信息

请登录查看更多情报信息。

CVE-2025-39879 补丁与修复 (1)

同批安全公告 · Linux · 2025-09-23 · 共 21 条

CVE-2025-39880 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-39869 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-39882 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-39888 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-39872 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-39873 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-39868 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-39881 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-39878 Linux kernel 安全漏洞
CVE-2025-39887 Linux kernel 安全漏洞
CVE-2025-39885 Linux kernel 安全漏洞
CVE-2025-39886 Linux kernel 安全漏洞
CVE-2025-39883 Linux kernel 安全漏洞
CVE-2025-39884 Linux kernel 安全漏洞
CVE-2025-39877 Linux kernel 安全漏洞
CVE-2025-39876 Linux kernel 安全漏洞
CVE-2025-39874 Linux kernel 安全漏洞
CVE-2025-39875 Linux kernel 安全漏洞
CVE-2025-39871 Linux kernel 安全漏洞
CVE-2025-39870 Linux kernel 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2025-39879

暂无评论


发表评论