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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-99018— RISC-V 内核影子调用栈加载逻辑缺陷

一分钟漏洞结论

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

在 Linux 内核中,以下漏洞已得到修复: riscv: entry: 根据 sstatus.SPP 而非 tp 寄存器来重新加载门控影子调用栈 在启用 配置时, 函数仅当异常(trap)来自用户空间时,才会重新加载内核影子调用栈指针(即 gp 寄存器)。该函数原本通过 来判断是否来自用户空间:它将捕获时刻的 tp 值(从 sscratch 寄存器读回 s5)与当前的 tp 值进行比较: 然而,tp 是一个用户可写的寄存器。如果用户空间任务在触发异常前,将 tp 设置为自身 的线性映射地址(即 ),则上述比较将成

CVSS 7.8 · High EPSS 0.18% · P7

影响版本矩阵 10

厂商产品 版本范围状态
Linux Linux d1584d791a297aa8ed93503382a682a6ecfc4218< 6639735367a7d491977e9e5e7afc50b489d81d83 affected
d1584d791a297aa8ed93503382a682a6ecfc4218< 7d1367a53137e379498eb8791295e58854378636 affected
d1584d791a297aa8ed93503382a682a6ecfc4218< 37b4401ee6fa06046446d55e97e8d11784080843 affected
d1584d791a297aa8ed93503382a682a6ecfc4218< 4d0697f192975dab5985e921989be1d85cf580e9 affected
6.7 affected
< 6.7 unaffected
6.12.113≤ 6.12.* unaffected
6.18.57≤ 6.18.* unaffected
… +2 条更多
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
riscv: entry: gate shadow call stack reload on sstatus.SPP, not tp
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: riscv: entry: gate shadow call stack reload on sstatus.SPP, not tp Under CONFIG_SHADOW_CALL_STACK, handle_exception() reloads the kernel shadow call stack pointer (gp) only when the trap came from userspace. It made that decision with scs_load_current_if_task_changed, which compares the trap-time tp (read back from sscratch into s5) against the current tp: beq \prev, tp, _skip_scs scs_load_current _skip_scs: tp is a user-writable register. A user task that sets tp to the linear-map address of its own task_struct (&current) before trapping makes the comparison succeed (can achieve by brute force with KASLR enable under our test), so the kernel skips scs_load_current and keeps running with the gp that userspace left in place. Under CONFIG_SHADOW_CALL_STACK gp is the shadow call stack pointer and load_global_pointer is a no-op, so the compiler-emitted "sd ra, -8(gp)" / "ld ra, -8(gp)" in every non-leaf function then write to, and return through, an attacker-controlled address -- an unprivileged kernel arbitrary-write and control-flow-hijack primitive. The poisoned gp is saved to task_struct.scs_sp on return, so the reload is skipped on every subsequent entry as well. Decide "came from userspace" from the hardware sstatus.SPP bit (already in s1 at this point) instead of from tp, mirroring the check that ret_from_exception already uses a few instructions later. SPP is written by hardware on trap entry and cannot be forged from U-mode. Legitimate behaviour is unchanged: user entries (SPP=0) reload the task shadow call stack, nested kernel entries (SPP=1) skip it.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux d1584d791a297aa8ed93503382a682a6ecfc4218 ~ 6639735367a7d491977e9e5e7afc50b489d81d83 -
Linux Linux 6.7 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

同批安全公告 · Linux · 2026-10-23 · 共 217 条

CVE-2026-98959 9.8 CRITICAL btrfs 扩展属性替换处理远程代码执行漏洞
CVE-2026-99078 9.8 CRITICAL Mellanox mlx5e MPWQE重试时XSK缓冲区释放漏洞
CVE-2026-99079 9.8 CRITICAL Mellanox mlx5e 驱动 XSK 缓冲区释放漏洞
CVE-2026-98988 8.8 HIGH Linux 5.13 命名空间越界漏洞
CVE-2026-99083 8.8 HIGH ksmbd 的 krb5_authenticate() 函数堆越界写漏洞
CVE-2026-99082 8.8 HIGH KVM x86 内存管理漏洞
CVE-2026-98870 8.8 HIGH ksmbd 会话清理时存在通道移除逻辑漏洞
CVE-2026-98980 8.8 HIGH namei 遍历中过度挂载条目信息泄露漏洞
CVE-2026-98981 8.8 HIGH Linux 内核命名空间 dentry 解挂载前未哈希漏洞
CVE-2026-99042 8.4 HIGH io_uring 24 字节 sockaddr_in6 过滤字段填充漏洞
CVE-2026-98978 8.4 HIGH Linux 命名空间 锁定挂载永不失效漏洞
CVE-2026-99064 8.1 HIGH CIPSO 缓存选项偏移调整漏洞
CVE-2026-98968 8.1 HIGH AMT 中继通用查询远程代码执行漏洞
CVE-2026-99016 7.8 HIGH RISC-V futex 用户指针未去标签原子访问漏洞
CVE-2026-99012 7.8 HIGH Linux 蓝牙 ISO 并发连接序列化漏洞
CVE-2026-99002 7.8 HIGH vmwgfx 驱动用户空间 pitch 参数验证漏洞
CVE-2026-98899 7.8 HIGH Linux netfilter ipset 竞态条件漏洞
CVE-2026-99006 7.8 HIGH i915 GEM 执行数组越界漏洞
CVE-2026-98999 7.8 HIGH Intel Xe DRM 驱动程序链接表项失效漏洞
CVE-2026-99032 7.8 HIGH Linux 内核 SMC 模块 信息泄露漏洞

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

IV. Related Vulnerabilities