CVE-2026-115531: Out-of-bounds read in illumos ICMPv6 Packet Too Big handling discloses kernel memory to local users
An out-of-bounds read in illumos ICMPv6 Packet Too Big processing allows kernel heap memory to be disclosed to local users. ipgetdstv6() in usr/src/uts/common/inet/ip/ip6.c finds the final destination of the packet quoted in an inbound ICMPv6 error by looking for a routing header. It parses the header before the routing header, not the routing header. When the quoted packet's IPv6 header is immediately followed by a routing header, fields of the fixed IPv6 header are interpreted as the routing header's length and segments-left values. icmpinboundtoobigv6() calls ipgetdstv6() without the message block that would limit the read. A 16-byte address is therefore read from up to about 2 KB beyond the start of the quoted header, which can be past the end of the received packet. Those 16 bytes become the destination address of a new destination cache entry, which any local user can display with netstat(8). An attacker needs to be able to send a crafted ICMPv6 Packet Too Big message to the system, and to have an unprivileged local account. Such an attacker can read kernel heap memory, 16 bytes per message. The flaw has existed since 2009 (illumos-gate commit bd670b35), and affects any illumos distribution prior to illumos-gate commit 3835386d.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 3835386d
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Systems running the affected illumos code are exposed if an attacker can send crafted ICMPv6 Packet Too Big messages to the host and also has an unprivileged local account. The local account is needed to view the resulting destination cache entry with netstat(8).
What does an attacker need to exploit the flaw?
The attacker must be able to transmit a crafted inbound ICMPv6 Packet Too Big message whose quoted IPv6 packet has a routing header immediately after the IPv6 header. They also need an unprivileged local account to retrieve the disclosed data.
How can a local user determine whether disclosure has occurred?
The crafted packet causes 16 bytes read beyond the quoted packet to be used as the destination address of a new destination cache entry. A local user can display that destination cache entry using netstat(8).
How much memory can be disclosed?
Each crafted message can disclose 16 bytes of kernel heap memory. The read can extend up to about 2 KB beyond the start of the quoted header and may pass the end of the received packet.