zephyrproject-rtos.zephyr is vulnerable to Improper Initialization
59
Medium Risk
The PSA Protected Storage TLS credential backend declares its credential-store mutex as a statically zero-filled structure and never initializes it, leaving its wait queue with NULL list pointers. The uncontended lock path works, but when two contexts contend the lock the blocking thread is appended to the zeroed wait queue and dereferences a NULL pointer, faulting the kernel. A deployment performing concurrent TLS handshakes, or a credential operation concurrent with a handshake, triggers a deterministic kernel panic and device reset. The fix defines the mutex with the static initializer that installs a valid wait queue.
You are affected if you are using a version that falls within the vulnerable range and you enable CONFIG_TLS_CREDENTIALS_BACKEND_PROTECTED_STORAGE and perform concurrent TLS handshakes or credential operations.
zephyrproject-rtos.zephyr is vulnerable to Improper Initialization in versions 3.2.0 - 4.4.1.
Upgrade the zephyrproject-rtos.zephyr library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant