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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-78119— Nuvoton NPCX 越界写入漏洞

一分钟漏洞结论

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

Nuvoton NPCX 的 eSPI 驱动程序在 函数(位于 )中解析目标附加闪存(Target-Attached-Flash, TAF)请求时,直接从 FLASHRXBUF FIFO 的请求头中取出 12 位的长度字段。对于写操作和 RPMC OP1 请求,驱动程序将 个字(word)复制到 中;该成员是一个固定大小为 16 个字(64 字节)的静态结构体字段,但驱动程序从未将该长度与缓冲区大小或协商的 eSPI 接收负载大小(rx-plsize,在所有内核树中的 NPCX/NPCK SoC 上均为 64 字节

CVSS 6.3 · Medium

影响版本矩阵 1

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

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

漏洞信息

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

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

Vulnerability Title
Out-of-bounds write in the Nuvoton NPCX eSPI Target-Attached-Flash receive path from an unvalidated host-supplied packet length
来源: CVE Program / CVE List V5
Vulnerability Description
The Nuvoton NPCX eSPI driver parses Target-Attached-Flash (TAF) requests in espi_taf_parse() (drivers/espi/espi_npcx.c), taking the 12-bit length field directly out of the request header in the FLASHRXBUF FIFO. For write and RPMC OP1 requests it copied DIV_ROUND_UP(len, 4) words into struct espi_taf_pckt.src, a fixed 16-word (64-byte) member of a static structure, without ever comparing the length against that buffer or against the negotiated eSPI receive payload size (rx-plsize, 64 bytes on all in-tree NPCX/NPCK SoCs). Both the loop counter and the word count were uint8_t, so the copy ran up to 255 iterations. An eSPI controller that emits a flash request whose header claims a payload larger than the negotiated maximum therefore drives up to 239 32-bit stores past the end of the structure — roughly 956 bytes of out-of-bounds write into .bss — from the eSPI flash receive interrupt handler, while the source reads walk past the end of the 18-word FLASHRXBUF register array into neighbouring eSPI registers. The same unvalidated length was then passed on to flash_write() in espi_taf_npcx_flash_write() with the 64-byte src buffer as source, reading up to 4 KB of adjacent controller SRAM into SPI flash at a host-chosen address, where the host can read it back. A related fixed-size stack buffer in taf_npcx_completion_handler() was overflowed by four bytes on the maximum-size completion path on SoCs whose tx-plsize is 64. The defect is reachable only from the eSPI host side, and only by a request that violates the negotiated payload size, so it requires host firmware or bus-level control rather than ordinary host software; a compliant maximum-length write fits the buffer exactly and is handled correctly. Because TAF exists specifically so that the embedded controller arbitrates host access to shared flash (espi_taf_check_read_protect() / espi_taf_check_write_protect()), corrupting controller memory from a host-supplied field crosses the trust boundary the feature asserts; consequences range from controller crash or hang to corruption of driver state that gates the flash protection regions. The fix widens the counters, rejects any request whose word count exceeds both ARRAY_SIZE(FLASHRXBUF) - NPCX_ESPI_FLASH_HEADER_ADDRESS_LEN and NPCX_TAF_RX_PAYLOAD_WORDS (derived from the devicetree rx-plsize), marks such packets with a new invalid_flag so espi_taf_work() answers them with an unsuccessful completion instead of processing them, bounds the transmit payload against FLASHTXBUF, and adds a default case for unsupported cycle types. Only configurations with CONFIG_ESPI_TAF enabled on an NPCX/NPCK target are affected; no in-tree board enables it by default.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
来源: CVE Program / CVE List V5

受影响产品

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

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

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

CVE-2026-19676 7.8 HIGH PECI 系统调用验证器任意内核读写漏洞
CVE-2026-79976 7.1 HIGH Linux MCTP I2C+GPIO 空指针解引用漏洞
CVE-2026-78118 7.0 HIGH Linux 内核 SMP 竞态条件漏洞
CVE-2026-19947 5.3 MEDIUM Linux 内核 devmux 系统调用权限绕过漏洞
CVE-2026-78116 5.2 MEDIUM Broadcom AFBR-S50 驱动双重释放漏洞
CVE-2026-78117 4.2 MEDIUM 英飞凌 PSOC 6 BLESS 蓝牙驱动竞争条件漏洞
CVE-2026-18748 3.5 LOW 蓝牙经典 A2DP 编解码器信息元素处理越界读取漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-78119

暂无评论


发表评论