CVE-2026-102955: OpenThread RCP transmits MAC-secured 802.15.4 frames without applying the MAC key when using the PSA crypto backend
The OpenThread PSA crypto platform backend in modules/openthread/platform/cryptopsa.c only supported PSA key references. otPlatCryptoAesSetKey() copied aKey->mKeyRef into the AES context unconditionally. On an OpenThread Radio Co-Processor (RCP) build, CONFIGOPENTHREADCRYPTOPSA does not select CONFIGOPENTHREADPLATFORMKEYREF, so OpenThread passes the MAC key as literal bytes and mKeyRef is uninitialized. psacipherencrypt() in otPlatCryptoAesEncrypt() then fails without writing its output, and the error is only caught by an OpenThread assertion that is compiled to a no-op when CONFIGASSERT is disabled.
When the RCP handles transmit security in software, AES-CCM is never keyed. That is the case with Thread 1.2 or later, where CONFIGOPENTHREADMACSOFTWARETXSECURITYENABLE defaults to y, on a radio driver without IEEE802154HWTXSEC. Every MAC key-id-mode-1 frame goes out with its payload XORed against a single 16-byte pad of stale stack data, reused for every block, and with an unkeyed MIC. CONFIGOPENTHREADCRYPTOPSA is enabled by default since v4.4.0.
A passive attacker within 802.15.4 radio range can recover the pad from predictable plaintext (for example 6LoWPAN headers) and read the payload of the frames the device transmits. The practical impact is limited. The configuration is not the default (the default Thread version is 1.1), and the same defect makes peers reject every secured data frame, so an affected device cannot exchange data on the network. Received traffic and key distribution are not affected. With CONFIGASSERT enabled, the RCP halts on the first secured transmission instead.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Affected deployments are OpenThread RCP builds using the PSA crypto backend where transmit security is handled in software. This occurs with Thread 1.2 or later, when CONFIG_OPENTHREAD_MAC_SOFTWARE_TX_SECURITY_ENABLE is enabled (its default), and the radio driver does not provide IEEE802154_HW_TX_SEC.
Is a default Zephyr configuration potentially affected?
Yes. CONFIG_OPENTHREAD_CRYPTO_PSA has been enabled by default since v4.4.0, and Thread 1.2 or later defaults CONFIG_OPENTHREAD_MAC_SOFTWARE_TX_SECURITY_ENABLE to y. Exposure still depends on using an RCP build and a radio driver without hardware transmit security.
What does an attacker need to exploit the issue?
A passive attacker must be within 802.15.4 radio range and be able to observe affected MAC key-id-mode-1 frames. Predictable plaintext, such as 6LoWPAN headers, can allow recovery of the reused 16-byte stale-stack-data pad.
Will assertions reveal the crypto failure?
The PSA encryption failure is caught only by an OpenThread assertion. When CONFIG_ASSERT is disabled, that assertion is a no-op, so the failure can proceed without the assertion reporting it.