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

目标: 1000 元 · 已筹: 1336

100%

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

CVSS 9.8 · Critical EPSS 0.18% · P7

可能的 ATT&CK 技术 1AI

T1211 · Exploitation for Stealth

影响版本矩阵 11

厂商产品版本范围状态
LinuxLinux7f0cb478703cbeaddfe5c9101c5c73cd975d1073< 3a436932eb397e909d0607d76a8325abd9d85a35affected
d484d621d40f4a8b8959008802d79bef3609641b< 95f072ef934ca00711d510676b8792cbf59a5aaeaffected
d484d621d40f4a8b8959008802d79bef3609641b< 5da69a65b282d2276de22e5194ba0f88c836170caffected
d484d621d40f4a8b8959008802d79bef3609641b< 1f8f3246d55f89350a1a67bdf3744b7241048e4eaffected
d484d621d40f4a8b8959008802d79bef3609641b< bf736184d063da1a552ffeff0481813599a182ccaffected
6.11affected
< 6.11unaffected
6.12.92≤ 6.12.*unaffected
… +3 条更多
获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
ksmbd: close durable scavenger races against m_fp_list lookups
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: close durable scavenger races against m_fp_list lookups ksmbd_durable_scavenger() has two related races against any walker that iterates f_ci->m_fp_list, including ksmbd_lookup_fd_inode() (used by ksmbd_vfs_rename) and the share-mode checks in fs/smb/server/smb_common.c. (1) fp->node list-head reuse. Durable-preserved handles can remain linked on f_ci->m_fp_list after session teardown so share-mode checks still see them while the handle is reconnectable. The scavenger collected expired handles by adding fp->node to a local scavenger_list after removing them from the global durable idr. Because fp->node is the same list_head used by m_fp_list, list_add(&fp->node, &scavenger_list) overwrites the m_fp_list links and corrupts both lists. CONFIG_DEBUG_LIST can report this on the share-mode walk path. (2) Refcount race against m_fp_list walkers. The scavenger qualifies an expired durable handle with atomic_read(&fp->refcount) > 1 and fp->conn under global_ft.lock, removes fp from global_ft, then drops global_ft.lock before unlinking fp from m_fp_list and freeing it. During that gap fp is still linked on m_fp_list with f_state == FP_INITED. ksmbd_lookup_fd_inode() under m_lock read calls ksmbd_fp_get() (atomic_inc_not_zero on refcount that is still 1) and takes a live reference; the scavenger then unlinks and frees fp while the holder owns a reference, leading to UAF on the holder's subsequent ksmbd_fd_put() and on any field reads performed by a concurrent share-mode walker that iterates m_fp_list without taking ksmbd_fp_get() (smb_check_perm_dleases-like paths). Fix both: * Stop reusing fp->node as a scavenger-private list node. Remove one expired handle from global_ft under global_ft.lock, take an explicit transient reference, drop the lock, unlink fp->node from m_fp_list under f_ci->m_lock, then drop both the durable lifetime and transient references with atomic_sub_and_test(2, &fp->refcount). If the scavenger is the last putter the close runs there; otherwise an in-flight holder that already raced through the m_fp_list lookup owns the final close via its ksmbd_fd_put() path. The one-at-a-time disposal can rescan the durable idr when multiple handles expire in the same pass, but durable scavenging is a background expiration path and the final full scan recomputes min_timeout before the next wait. * Clear fp->persistent_id inside __ksmbd_remove_durable_fd() right after idr_remove(), so a delayed final close from a holder that snatched fp does not re-issue idr_remove() on a persistent id that idr_alloc_cyclic() in ksmbd_open_durable_fd() may have already handed out to a brand-new durable handle. * Bypass the per-conn open_files_count decrement in __put_fd_final() when fp is detached from any session table (fp->conn cleared by session_fd_check() at durable preserve -- paired with the volatile_id clear at unpublish, so checking fp->conn alone is sufficient). The walker that owns the final close runs from an unrelated work->conn whose stats.open_files_count never tracked this durable fp; without this guard the holder would underflow that unrelated counter. The two races are folded into one patch because patch (1) alone cleans up the corrupted list but leaves a deterministic UAF window for m_fp_list walkers that the transient-reference and persistent_id discipline in (2) close; bisecting onto an intermediate state would land on a UAF that pre-patch chaos merely made less reproducible. Validation: * CONFIG_DEBUG_LIST coverage for the list_head reuse path. * KASAN-enabled direct SMB2 durable-handle coverage that exercised ksmbd_durable_scavenger() and non-NULL ksmbd_lookup_fd_inode() returns while durable handles expired under concurrent rename lookups, with no KASAN, UAF, list-corruption, ODEBUG, or WARNING reports. ---truncated---
来源: 美国国家漏洞数据库 NVD
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Title
Linux kernel 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Linux kernel是美国Linux基金会开源的一款操作系统内核。 Linux kernel 6.11版本存在释放后重用漏洞,该漏洞源于ksmbd_durable_scavenger()中存在列表头重用和引用计数竞争条件,可能导致释放后重用。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux 7f0cb478703cbeaddfe5c9101c5c73cd975d1073 ~ 3a436932eb397e909d0607d76a8325abd9d85a35 -
LinuxLinux 6.11 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2026-64142 补丁与修复 (4)

同批安全公告 · Linux · 2026-07-19 · 共 431 条

CVE-2026-6379510.0 CRITICALLinux kernel 安全漏洞
CVE-2026-638009.8 CRITICALLinux kernel 安全漏洞
CVE-2026-640559.8 CRITICALLinux kernel 安全漏洞
CVE-2026-640569.8 CRITICALLinux kernel 安全漏洞
CVE-2026-640619.8 CRITICALLinux kernel 安全漏洞
CVE-2026-640669.8 CRITICALLinux kernel 安全漏洞
CVE-2026-640679.8 CRITICALLinux kernel 安全漏洞
CVE-2026-640689.8 CRITICALLinux 安全漏洞
CVE-2026-640699.8 CRITICALLinux kernel 安全漏洞
CVE-2026-638089.8 CRITICALLinux kernel 安全漏洞
CVE-2026-640899.8 CRITICALLinux kernel 安全漏洞
CVE-2026-641259.8 CRITICALLinux kernel 安全漏洞
CVE-2026-533989.8 CRITICALLinux kernel 安全漏洞
CVE-2026-641369.8 CRITICALLinux kernel 安全漏洞
CVE-2026-641329.8 CRITICALLinux kernel 安全漏洞
CVE-2026-533999.8 CRITICALLinux kernel 安全漏洞
CVE-2026-641139.8 CRITICALLinux kernel 安全漏洞
CVE-2026-640479.8 CRITICALLinux kernel 安全漏洞
CVE-2026-641029.8 CRITICALLinux kernel 安全漏洞
CVE-2026-640919.8 CRITICALLinux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-64142

暂无评论


发表评论