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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-15891— Zephyr MQTT客户端网关移除空指针解引用

一分钟漏洞结论

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

中的 MQTT-SN 客户端 keepalive 处理函数 在 PINGREQ 重试次数用尽后,会移除网关记录。该代码调用了 ,但丢弃了其返回值。该宏是一个纯表达式,并未对 进行赋值,因此无论链表内容如何, 始终保留其初始化值 NULL。 随后,代码对 NULL 指针 进行解引用( ),并将其传递给 ,最终到达 。当启用 时,这将触发 ;在默认配置下,它会通过 NULL 指针进行写操作( ),从而破坏 slab 空闲链表。其结果是导致系统崩溃/内核恐慌,或者在地址 0 可写的目标平台上造成静默的内存分配器损坏。 当

CVSS 7.5 · High

可能的 ATT&CK 技术 1 AI

T1495 · Firmware Corruption
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
NULL pointer dereference in Zephyr MQTT-SN client when removing a non-responsive gateway
来源: CVE Program / CVE List V5
Vulnerability Description
The MQTT-SN client keepalive handler process_ping() in subsys/net/lib/mqtt_sn/mqtt_sn.c removes the gateway record after PINGREQ retries are exhausted. It invoked SYS_SLIST_PEEK_HEAD_CONTAINER(&client->gateways, gw, next) but discarded the result. That macro is a pure expression that does not assign to gw, so gw retained its NULL initializer regardless of the list contents. The code then dereferences the NULL gw (gw->gw_id) and passes it to mqtt_sn_gw_destroy(), reaching k_mem_slab_free(&gateways, NULL). With CONFIG_MEM_SLAB_POINTER_VALIDATE enabled this triggers k_panic(); in the default configuration it performs a write through the NULL pointer ((char )mem = slab->free_list;) and corrupts the slab free list. The outcome is a crash/kernel panic or, on targets where address 0 is writable, silent memory-allocator corruption. The vulnerable branch runs whenever the connected MQTT-SN gateway fails to answer keepalive PINGREQs for the configured number of retries. This condition is controlled by the remote peer: a malicious or compromised gateway, or an on-path/adjacent attacker that advertises itself as a gateway and then stops responding (or blackholes the real gateway's PINGRESPs), forces the client into the defect. MQTT-SN runs over UDP and no authentication is required. The impact is a remotely triggerable denial of service (availability) of the affected MQTT-SN client; there is no attacker-controlled data written. The sibling remover process_advertise() uses SYS_SLIST_FOR_EACH_CONTAINER_SAFE and is not affected. The fix assigns the macro's return value to gw.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/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.1.0 ~ 4.4.2 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-15891

暂无评论


发表评论