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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-19737— ESP32 I2S驱动空指针解引用漏洞

一分钟漏洞结论

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

以下是对该漏洞描述信息的中文翻译: 中的 函数仅在 方向时验证了请求的方向参数。对于 和 分支,代码直接读取了 / ,而未先检查流(stream)指针的有效性。 设备实例化宏 会将设备树中未描述的方向对应的 和 字段设置为 。因此,在仅连接单一方向(这是音频输出或 Worldsemi WS2812-I2S LED 灯带的典型配置)的设备实例上,对另一个未配置方向的访问会导致空指针解引用,而非返回错误。 是 Zephyr 的系统调用(syscall),位于 中的 函数仅验证了设备对象和触发 API 指针的存在;而 参

CVSS 5.5 · Medium

影响版本矩阵 1

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

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

漏洞信息

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

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

Vulnerability Title
NULL pointer dereference in the ESP32 I2S driver when triggering an unsupported direction
来源: CVE Program / CVE List V5
Vulnerability Description
i2s_esp32_trigger_check() in drivers/i2s/i2s_esp32.c validates the requested direction only for I2S_DIR_BOTH. The I2S_DIR_RX and I2S_DIR_TX branches read dev_cfg->rx.data->configured / dev_cfg->tx.data->configured without first checking the stream pointers. The device instantiation macro I2S_ESP32_STREAM_INIT() sets both .conf and .data to NULL for a direction the devicetree does not describe, so on an instance that wires only one direction — the normal shape for audio output or a worldsemi,ws2812-i2s LED strip — the other direction dereferences a NULL pointer instead of returning an error. i2s_trigger() is a Zephyr syscall, and z_vrfy_i2s_trigger() in drivers/i2s/i2s_handlers.c validates only the device object and the presence of the trigger API pointer; the dir argument is passed to the driver unvalidated. On a build with CONFIG_USERSPACE enabled, a user-mode thread that has been granted the I2S device can issue a single i2s_trigger() call naming the unwired direction and cause a load from address 0 in kernel mode. Among the Espressif parts that carry this driver, userspace is available in-tree only on RISC-V SoCs with CONFIG_RISCV_PMP, and v4.4.0 is the first release where that is buildable: the ESP32-C6 HPCORE selects RISCV_PMP when it is not built for MCUboot. ESP32-C5 in v4.4.x carries the same PMP-region and userspace linker support but does not select RISCV_PMP by default. Espressif Xtensa targets do not support Zephyr userspace, and in a non-userspace build the bad direction can only come from in-kernel application code. The impact is limited to availability: the access is a read at offset 0 of the missing stream structure, so there is no attacker-controlled offset, no write primitive and no information disclosure. With the default fatal-error handler the resulting exception halts the system, giving an unprivileged user-mode thread a system-wide denial of service. The fix adds the same pointer check the I2S_DIR_BOTH branch already performed and returns -ENOSYS for a direction the instance does not implement; the driver's other entry points (i2s_esp32_config_check(), i2s_esp32_config_get(), i2s_esp32_read(), i2s_esp32_write()) already guarded the pointers, and a static audit found no equivalent unguarded path. The driver defect is older than the affected range. The unguarded dereference is present from v4.2.0 (reached through i2s_esp32_trigger_stream(), whose if (stream) guard tests the address of a struct member and is never false) and takes its present i2s_esp32_trigger_check() form in v4.3.0. No in-tree Espressif configuration before v4.4.0 can run a user-mode thread, so in v4.2.x and v4.3.x the direction argument can only come from trusted kernel code. Those releases carry the bug but are not listed as affected; the fix has also been merged to v4.3-branch as hardening.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
空指针解引用
来源: CVE Program / CVE List V5

受影响产品

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

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

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

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

CVE-2026-19736 7.8 HIGH NXP MCUX TRNG熵驱动越界写入漏洞
CVE-2026-19669 7.8 HIGH 燃料计量系统调用验证器无界变长数组导致内核栈溢出
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-19735 4.8 MEDIUM Zephyr TCP栈可预测TCP初始序列号漏洞
CVE-2026-18418 3.4 LOW zbus 代理代理越界读取漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-19737

暂无评论


发表评论