Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
With WOLFSSL_ALGO_HW_MUTEX, each per-algorithm hardware mutex is created on first lock, guarded by a plain int that is tested and set without synchronization. Two tasks that first use the same algorithm together both create the mutex, which leaks one and can let both into the protected section.
wolfSSL_CryptHwMutexInit() guards the one-time creation of the hardware crypto mutex with a plain int that is tested and set without a lock. Threads that reach hardware crypto before wolfCrypt_Init() has completed can both initialize the mutex, which breaks mutual exclusion on the device or fails the operation.
maxq10xx_SetupPkCallbacks() guards its work with a plain static int that is tested and set without a lock. Two threads that create their first WOLFSSL_CTX at the same time both pass the test. The same flag also stops every later context from receiving the MAXQ10xx callbacks.
nrf_random_generate() initializes the Nordic RNG driver once, guarded by a plain static int that is tested and set without a lock. Two threads that request random data for the first time together both call the driver's init, and the call that is refused returns an RNG error to its caller.
The MAX3266X wc_GenerateSeed() records that the TRNG health test has passed in a plain static int, read before the hardware RNG mutex is taken and written after it is released. Threads that seed for the first time together each run the health test. The test itself stays serialized.
// No embargoed advisories.