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

目标: 1000 元 · 已筹: 1359 元

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未验证mnt_ns_from_dentry返回值,可能导致空指针取消引用。

AI 预测 7.8 利用难度: 中等 EPSS 0.18% · P8

影响版本矩阵 6

厂商产品 版本范围状态
Linux Linux 58f5fbeb367ff6f30a2448b2cad70f70b2de4b06< 73ce2a774ad6497cbd48dc4f8a5d699bc417f3fa affected
58f5fbeb367ff6f30a2448b2cad70f70b2de4b06< 62e59ffe8787b5550ccff70c30b6f6be6a3ac3dd affected
6.16 affected
< 6.16 unaffected
6.17.3≤ 6.17.* unaffected
6.18≤ * unaffected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
fanotify: Validate the return value of mnt_ns_from_dentry() before dereferencing
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: fanotify: Validate the return value of mnt_ns_from_dentry() before dereferencing The function do_fanotify_mark() does not validate if mnt_ns_from_dentry() returns NULL before dereferencing mntns->user_ns. This causes a NULL pointer dereference in do_fanotify_mark() if the path is not a mount namespace object. Fix this by checking mnt_ns_from_dentry()'s return value before dereferencing it. Before the patch $ gcc fanotify_nullptr.c -o fanotify_nullptr $ mkdir A $ ./fanotify_nullptr Fanotify fd: 3 fanotify_mark: Operation not permitted $ unshare -Urm Fanotify fd: 3 Killed int main(void){ int ffd; ffd = fanotify_init(FAN_CLASS_NOTIF | FAN_REPORT_MNT, 0); if(ffd < 0){ perror("fanotify_init"); exit(EXIT_FAILURE); } printf("Fanotify fd: %d\n",ffd); if(fanotify_mark(ffd, FAN_MARK_ADD | FAN_MARK_MNTNS, FAN_MNT_ATTACH, AT_FDCWD, "A") < 0){ perror("fanotify_mark"); exit(EXIT_FAILURE); } return 0; } After the patch $ gcc fanotify_nullptr.c -o fanotify_nullptr $ mkdir A $ ./fanotify_nullptr Fanotify fd: 3 fanotify_mark: Operation not permitted $ unshare -Urm Fanotify fd: 3 fanotify_mark: Invalid argument [ 25.694973] BUG: kernel NULL pointer dereference, address: 0000000000000038 [ 25.695006] #PF: supervisor read access in kernel mode [ 25.695012] #PF: error_code(0x0000) - not-present page [ 25.695017] PGD 109a30067 P4D 109a30067 PUD 142b46067 PMD 0 [ 25.695025] Oops: Oops: 0000 [#1] SMP NOPTI [ 25.695032] CPU: 4 UID: 1000 PID: 1478 Comm: fanotify_nullpt Not tainted 6.17.0-rc4 #1 PREEMPT(lazy) [ 25.695040] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 11/12/2020 [ 25.695049] RIP: 0010:do_fanotify_mark+0x817/0x950 [ 25.695066] Code: 04 00 00 e9 45 fd ff ff 48 8b 7c 24 48 4c 89 54 24 18 4c 89 5c 24 10 4c 89 0c 24 e8 b3 11 fc ff 4c 8b 54 24 18 4c 8b 5c 24 10 <48> 8b 78 38 4c 8b 0c 24 49 89 c4 e9 13 fd ff ff 8b 4c 24 28 85 c9 [ 25.695081] RSP: 0018:ffffd31c469e3c08 EFLAGS: 00010203 [ 25.695104] RAX: 0000000000000000 RBX: 0000000001000000 RCX: ffff8eb48aebd220 [ 25.695110] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8eb4835e8180 [ 25.695115] RBP: 0000000000000111 R08: 0000000000000000 R09: 0000000000000000 [ 25.695142] R10: ffff8eb48a7d56c0 R11: ffff8eb482bede00 R12: 00000000004012a7 [ 25.695148] R13: 0000000000000110 R14: 0000000000000001 R15: ffff8eb48a7d56c0 [ 25.695154] FS: 00007f8733bda740(0000) GS:ffff8eb61ce5f000(0000) knlGS:0000000000000000 [ 25.695162] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 25.695170] CR2: 0000000000000038 CR3: 0000000136994006 CR4: 00000000003706f0 [ 25.695201] Call Trace: [ 25.695209] <TASK> [ 25.695215] __x64_sys_fanotify_mark+0x1f/0x30 [ 25.695222] do_syscall_64+0x82/0x2c0 ...
来源: 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存在安全漏洞,该漏洞源于未验证mnt_ns_from_dentry返回值,可能导致空指针取消引用。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 58f5fbeb367ff6f30a2448b2cad70f70b2de4b06 ~ 73ce2a774ad6497cbd48dc4f8a5d699bc417f3fa -
Linux Linux 6.16 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

同批安全公告 · Linux · 2025-10-28 · 共 58 条

CVE-2025-40074 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-40043 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-40039 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-40058 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-40046 8.6 HIGH Linux kernel 安全漏洞
CVE-2025-40068 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-40075 8.1 HIGH Linux kernel 安全漏洞
CVE-2025-40026 7.9 HIGH Linux kernel 安全漏洞
CVE-2025-40027 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40051 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40061 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40081 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40079 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40028 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40041 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40054 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40044 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40045 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40025 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-40047 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-40072

暂无评论


发表评论