Known issues

Known issues listed on this page and tagged with the latest release version are valid for the current state of development. Use the drop-down filter to see known issues for previous releases and check if they are still valid.

A known issue can list one or both of the following entries:

  • Affected platforms:

    If a known issue does not have any specific platforms listed, it is valid for all hardware platforms.

  • Workaround:

    Some known issues have a workaround. Sometimes, they are discovered later and added over time.

List of known issues for Matter add-on

KRKNWK-22597: Heap corruption and fault during CASE session recovery in the binding handler

The Matter: Light switch sample can crash with a heap corruption (double free) and a kernel panic when it sends a bound command through a stale CASE session after the bound peer is reset. The peer drops the message because it no longer knows the session, the command times out, and the binding handler starts the CASE session recovery. During this recovery, the same binding data was passed twice to the Matter Binding Manager, which released it twice. The issue can also affect other applications that use the binding handler, such as the Matter: Bridge and Matter: Thermostat samples, and applications that use the subsys/binding module.

Workaround: Manually cherry-pick the following commit from the Matter add-on main branch: 2f4c26e87e63de54ec4907c4ac8f698f748b9527

KRKNWK-22680: DAC private key stored in PSA ITS instead of CRACEN KMU on nRF54L

On nRF54L Series SoCs with a Key Management Unit (KMU), the Matter add-on v1.0.0 selects PSA Internal Trusted Storage (ITS) by default as the DAC private key backend instead of the CRACEN KMU. The Matter Kconfig defaults depend on the CONFIG_CRACEN_KMU Kconfig option, which is not defined in the nRF Connect SDK v3.4.0. The build therefore silently falls back to CONFIG_CHIP_CRYPTO_PSA_DAC_PRIV_KEY_ITS, while the documentation describes KMU storage as the default (see DAC in Key Management Unit (KMU)). This causes the device to be unusable if you perform a firmware update from the nRF Connect SDK v3.4.0 to Matter add-on v1.0.0 and then perform a factory reset, because the DAC private key will be lost permanently.

On the first boot with factory data, FactoryDataProvider moves the DAC private key out of the factory data partition exactly once. The key cannot be exported or copied to another backend.

Commissioning or attestation might fail in the following cases:

  • KMU → ITS mismatch (recoverable with a fixed firmware): The device previously ran in-tree nRF Connect SDK Matter firmware (up to nRF Connect SDK v3.4.0) that stored the DAC private key in the KMU, and was updated over SMP or Matter OTA to Matter add-on v1.0.0 firmware that looks for the key in ITS. Existing Matter fabrics continue to work, but a new commissioning fails after a factory reset or when adding another administrator. Device attestation fails with an Operational Credentials error (for example OpCreds: Failed AttestationRequest request with IM error 0x01 (err = ac)). This path is deterministic on every affected nRF54L Series device when migrating from pre-Matter add-on Matter releases.

  • ITS → KMU mismatch (commissioning failure on v1.0.0, mitigated in v1.0.1): The device first booted with the Matter add-on v1.0.0 (or any firmware that stored the DAC key in ITS). The Matter add-on v1.0.0 firmware that defaults to KMU storage cannot use that key. Commissioning fails the same way as the KMU → ITS case. If you do not update to firmware that includes the fallback and the device receives a factory reset while the CONFIG_CHIP_FACTORY_RESET_ERASE_SETTINGS Kconfig option is enabled, the settings partition is erased together with the ITS copy of the DAC private key. In that case, if the key was previously stored in ITS and a different backend is selected, the DAC private key is permanently lost and the device can no longer pass device attestation until it is re-provisioned with new factory data. Updating to the newest version after the factory reset does not restore the key.

Affected platforms: All nRF54L Series SoCs

Workaround: Pick the step that matches to the location where the DAC private key was stored on first migration (see Migration notes for Matter add-on v1.0.1).

  • Key in CRACEN KMU (typical after in-tree nRF Connect SDK Matter, then a broken update to the Matter add-on v1.0.0):

    Deploy the Matter add-on v1.0.1 or newer with CONFIG_CHIP_CRYPTO_PSA_DAC_PRIV_KEY_FALLBACK left enabled (default) so that the attestation uses the KMU key. Do not perform a factory reset before the update. Do not force CONFIG_CHIP_CRYPTO_PSA_DAC_PRIV_KEY_ITS. See Migration notes for Matter add-on v1.0.1 Path A.

  • Key in PSA ITS (typical when the Matter add-on v1.0.0 completed the first migration on the nRF54L Series device): Deploy the Matter add-on v1.0.1 or newer with CONFIG_CHIP_CRYPTO_PSA_DAC_PRIV_KEY_FALLBACK left enabled (default) so that the attestation uses the ITS key. Do not perform a factory reset before the update. Alternatively, keep an explicit ITS migration destination:

    CONFIG_CHIP_CRYPTO_PSA_DAC_PRIV_KEY_ITS=y
    # CONFIG_CHIP_CRYPTO_PSA_DAC_PRIV_KEY_KMU is not set
    

    See Migration notes for Matter add-on v1.0.1 Path B.

  • Before updating the firmware on nRF54L Series devices, confirm the effective backend in the build output (CONFIG_CHIP_CRYPTO_PSA_DAC_PRIV_KEY_ITS vs CONFIG_CHIP_CRYPTO_PSA_DAC_PRIV_KEY_KMU in the build/*/zephyr/.config file).