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

目标: 1000 元 · 已筹: 1000

100.0%

CVE-2026-43420— Ceph 异步删除时 i_nlink下溢漏洞

获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
ceph: fix i_nlink underrun during async unlink
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ceph: fix i_nlink underrun during async unlink During async unlink, we drop the `i_nlink` counter before we receive the completion (that will eventually update the `i_nlink`) because "we assume that the unlink will succeed". That is not a bad idea, but it races against deletions by other clients (or against the completion of our own unlink) and can lead to an underrun which emits a WARNING like this one: WARNING: CPU: 85 PID: 25093 at fs/inode.c:407 drop_nlink+0x50/0x68 Modules linked in: CPU: 85 UID: 3221252029 PID: 25093 Comm: php-cgi8.1 Not tainted 6.14.11-cm4all1-ampere #655 Hardware name: Supermicro ARS-110M-NR/R12SPD-A, BIOS 1.1b 10/17/2023 pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : drop_nlink+0x50/0x68 lr : ceph_unlink+0x6c4/0x720 sp : ffff80012173bc90 x29: ffff80012173bc90 x28: ffff086d0a45aaf8 x27: ffff0871d0eb5680 x26: ffff087f2a64a718 x25: 0000020000000180 x24: 0000000061c88647 x23: 0000000000000002 x22: ffff07ff9236d800 x21: 0000000000001203 x20: ffff07ff9237b000 x19: ffff088b8296afc0 x18: 00000000f3c93365 x17: 0000000000070000 x16: ffff08faffcbdfe8 x15: ffff08faffcbdfec x14: 0000000000000000 x13: 45445f65645f3037 x12: 34385f6369706f74 x11: 0000a2653104bb20 x10: ffffd85f26d73290 x9 : ffffd85f25664f94 x8 : 00000000000000c0 x7 : 0000000000000000 x6 : 0000000000000002 x5 : 0000000000000081 x4 : 0000000000000481 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff08727d3f91e8 Call trace: drop_nlink+0x50/0x68 (P) vfs_unlink+0xb0/0x2e8 do_unlinkat+0x204/0x288 __arm64_sys_unlinkat+0x3c/0x80 invoke_syscall.constprop.0+0x54/0xe8 do_el0_svc+0xa4/0xc8 el0_svc+0x18/0x58 el0t_64_sync_handler+0x104/0x130 el0t_64_sync+0x154/0x158 In ceph_unlink(), a call to ceph_mdsc_submit_request() submits the CEPH_MDS_OP_UNLINK to the MDS, but does not wait for completion. Meanwhile, between this call and the following drop_nlink() call, a worker thread may process a CEPH_CAP_OP_IMPORT, CEPH_CAP_OP_GRANT or just a CEPH_MSG_CLIENT_REPLY (the latter of which could be our own completion). These will lead to a set_nlink() call, updating the `i_nlink` counter to the value received from the MDS. If that new `i_nlink` value happens to be zero, it is illegal to decrement it further. But that is exactly what ceph_unlink() will do then. The WARNING can be reproduced this way: 1. Force async unlink; only the async code path is affected. Having no real clue about Ceph internals, I was unable to find out why the MDS wouldn't give me the "Fxr" capabilities, so I patched get_caps_for_async_unlink() to always succeed. (Note that the WARNING dump above was found on an unpatched kernel, without this kludge - this is not a theoretical bug.) 2. Add a sleep call after ceph_mdsc_submit_request() so the unlink completion gets handled by a worker thread before drop_nlink() is called. This guarantees that the `i_nlink` is already zero before drop_nlink() runs. The solution is to skip the counter decrement when it is already zero, but doing so without a lock is still racy (TOCTOU). Since ceph_fill_inode() and handle_cap_grant() both hold the `ceph_inode_info.i_ceph_lock` spinlock while set_nlink() runs, this seems like the proper lock to protect the `i_nlink` updates. I found prior art in NFS and SMB (using `inode.i_lock`) and AFS (using `afs_vnode.cb_lock`). All three have the zero check as well.
来源: 美国国家漏洞数据库 NVD
CVSS Information
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
N/A
来源: 美国国家漏洞数据库 NVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux 2ccb45462aeaf0831397b90d31d3d50a7704fa1f ~ 9b31e88ac5623d15c8bc46f69dfe1d3b43a8f67c -
LinuxLinux 5.7 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

Please 登录 to view more intelligence information

同批安全公告 · Linux · 2026-05-08 · 共 199 条

CVE-2026-43337AMD dcn401_init_hw函数空指针解引用漏洞
CVE-2026-43349f2fs 节点页脚检查未初始化值访问漏洞
CVE-2026-43348mshv_vtl vmemmap_shift溢出漏洞
CVE-2026-43347QCOM Monaco 内核 Gunyah 元数据区保留漏洞
CVE-2026-43346ice ptp 控制 PF 不可用时误报警告
CVE-2026-43345IPA v5.0+ 事件环索引未编程漏洞
CVE-2026-43344Intel x86 uncore die ID初始化与查找漏洞
CVE-2026-43343USB gadget f_subset unbalanced refcnt漏洞
CVE-2026-43342USB gadget RNDIS 竞争条件漏洞
CVE-2026-43340Comedi 设备自旋锁未重新初始化漏洞
CVE-2026-43341IPv6 ioam6追踪填充模式长包装漏洞
CVE-2026-43339IPv6 addrconf_permanent_addr()使用-after-free漏洞
CVE-2026-43338btrfs 配额组 ioctls 事务项预留不足漏洞
CVE-2026-43331x86 kexec KCOV 工具链加载段后禁用漏洞
CVE-2026-43325iwlwifi 无线驱动不支持6GHz时发送无效命令
CVE-2026-43327USB dummy-hcd 锁定同步漏洞
CVE-2026-43329Netfilter Flowtable 最大动作数校验漏洞
CVE-2026-43328CPU频率调整器:cpufreq_dbs_governor_init()错误路径下双重释放漏洞
CVE-2026-43330caam驱动HMAC长密钥整数溢出漏洞
CVE-2026-43334蓝牙 SMP 强制 MITM 要求漏洞

显示前 20 条,共 199 条。 查看全部 → →

IV. Related Vulnerabilities

V. Comments for CVE-2026-43420

暂无评论


发表评论