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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-19669— 燃料计量系统调用验证器无界变长数组导致内核栈溢出

一分钟漏洞结论

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

Zephyr 内核中 文件下的用户态系统调用验证函数 和 声明了两个变长数组(VLA): 和 。这两个数组的大小直接由调用者提供的 参数决定。 是一个未经验证的 类型值,直接来自系统调用 ABI。这些变长数组是在任何检查之前分配的,甚至早于 对象权限检查。随后的 调用仅验证用户源缓冲区是否可读,而内核目的缓冲区从未进行过边界检查,因为其大小与攻击者控制的 相同。 任何在用户模式下运行且启用了 的线程都可以使用较大的 值调用 或 。这首先以任意攻击者选择的数量偏移了监督栈指针——由于 Zephyr 未启用栈冲突检测(

CVSS 7.8 · High EPSS 0.12% · P2

影响版本矩阵 1

厂商产品 版本范围状态
zephyrproject zephyr 3.4.0< 4.5.0 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Unbounded variable-length array in fuel gauge syscall verifiers allows kernel stack overflow from user mode
来源: CVE Program / CVE List V5
Vulnerability Description
The user-mode syscall verifiers z_vrfy_fuel_gauge_get_props() and z_vrfy_fuel_gauge_set_props() in drivers/fuel_gauge/fuel_gauge_syscall_handlers.c declared two variable-length arrays, union fuel_gauge_prop_val k_vals[len] and fuel_gauge_prop_t k_props[len], sized directly by the caller-supplied len argument. len is an unvalidated size_t taken straight from the syscall ABI, and the VLAs were allocated before any check at all — including before the K_SYSCALL_DRIVER_FUEL_GAUGE() object-permission check. The subsequent k_usermode_from_copy() calls validated only that the user source buffer was readable; the kernel destination was never bounds-checked, since it was sized by the same attacker-chosen len. Any thread running in user mode with CONFIG_USERSPACE enabled can invoke fuel_gauge_get_props() or fuel_gauge_set_props() with a large len. This first displaces the supervisor stack pointer by an arbitrary attacker-chosen amount — Zephyr does not build with stack-clash probing, so the displacement itself does not fault, and the nested calls made by the verifier then write frames below the privileged stack. If the caller has been granted access to a fuel-gauge device object, the memcpy inside k_usermode_from_copy() additionally writes len * sizeof(union fuel_gauge_prop_val) bytes of fully attacker-controlled data starting well below the stack base. CONFIG_PRIVILEGED_STACK_SIZE defaults to 1024 bytes, so a len of roughly 170 already exhausts it. The result is an out-of-bounds write in supervisor mode with attacker-controlled length and, on the permitted path, attacker-controlled content — a break out of the user-mode sandbox into kernel memory, leading to kernel code execution or a system crash. A stack guard region does not contain it, because the copy begins below the guard and walks upward, corrupting unprotected memory before the guard is reached. The fix removes the kernel-side copies entirely and validates the caller's arrays in place with K_SYSCALL_MEMORY_ARRAY_READ() / K_SYSCALL_MEMORY_ARRAY_WRITE(), which also handle the len * size multiplication overflow; this is safe because neither fuel_gauge_prop_t nor union fuel_gauge_prop_val contains embedded pointers.
来源: 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
跨界内存写
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
zephyrproject zephyr 3.4.0 ~ 4.5.0 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-19669 补丁与修复 (1)

CVE-2026-19669 厂商安全公告 (1)

同批安全公告 · zephyrproject · 2026-10-11 · 共 11 条

CVE-2026-19736 7.8 HIGH NXP MCUX TRNG熵驱动越界写入漏洞
CVE-2026-19935 7.5 HIGH Zephyr蓝牙协议栈L2CAP通道使用后释放漏洞
CVE-2026-19577 7.1 HIGH IPv6路由转发中越界读取漏洞
CVE-2026-19576 6.8 MEDIUM Goodix GT911 触摸屏控制器驱动栈外写入漏洞
CVE-2026-19740 6.5 MEDIUM 蓝牙LE控制器:PHY更新过程中的RX节点泄露和可达断言漏洞
CVE-2026-19738 6.5 MEDIUM 蓝牙控制器CIS创建过程中保留RX节点泄漏及可达断言漏洞
CVE-2026-19739 6.5 MEDIUM 蓝牙LE控制器连接更新时意外LL控制PDU导致内存泄漏
CVE-2026-19737 5.5 MEDIUM ESP32 I2S驱动空指针解引用漏洞
CVE-2026-19735 4.8 MEDIUM Zephyr TCP栈可预测TCP初始序列号漏洞
CVE-2026-18418 3.4 LOW zbus 代理代理越界读取漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-19669

暂无评论


发表评论