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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-31519— Linux kernel 安全漏洞

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于创建子卷时未设置BTRFS_ROOT_ORPHAN_CLEANUP,可能导致孤儿清理失败和损坏的目录项。

AI 预测 5.5 利用难度: 中等 EPSS 0.16% · P5

可能的 ATT&CK 技术 1 AI

T1499 · Endpoint Denial of Service

影响版本矩阵 16

厂商产品 版本范围状态
Linux Linux c71bf099abddf3e0fdc27f251ba76fca1461d49a< d43da8de0ed376abafbad8a245a1835e8f66cb0f affected
c71bf099abddf3e0fdc27f251ba76fca1461d49a< c57276ced3c3207f42182dfa2f0d8e860357e111 affected
c71bf099abddf3e0fdc27f251ba76fca1461d49a< a41a9b8d19a98b45591528c6e54d31cc66271d1e affected
c71bf099abddf3e0fdc27f251ba76fca1461d49a< 2ec578e6452138ab76f6c9a9c18711fcd197649f affected
c71bf099abddf3e0fdc27f251ba76fca1461d49a< 696683f214495db3cdacab9a713efaaced8660f8 affected
c71bf099abddf3e0fdc27f251ba76fca1461d49a< 5131fa077f9bb386a1b901bf5b247041f0ec8f80 affected
c4ba0bd9db5e8fd2664be0fd4ec01335fe3268eb affected
2.6.32.19< 2.6.33 affected
… +8 条更多
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-31519 基础信息

漏洞信息

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

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

Vulnerability Title
btrfs: set BTRFS_ROOT_ORPHAN_CLEANUP during subvol create
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: set BTRFS_ROOT_ORPHAN_CLEANUP during subvol create We have recently observed a number of subvolumes with broken dentries. ls-ing the parent dir looks like: drwxrwxrwt 1 root root 16 Jan 23 16:49 . drwxr-xr-x 1 root root 24 Jan 23 16:48 .. d????????? ? ? ? ? ? broken_subvol and similarly stat-ing the file fails. In this state, deleting the subvol fails with ENOENT, but attempting to create a new file or subvol over it errors out with EEXIST and even aborts the fs. Which leaves us a bit stuck. dmesg contains a single notable error message reading: "could not do orphan cleanup -2" 2 is ENOENT and the error comes from the failure handling path of btrfs_orphan_cleanup(), with the stack leading back up to btrfs_lookup(). btrfs_lookup btrfs_lookup_dentry btrfs_orphan_cleanup // prints that message and returns -ENOENT After some detailed inspection of the internal state, it became clear that: - there are no orphan items for the subvol - the subvol is otherwise healthy looking, it is not half-deleted or anything, there is no drop progress, etc. - the subvol was created a while ago and does the meaningful first btrfs_orphan_cleanup() call that sets BTRFS_ROOT_ORPHAN_CLEANUP much later. - after btrfs_orphan_cleanup() fails, btrfs_lookup_dentry() returns -ENOENT, which results in a negative dentry for the subvolume via d_splice_alias(NULL, dentry), leading to the observed behavior. The bug can be mitigated by dropping the dentry cache, at which point we can successfully delete the subvolume if we want. i.e., btrfs_lookup() btrfs_lookup_dentry() if (!sb_rdonly(inode->vfs_inode)->vfs_inode) btrfs_orphan_cleanup(sub_root) test_and_set_bit(BTRFS_ROOT_ORPHAN_CLEANUP) btrfs_search_slot() // finds orphan item for inode N ... prints "could not do orphan cleanup -2" if (inode == ERR_PTR(-ENOENT)) inode = NULL; return d_splice_alias(NULL, dentry) // NEGATIVE DENTRY for valid subvolume btrfs_orphan_cleanup() does test_and_set_bit(BTRFS_ROOT_ORPHAN_CLEANUP) on the root when it runs, so it cannot run more than once on a given root, so something else must run concurrently. However, the obvious routes to deleting an orphan when nlinks goes to 0 should not be able to run without first doing a lookup into the subvolume, which should run btrfs_orphan_cleanup() and set the bit. The final important observation is that create_subvol() calls d_instantiate_new() but does not set BTRFS_ROOT_ORPHAN_CLEANUP, so if the dentry cache gets dropped, the next lookup into the subvolume will make a real call into btrfs_orphan_cleanup() for the first time. This opens up the possibility of concurrently deleting the inode/orphan items but most typical evict() paths will be holding a reference on the parent dentry (child dentry holds parent->d_lockref.count via dget in d_alloc(), released in __dentry_kill()) and prevent the parent from being removed from the dentry cache. The one exception is delayed iputs. Ordered extent creation calls igrab() on the inode. If the file is unlinked and closed while those refs are held, iput() in __dentry_kill() decrements i_count but does not trigger eviction (i_count > 0). The child dentry is freed and the subvol dentry's d_lockref.count drops to 0, making it evictable while the inode is still alive. Since there are two races (the race between writeback and unlink and the race between lookup and delayed iputs), and there are too many moving parts, the following three diagrams show the complete picture. (Only the second and third are races) Phase 1: Create Subvol in dentry cache without BTRFS_ROOT_ORPHAN_CLEANUP set btrfs_mksubvol() lookup_one_len() __lookup_slow() d_alloc_parallel() __d_alloc() // d_lockref.count = 1 create_subvol(dentry) // doesn't touch the bit.. d_instantiate_new(dentry, inode) // dentry in cache with d_lockref.c ---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存在安全漏洞,该漏洞源于创建子卷时未设置BTRFS_ROOT_ORPHAN_CLEANUP,可能导致孤儿清理失败和损坏的目录项。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux c71bf099abddf3e0fdc27f251ba76fca1461d49a ~ d43da8de0ed376abafbad8a245a1835e8f66cb0f -
Linux Linux 2.6.33 -

二、漏洞 CVE-2026-31519 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-31519 的情报信息

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

同批安全公告 · Linux · 2026-04-22 · 共 100 条

CVE-2026-31463 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31444 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31501 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31436 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31478 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31448 9.4 CRITICAL Linux kernel 安全漏洞
CVE-2026-31450 8.8 HIGH Linux kernel 安全漏洞
CVE-2026-31432 8.8 HIGH Linux kernel 安全漏洞
CVE-2026-31433 8.8 HIGH Linux kernel 安全漏洞
CVE-2026-31435 8.8 HIGH Linux kernel 安全漏洞
CVE-2026-31476 8.2 HIGH Linux kernel 安全漏洞
CVE-2026-31464 8.1 HIGH Linux kernel 安全漏洞
CVE-2026-31513 8.1 HIGH Linux kernel 安全漏洞
CVE-2026-31446 7.8 HIGH Linux kernel 安全漏洞
CVE-2026-31449 7.8 HIGH Linux kernel 安全漏洞
CVE-2026-31502 7.8 HIGH Linux kernel 安全漏洞
CVE-2026-31431 7.8 HIGH Linux kernel 安全漏洞
CVE-2026-31488 7.8 HIGH Linux kernel 安全漏洞
CVE-2026-31490 7.8 HIGH Linux kernel 安全漏洞
CVE-2026-31454 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-31519

暂无评论


发表评论