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

目标: 1000 元 · 已筹: 1359 元

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于对位字段的非原子读写,可能导致数据损坏。

AI 预测 6.5 利用难度: 中等 EPSS 0.18% · P7

影响版本矩阵 16

厂商产品 版本范围状态
Linux Linux 957780eb2788d8c218d539e19a85653f51a96dc1< b0bb67385480a3aa4c54b139e4f371ddd06b5150 affected
957780eb2788d8c218d539e19a85653f51a96dc1< 55835646da78e83e7ad06abd741ca8fd8c0b0ea7 affected
957780eb2788d8c218d539e19a85653f51a96dc1< d4a81b8ec639895999275ea2472c69825cd67ea4 affected
957780eb2788d8c218d539e19a85653f51a96dc1< db4ae18e1b31e0421fb5312e56aefa382bbc6ece affected
957780eb2788d8c218d539e19a85653f51a96dc1< 6f442808a86eef847ee10afa9e6459494ed85bb3 affected
957780eb2788d8c218d539e19a85653f51a96dc1< 742b90eaf394f0018352c0e10dc89763b2dd5267 affected
957780eb2788d8c218d539e19a85653f51a96dc1< 38e818718c5e04961eea0fa8feff3f100ce40408 affected
4.8 affected
… +8 条更多
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
btrfs: fix racy bitfield write in btrfs_clear_space_info_full()
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix racy bitfield write in btrfs_clear_space_info_full() From the memory-barriers.txt document regarding memory barrier ordering guarantees: (*) These guarantees do not apply to bitfields, because compilers often generate code to modify these using non-atomic read-modify-write sequences. Do not attempt to use bitfields to synchronize parallel algorithms. (*) Even in cases where bitfields are protected by locks, all fields in a given bitfield must be protected by one lock. If two fields in a given bitfield are protected by different locks, the compiler's non-atomic read-modify-write sequences can cause an update to one field to corrupt the value of an adjacent field. btrfs_space_info has a bitfield sharing an underlying word consisting of the fields full, chunk_alloc, and flush: struct btrfs_space_info { struct btrfs_fs_info * fs_info; /* 0 8 */ struct btrfs_space_info * parent; /* 8 8 */ ... int clamp; /* 172 4 */ unsigned int full:1; /* 176: 0 4 */ unsigned int chunk_alloc:1; /* 176: 1 4 */ unsigned int flush:1; /* 176: 2 4 */ ... Therefore, to be safe from parallel read-modify-writes losing a write to one of the bitfield members protected by a lock, all writes to all the bitfields must use the lock. They almost universally do, except for btrfs_clear_space_info_full() which iterates over the space_infos and writes out found->full = 0 without a lock. Imagine that we have one thread completing a transaction in which we finished deleting a block_group and are thus calling btrfs_clear_space_info_full() while simultaneously the data reclaim ticket infrastructure is running do_async_reclaim_data_space(): T1 T2 btrfs_commit_transaction btrfs_clear_space_info_full data_sinfo->full = 0 READ: full:0, chunk_alloc:0, flush:1 do_async_reclaim_data_space(data_sinfo) spin_lock(&space_info->lock); if(list_empty(tickets)) space_info->flush = 0; READ: full: 0, chunk_alloc:0, flush:1 MOD/WRITE: full: 0, chunk_alloc:0, flush:0 spin_unlock(&space_info->lock); return; MOD/WRITE: full:0, chunk_alloc:0, flush:1 and now data_sinfo->flush is 1 but the reclaim worker has exited. This breaks the invariant that flush is 0 iff there is no work queued or running. Once this invariant is violated, future allocations that go into __reserve_bytes() will add tickets to space_info->tickets but will see space_info->flush is set to 1 and not queue the work. After this, they will block forever on the resulting ticket, as it is now impossible to kick the worker again. I also confirmed by looking at the assembly of the affected kernel that it is doing RMW operations. For example, to set the flush (3rd) bit to 0, the assembly is: andb $0xfb,0x60(%rbx) and similarly for setting the full (1st) bit to 0: andb $0xfe,-0x20(%rax) So I think this is really a bug on practical systems. I have observed a number of systems in this exact state, but am currently unable to reproduce it. Rather than leaving this footgun lying around for the future, take advantage of the fact that there is room in the struct anyway, and that it is already quite large and simply change the three bitfield members to bools. This avoids writes to space_info->full having any effect on ---truncated---
来源: 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存在安全漏洞,该漏洞源于对位字段的非原子读写,可能导致数据损坏。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 957780eb2788d8c218d539e19a85653f51a96dc1 ~ b0bb67385480a3aa4c54b139e4f371ddd06b5150 -
Linux Linux 4.8 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

同批安全公告 · Linux · 2025-12-24 · 共 322 条

CVE-2025-68741 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-68745 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-50717 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2023-54090 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2023-54094 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2023-53867 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-68359 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-68726 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2023-54076 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2023-53996 9.3 CRITICAL Linux kernel 安全漏洞
CVE-2023-54071 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-68736 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-54040 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-54092 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-50732 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-54043 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-54120 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-54060 8.8 HIGH Linux kernel 安全漏洞
CVE-2023-53986 8.6 HIGH Linux kernel 安全漏洞
CVE-2022-50746 8.4 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-68358

暂无评论


发表评论