{"id":10712,"date":"2026-09-04T18:51:23","date_gmt":"2026-09-04T10:51:23","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-12633"},"modified":"2026-09-04T18:51:23","modified_gmt":"2026-09-04T10:51:23","slug":"cve-2026-12633","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-12633","title":{"rendered":"CVE-2026-12633 [HIGH] &#8211; The IPv6 neighbor-discovery code in subsys\/net\/ip\/ipv6_nbr.c processes the 6LoWPAN Context"},"content":{"rendered":"<p>The IPv6 neighbor-discovery code in subsys\/net\/ip\/ipv6_nbr.c processes the 6LoWPAN Context Option (6CO, RFC 6775) carried inside ICMPv6 Router Advertisements. In handle_ra_6co() the 8-bit context_len field is taken directly from the packet and was never bounded to the RFC maximum of 128. The function computes context-&gt;context_len \/ 8 and then performs memset(context-&gt;prefix + context_len, 0, sizeof(context-&gt;prefix) &#8211; context_len), where context-&gt;prefix is a fixed 16-byte array.<\/p>\n<p>With context_len between 136 and 255 (and the option length field set to 3, which the pre-fix validation accepts), context_len \/ 8 evaluates to 17..31, so the memset length 16 &#8211; context_len\/8 underflows the unsigned size_t argument to roughly SIZE_MAX. This produces an unbounded out-of-bounds memset that zeroes kernel memory well past the 6lo context structure.<\/p>\n<p>The defect is reachable from unauthenticated, link-local input: any host on the same link can send a crafted Router Advertisement with a 6CO option. The RA handler validates only the option length field before calling handle_ra_6co(), so a single packet triggers the wild write. The code is compiled when CONFIG_NET_6LO_CONTEXT is enabled.<\/p>\n<p>The impact is a reliable remote (adjacent) denial of service via memory corruption, with collateral integrity loss as the memset zeroes contiguous memory before the system faults. Router Advertisements are link-scoped and not forwarded, so the attacker must be on the same link (AV:A). The fix rejects any context_len greater than 128 before the length computation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The IPv6 neighbor-discovery code in subsys\/net\/ip\/ipv6_nbr.c processes the 6LoWPAN Context Option (6CO, RFC 6775) carried inside ICMPv6 Router Advertisements. In handle_ra_6co() the 8-bit context_len <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-10712","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/10712","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=10712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}