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

目标: 1000 元 · 已筹: 1359 元

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于错误处理不当,可能导致元数据写入错误状态的文件系统。

CVSS 7.8 · High EPSS 0.14% · P3

影响版本矩阵 10

厂商产品 版本范围状态
Linux Linux 13e6c37b989859e70b0d73d3f2cb0aa022159b17< 066ee13f05fbd82ada01883e51f0695172f98dff affected
13e6c37b989859e70b0d73d3f2cb0aa022159b17< e2b3859067bf012d53c49b3f885fef40624a2c83 affected
13e6c37b989859e70b0d73d3f2cb0aa022159b17< 54a5b5a15588e3b0b294df31474d08a2678d4291 affected
13e6c37b989859e70b0d73d3f2cb0aa022159b17< 2618849f31e7cf51fadd4a5242458501a6d5b315 affected
3.10 affected
< 3.10 unaffected
6.6.117≤ 6.6.* unaffected
6.12.58≤ 6.12.* unaffected
… +2 条更多
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
btrfs: ensure no dirty metadata is written back for an fs with errors
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: ensure no dirty metadata is written back for an fs with errors [BUG] During development of a minor feature (make sure all btrfs_bio::end_io() is called in task context), I noticed a crash in generic/388, where metadata writes triggered new works after btrfs_stop_all_workers(). It turns out that it can even happen without any code modification, just using RAID5 for metadata and the same workload from generic/388 is going to trigger the use-after-free. [CAUSE] If btrfs hits an error, the fs is marked as error, no new transaction is allowed thus metadata is in a frozen state. But there are some metadata modifications before that error, and they are still in the btree inode page cache. Since there will be no real transaction commit, all those dirty folios are just kept as is in the page cache, and they can not be invalidated by invalidate_inode_pages2() call inside close_ctree(), because they are dirty. And finally after btrfs_stop_all_workers(), we call iput() on btree inode, which triggers writeback of those dirty metadata. And if the fs is using RAID56 metadata, this will trigger RMW and queue new works into rmw_workers, which is already stopped, causing warning from queue_work() and use-after-free. [FIX] Add a special handling for write_one_eb(), that if the fs is already in an error state, immediately mark the bbio as failure, instead of really submitting them. Then during close_ctree(), iput() will just discard all those dirty tree blocks without really writing them back, thus no more new jobs for already stopped-and-freed workqueues. The extra discard in write_one_eb() also acts as an extra safenet. E.g. the transaction abort is triggered by some extent/free space tree corruptions, and since extent/free space tree is already corrupted some tree blocks may be allocated where they shouldn't be (overwriting existing tree blocks). In that case writing them back will further corrupting the fs.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: 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存在安全漏洞,该漏洞源于错误处理不当,可能导致元数据写入错误状态的文件系统。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 13e6c37b989859e70b0d73d3f2cb0aa022159b17 ~ 066ee13f05fbd82ada01883e51f0695172f98dff -
Linux Linux 3.10 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

同批安全公告 · Linux · 2025-12-08 · 共 82 条

CVE-2023-53751 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-40320 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2023-53769 9.3 CRITICAL Linux kernel 安全漏洞
CVE-2023-53764 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-53762 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-40318 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-40292 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-40309 8.0 HIGH Linux kernel 安全漏洞
CVE-2025-40304 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40291 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40290 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53759 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40317 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40319 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40323 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53753 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53752 7.8 HIGH Linux kernel 安全漏洞
CVE-2023-53747 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-50623 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-50630 7.8 HIGH Linux kernel 安全漏洞

显示前 20 条,共 82 条。 查看全部 &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-40303

暂无评论


发表评论