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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-89788— Linux kernel ksmbd 释放后使用漏洞

一分钟漏洞结论

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

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix tree connection use-after-free in smb2_tree_connect() ksmbd_tree_conn_connect() publishes a new tree connection in sess->tree_conns with a single reference and returns its pointer t

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

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

漏洞信息

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

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

Vulnerability Title
ksmbd: fix tree connection use-after-free in smb2_tree_connect()
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix tree connection use-after-free in smb2_tree_connect() ksmbd_tree_conn_connect() publishes a new tree connection in sess->tree_conns with a single reference and returns its pointer to smb2_tree_connect(). The handler continues to initialize the object and build the response after publication. A concurrent session logoff can erase the connection and drop that reference, freeing the object while the handler still uses it. BUG: KASAN: slab-use-after-free in smb2_tree_connect+0xe3d/0xf90 smb2_tree_connect (fs/smb/server/smb2pdu.c:2872) handle_ksmbd_work process_one_work worker_thread kthread After xa_store() succeeds, take a second reference before releasing tree_conns_lock. The original reference belongs to the xarray entry and the second belongs to the creating smb2_tree_connect() handler. Keep the references balanced in every path: - On normal exit or an error after publication, smb2_tree_connect() drops its creator reference. Error cleanup also calls ksmbd_tree_conn_disconnect(), which drops the xarray reference only if it removes the exact entry. - SMB2 TREE_DISCONNECT uses the same helper to remove the entry and drop its xarray reference. The request's existing lookup reference remains owned by the request and is released by the existing cleanup. - Session LOGOFF removes each entry and drops its xarray reference. If it wins the race, later cleanup sees that the entry is gone and does not drop that reference again. To enforce this ownership, claim the disconnected state and erase the exact entry atomically under tree_conns_lock. This guarantees one drop for the xarray reference and one drop by each in-flight user, regardless of which teardown path wins. If logoff removes the entry before initialization completes, fail the connect instead of marking the detached object TREE_CONNECTED.
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 33b235a6e6ebe0f05f3586a71e8d281d00f71e2e ~ 4e30fbd26e84efa2e5cbec4eb11e126ac0c79313 -
Linux Linux 6.6 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2026-89788 其他参考 (2)

同批安全公告 · Linux · 2026-09-16 · 共 20 条

CVE-2026-89784 SunRPC rpcb_register_inet4/6 返回值检查漏洞
CVE-2026-89774 Linux内核蓝牙SCO连接准备函数缺陷
CVE-2026-89775 KVM arm64 VNCR TLB大小计算漏洞
CVE-2026-89776 vxlan: vnifilter 属性长度校验缺陷
CVE-2026-89778 isofs 空 zisofs 块页面数组越界访问漏洞
CVE-2026-89777 vfio/pci初始化失败时未清空msi_perm内存泄漏
CVE-2026-89779 NTFS3文件系统efs size验证缺陷
CVE-2026-89781 Linux NTFS3 驱动越界读取漏洞
CVE-2026-89780 Qualcomm rmnet 去聚合帧 skb->dev 恢复漏洞
CVE-2026-89782 NTFS3 fs/ntfs3 拒绝重启表增长漏洞
CVE-2026-89793 ublk 只读设备 mmap 权限清除漏洞
CVE-2026-89783 Linux内核 xfrm6 越界写入漏洞
CVE-2026-89785 Linux内核ntfs3驱动越界读取漏洞
CVE-2026-89787 Ext4 文件系统 ext4_search_dir 缓冲区溢出漏洞
CVE-2026-89786 Linux内核ext4文件系统越界读取漏洞
CVE-2026-89790 Linux内核ipv6模块除零漏洞
CVE-2026-89789 Linux内核GTP驱动UAF漏洞
CVE-2026-89791 Linux perf 工具竞态导致 UAF 漏洞
CVE-2026-89792 Linux ksmbd 共享配置越界读取漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-89788

暂无评论


发表评论