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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-13212— Zephyr virtio 驱动使用越界描述符 ID 调用任意函数指针漏洞

一分钟漏洞结论

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

Zephyr 系统中的 virtio 驱动程序未对 virtio 设备写入使用环(used ring)的描述符链头 ID 进行验证。在 函数(位于 )中,设备写入的 被直接用作 和 数组的索引,而这两个数组均仅分配了恰好 个条目。 中存储的是包含回调函数指针和不透明参数(opaque)的 回调条目,随后通过索引获取回调指针并以 的形式进行调用。 由于该 ID 被作为 16 位无符号整数直接消费且未进行边界检查,恶意或已遭控制的 virtio 后端(例如不受信任的 hypervisor,或通过 PCI 或 MMIO

CVSS 8.8 · High
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Zephyr virtio driver calls an arbitrary function pointer from an out-of-range used-ring descriptor id
来源: CVE Program / CVE List V5
Vulnerability Description
The Zephyr virtio driver does not validate the descriptor-chain head id that the virtio device writes into the used ring. In virtio_isr() (drivers/virtio/virtio_common.c), the device-written vq->used->ring[idx].id is used directly as an index into vq->recv_cbs[] and vq->desc[], which are both allocated with exactly vq->num entries. recv_cbs[] holds {cb, opaque} callback entries, and the indexed callback pointer is then invoked as cbe.cb(cbe.opaque, used_len). Because the id is consumed as a 16-bit value with no bound check, a malicious or compromised virtio backend (an untrusted hypervisor, or an untrusted hardware/peer-processor virtio device on a PCI or MMIO transport) can supply an id far beyond vq->num. This causes an out-of-bounds read of a {function pointer, argument} pair from heap memory beyond recv_cbs[], after which the driver calls that attacker-shaped pointer in the guest's interrupt context. No guest privileges or user interaction are required; the backend triggers it by writing the shared used ring and raising the queue interrupt. The result is an arbitrary / attacker-influenced function-pointer call in the Zephyr guest, i.e. a control-flow-hijack primitive that can lead to code execution or, at minimum, a reliable crash. The fix rejects any used-ring id >= vq->num before indexing recv_cbs[]/desc[] or invoking the callback. This affects builds using CONFIG_VIRTIO with the PCI or MMIO transport.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:A/AC:L/PR:N/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 4.2.0 ~ 4.4.2 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

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

同批安全公告 · zephyrproject · 2026-08-24 · 共 4 条

CVE-2026-9728 6.4 MEDIUM mbox_send系统调用TOCTOU竞态导致内核内存泄露
CVE-2026-13343 5.3 MEDIUM MIDI 2.0 UMP 流响应者未初始化栈内存泄露漏洞
CVE-2026-13213 5.3 MEDIUM 蓝牙HAS:bonded对等体重连时的空指针解引用DoS漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-13212

暂无评论


发表评论