CVE-2026-114586

Out-of-bounds read and write in illumos STREAMS allow local privilege escalation

Published Dec 1, 2026 CVSS 4.0 · 8.5 High EPSS n/a KEV · Not listed
Description
Three memory-safety flaws in illumos STREAMS processing allow a local user to read and modify kernel heap memory and gain root privileges. First, the timod module in usr/src/uts/common/io/timod.c does not validate the offsets and lengths in a T_UNITDATA_REQ message sent by the calling process. timod is pushed onto transport endpoints opened through the XTI/TLI library. When tim_filladdr() rebuilds such a message, it copies the options from the OPT_offset in the message, which it applies relative to the end of the message and not the start. A crafted offset and length cause kernel heap memory outside the message to be copied into the new message. That memory includes the STREAMS data block header, which contains kernel pointers. On a connectionless loopback transport endpoint such as /dev/ticlts, those bytes are returned to the process in the resulting T_UDERROR_IND. Second, the I_FDINSERT handler in strioctl() in usr/src/uts/common/os/streamio.c compares the signed length of the control buffer with an unsigned value, so a negative length passes validation. The handler then writes a four-byte value at an offset chosen by the process, beyond the end of the allocated message. The value is the device minor number of the stream named in the request. An unprivileged local user can combine the two. The read locates the credential structure of their process, and the write sets the user ID in that structure to zero. Third, audit_sock() in usr/src/uts/common/c2/audit.c reads a socket address from a transport message at an offset taken from the message. It does not check that the address lies within the message, so when auditing is enabled this is a further out-of-bounds read. The flaws are present in all versions of illumos-gate prior to commit a324e0c7.

Analysis

No analysis available yet

Remediation

Vendor Solution

Update to an illumos distribution release that includes the fixes for illumos issues 18648 and 18759.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Three memory-safety flaws in illumos STREAMS processing allow a local user to read and modify kernel heap memory and gain root privileges. First, the timod module in usr/src/uts/common/io/timod.c does not validate the offsets and lengths in a T_UNITDATA_REQ message sent by the calling process. timod is pushed onto transport endpoints opened through the XTI/TLI library. When tim_filladdr() rebuilds such a message, it copies the options from the OPT_offset in the message, which it applies relative to the end of the message and not the start. A crafted offset and length cause kernel heap memory outside the message to be copied into the new message. That memory includes the STREAMS data block header, which contains kernel pointers. On a connectionless loopback transport endpoint such as /dev/ticlts, those bytes are returned to the process in the resulting T_UDERROR_IND. Second, the I_FDINSERT handler in strioctl() in usr/src/uts/common/os/streamio.c compares the signed length of the control buffer with an unsigned value, so a negative length passes validation. The handler then writes a four-byte value at an offset chosen by the process, beyond the end of the allocated message. The value is the device minor number of the stream named in the request. An unprivileged local user can combine the two. The read locates the credential structure of their process, and the write sets the user ID in that structure to zero. Third, audit_sock() in usr/src/uts/common/c2/audit.c reads a socket address from a transport message at an offset taken from the message. It does not check that the address lies within the message, so when auditing is enabled this is a further out-of-bounds read. The flaws are present in all versions of illumos-gate prior to commit a324e0c7.
Title Out-of-bounds read and write in illumos STREAMS allow local privilege escalation
Weaknesses CWE-125
CWE-195
CWE-787
References
Metrics cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
illumos
Published
Updated
Dec 1, 2026, 9:58 PM
Reserved
Oct 21, 2026, 7:37 PM
Status
Received
Published
Dec 1, 2026, 9:16 PM
Modified
Dec 1, 2026, 10:17 PM