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

目标: 1000 元 · 已筹: 1359 元

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于smb客户端netns引用计数不平衡,可能导致内存泄漏和释放后重用。

CVSS 9.8 · Critical EPSS 0.38% · P31

影响版本矩阵 12

厂商产品 版本范围状态
Linux Linux 906807c734ed219dcb2e7bbfde5c4168ed72a3d0< 8dbf060480236877703bff0106fc984576184d11 affected
127e907e11ccd54b59bb78fc22c43ccb76c71079< f761eeefd531e6550cd3a5c047835b4892acb00d affected
e9f2517a3e18a54a3943c098d2226b245d488801< 4b6f6bf1bde8d6045c389fda8d21c304dfe49384 affected
e9f2517a3e18a54a3943c098d2226b245d488801< 95d2b9f693ff2a1180a23d7d59acc0c4e72f4c41 affected
6.6.68< 6.6.88 affected
6.12.7< 6.12.25 affected
6.13 affected
< 6.13 unaffected
… +4 条更多
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Revert "smb: client: fix TCP timers deadlock after rmmod"
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: Revert "smb: client: fix TCP timers deadlock after rmmod" This reverts commit e9f2517a3e18a54a3943c098d2226b245d488801. Commit e9f2517a3e18 ("smb: client: fix TCP timers deadlock after rmmod") is intended to fix a null-ptr-deref in LOCKDEP, which is mentioned as CVE-2024-54680, but is actually did not fix anything; The issue can be reproduced on top of it. [0] Also, it reverted the change by commit ef7134c7fc48 ("smb: client: Fix use-after-free of network namespace.") and introduced a real issue by reviving the kernel TCP socket. When a reconnect happens for a CIFS connection, the socket state transitions to FIN_WAIT_1. Then, inet_csk_clear_xmit_timers_sync() in tcp_close() stops all timers for the socket. If an incoming FIN packet is lost, the socket will stay at FIN_WAIT_1 forever, and such sockets could be leaked up to net.ipv4.tcp_max_orphans. Usually, FIN can be retransmitted by the peer, but if the peer aborts the connection, the issue comes into reality. I warned about this privately by pointing out the exact report [1], but the bogus fix was finally merged. So, we should not stop the timers to finally kill the connection on our side in that case, meaning we must not use a kernel socket for TCP whose sk->sk_net_refcnt is 0. The kernel socket does not have a reference to its netns to make it possible to tear down netns without cleaning up every resource in it. For example, tunnel devices use a UDP socket internally, but we can destroy netns without removing such devices and let it complete during exit. Otherwise, netns would be leaked when the last application died. However, this is problematic for TCP sockets because TCP has timers to close the connection gracefully even after the socket is close()d. The lifetime of the socket and its netns is different from the lifetime of the underlying connection. If the socket user does not maintain the netns lifetime, the timer could be fired after the socket is close()d and its netns is freed up, resulting in use-after-free. Actually, we have seen so many similar issues and converted such sockets to have a reference to netns. That's why I converted the CIFS client socket to have a reference to netns (sk->sk_net_refcnt == 1), which is somehow mentioned as out-of-scope of CIFS and technically wrong in e9f2517a3e18, but **is in-scope and right fix**. Regarding the LOCKDEP issue, we can prevent the module unload by bumping the module refcount when switching the LOCKDDEP key in sock_lock_init_class_and_name(). [2] For a while, let's revert the bogus fix. Note that now we can use sk_net_refcnt_upgrade() for the socket conversion, but I'll do so later separately to make backport easy.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/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存在安全漏洞,该漏洞源于smb客户端netns引用计数不平衡,可能导致内存泄漏和释放后重用。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 906807c734ed219dcb2e7bbfde5c4168ed72a3d0 ~ 8dbf060480236877703bff0106fc984576184d11 -
Linux Linux 6.13 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2025-22077 补丁与修复 (5)

同批安全公告 · Linux · 2025-04-16 · 共 127 条

CVE-2025-22021 10.0 CRITICAL Linux kernel 安全漏洞
CVE-2025-22088 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-22110 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-22039 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22086 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-23133 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-58096 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22041 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22040 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22074 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22118 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22117 8.7 HIGH Linux kernel 安全漏洞
CVE-2025-22108 8.6 HIGH Linux kernel 安全漏洞
CVE-2025-22121 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-22080 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-22038 8.3 HIGH Linux kernel 安全漏洞
CVE-2025-22043 8.1 HIGH Linux kernel 安全漏洞
CVE-2025-22042 8.1 HIGH Linux kernel 安全漏洞
CVE-2025-22085 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-22045 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-22077

暂无评论


发表评论