UBUNTU-CVE-2026-19742: Low severity ubuntu/zephyr vulnerability

Published Oct 26, 2026
·
Updated

The IPv6 stack derived the long-lived secret key used to compute RFC 7217 stable interface identifiers (genstableiid() in subsys/net/ip/ipv6.c) and RFC 8981 temporary interface identifiers (gentemporaryiid() in subsys/net/ip/ipv6pe.c) with sysrandget(). That API is documented as not cryptographically secure, while both RFCs require this key to be an unpredictable random value of at least 128 bits — the unpredictability of every generated IID rests entirely on it. Depending on the platform, sysrandget() resolves either to a hardware entropy device or, on boards whose entropy driver sets CONFIGENTROPYNEEDSPRNG, to the non-cryptographic xoshiro128++ generator in subsys/random/randomxoshiro128.c, which keeps a single global 128-bit state shared with every other sysrandget() consumer. Many of those consumers put their output directly on the wire (ephemeral source ports, DNS query IDs, CoAP message IDs and tokens, DHCPv6 transaction IDs, WebSocket masking keys), and the xoshiro state transition is invertible, so an observer of a device's traffic can recover the generator state and reconstruct the IID secret key. Additionally, with the entropy-device backend sysrandget() silently falls back to kcycleget32() samples when the entropy driver fails, and returns no error, so the key could be derived from the cycle counter without the caller noticing. With the key known, stable IIDs become directly computable for any prefix (the remaining HMAC inputs — prefix, interface index, interface name, DAD counter — are guessable), and temporary IIDs become linkable after a cheap search over the mixed-in kuptimeget32() value. This defeats the properties both features exist to provide: an attacker can track a device across networks and prefixes, and can predict its address inside a /64 without scanning, removing the usual barrier to directly targeting the host. There is no memory-safety, integrity, or availability impact. The fix generates the key with syscsrandget() and aborts IID generation with -EIO when no cryptographic randomness is available, instead of silently deriving addresses from a predictable key. Both CONFIGNETIPV6IIDSTABLE and CONFIGNETIPV6PE are experimental and disabled by default; builds using CONFIGTESTRANDOMGENERATOR remain predictable by design, as syscsrandget() is deliberately routed back to the test generator there.

Affected Software

7 affected components
ubuntu/zephyr*
ubuntu/zephyr*
ubuntu/zephyr*
ubuntu/zephyr*
ubuntu/zephyr*
ubuntu/zephyr*
ubuntu/zephyr*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Generate the IPv6 IID secret key with sys_csrand_get() instead of sys_rand_get(), and abort IID generation with -EIO when cryptographic randomness is unavailable.

Event History

Oct 26, 2026
CVE Published
via OSV·05:17 PM
Data Sourced
via OSV·05:17 PM
DescriptionSeverityAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203