{"id":22040,"date":"2026-09-14T08:30:36","date_gmt":"2026-09-14T00:30:36","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-15891"},"modified":"2026-09-14T08:30:36","modified_gmt":"2026-09-14T00:30:36","slug":"cve-2026-15891","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-15891","title":{"rendered":"CVE-2026-15891 [HIGH] &#8211; The MQTT-SN client keepalive handler process_ping() in subsys\/net\/lib\/mqtt_sn\/mqtt_sn.c re"},"content":{"rendered":"<p>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(&amp;client-&gt;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.<\/p>\n<p>The code then dereferences the NULL gw (gw-&gt;gw_id) and passes it to mqtt_sn_gw_destroy(), reaching k_mem_slab_free(&amp;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-&gt;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.<\/p>\n<p>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&#8217;s PINGRESPs), forces the client into the defect. MQTT-SN runs over UDP and no authentication is required.<\/p>\n<p>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&#8217;s return value to gw.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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(&amp;client<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-22040","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/22040","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=22040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=22040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}