A use after free in the illumos IPv4 ICMP error generation path allows a remote attacker to cause the kernel to read freed memory. The flaw is in icmp_pkt() in usr/src/uts/common/inet/ip/ip.c. It applies to ICMP errors generated in response to IPv4 packets that encapsulate IPv4 or IPv6 (IP protocol 4 or 41). For such a packet, icmp_pkt() computes a pointer to the inner IP header and then calls pullupmsg(). If the packet spans more than one message block, as it does after fragment reassembly, pullupmsg() copies the data into a new buffer and frees the original. The stale pointer is then used to parse the inner header. A remote, unauthenticated attacker can send a fragmented IP-in-IP packet that elicits an ICMP error to cause the kernel to parse freed kernel heap memory as an IP header. The result determines how much of the original packet is quoted in the ICMP error that is returned. The flaw has existed since 2021 (illumos-gate commit 9495f63e), and affects any illumos distribution prior to illumos-gate commit bdccbe63.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

Update to an illumos distribution release that includes the fix for illumos issue 18604.


Workaround

No workaround given by the vendor.

History

Tue, 01 Dec 2026 20:45:00 +0000

Type Values Removed Values Added
Description A use after free in the illumos IPv4 ICMP error generation path allows a remote attacker to cause the kernel to read freed memory. The flaw is in icmp_pkt() in usr/src/uts/common/inet/ip/ip.c. It applies to ICMP errors generated in response to IPv4 packets that encapsulate IPv4 or IPv6 (IP protocol 4 or 41). For such a packet, icmp_pkt() computes a pointer to the inner IP header and then calls pullupmsg(). If the packet spans more than one message block, as it does after fragment reassembly, pullupmsg() copies the data into a new buffer and frees the original. The stale pointer is then used to parse the inner header. A remote, unauthenticated attacker can send a fragmented IP-in-IP packet that elicits an ICMP error to cause the kernel to parse freed kernel heap memory as an IP header. The result determines how much of the original packet is quoted in the ICMP error that is returned. The flaw has existed since 2021 (illumos-gate commit 9495f63e), and affects any illumos distribution prior to illumos-gate commit bdccbe63.
Title Use after free in illumos ICMP error generation for IPv4-encapsulated packets
Weaknesses CWE-416
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/AU:Y/R:U'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: illumos

Published:

Updated: 2026-12-01T20:32:08.837Z

Reserved: 2026-10-22T18:57:54.380Z

Link: CVE-2026-115530

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-01T21:16:53.013

Modified: 2026-12-01T21:16:53.013

Link: CVE-2026-115530

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses