{"id":"CVE-2026-12233","aliases":[],"cve":{"records":[{"id":"CVE-2026-12233","source":"zephyr","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-06-15T01:56:02.937Z","published":"2026-08-12T03:54:38.100Z","modified":"2026-11-04T04:59:22.323Z"}],"publishers":[{"name":"zephyr","role":"CNA","organizationId":"e2e69745-5e70-4e92-8431-deb5529a81ad","modified":"2026-11-04T04:59:22.323Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-08-13T15:09:57.041Z"}],"references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/commit/29581d586f3d68ec8bb1448b522e5470d4a06aa9","tags":["patch"],"source":"zephyr"},{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-57c4-xcq2-fqj7","tags":[],"source":"zephyr"}],"weaknesses":[{"id":"CWE-665","description":"dos","source":"zephyr"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-08-13T15:09:49.771424Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"Uninitialized mutex in TLS trusted-credential backend causes kernel NULL-deref DoS under contention","titleSource":"zephyr","descriptionSource":"zephyr","description":"The PSA Protected Storage credential backend (subsys/net/lib/tls_credentials/tls_credentials_trusted.c) declared its credential-store mutex as a plain zero-filled static struct k_mutex credential_lock; and never called k_mutex_init() on it. A statically zero-filled k_mutex has an uninitialized wait queue (its dlist head/tail are NULL instead of the self-referential sentinels that k_mutex_init/K_MUTEX_DEFINE install). The uncontended lock path does not touch the wait queue, so the defect is latent and serialized use behaves correctly.\n\nWhen two execution contexts contend on the lock, k_mutex_lock() pends the blocking thread on the wait queue via z_pend_curr(), which calls sys_dlist_append() on the zeroed list and dereferences a NULL tail pointer (tail->next = node), faulting the kernel. The lock is held during TLS handshake credential loading and by all credential add/get/delete operations, so a deployment performing concurrent TLS handshakes (for example a server handling multiple simultaneous connections from a remote peer) or a credential-management operation concurrent with a handshake can trigger the dereference.\n\nThe impact is a denial of service: a deterministic kernel panic / device reset on the first contention. There is no memory corruption beyond the NULL dereference and no confidentiality or integrity impact; mutual exclusion on the fast path remains correct. Exposure is limited to builds with CONFIG_TLS_CREDENTIALS_BACKEND_PROTECTED_STORAGE enabled (PSA Protected Storage / TF-M platforms); the default volatile RAM backend initializes its lock correctly and is unaffected.\n\nThe fix initializes the mutex statically with K_MUTEX_DEFINE(credential_lock), providing a valid wait queue so the contended path no longer touches a NULL list.","score":5.9,"severity":"medium","published":"2026-08-12T03:54:38.100Z","modified":"2026-11-04T04:59:22.323Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"zephyrproject","name":"zephyr","platforms":[],"versions":[{"version":"3.2.0","status":"affected","lessThan":"4.3.2","versionType":"semver"},{"version":"4.4.0","status":"affected","lessThan":"4.4.2","versionType":"semver"}],"defaultStatus":"unaffected","cpes":[],"source":"zephyr","url":"https://www.cve.org/CVERecord?id=CVE-2026-12233"}],"remediation":[],"references":["https://github.com/zephyrproject-rtos/zephyr/commit/29581d586f3d68ec8bb1448b522e5470d4a06aa9","https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-57c4-xcq2-fqj7"],"sources":[{"name":"CVE","id":"CVE-2026-12233","modified":"2026-11-04T04:59:22.323Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-12233"}],"assessments":[{"source":"zephyr","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9}],"sourceAffected":[],"observedAt":"2026-11-04T05:08:10.241Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T21:35:33.632Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-04T08:05:34.085Z","attemptedAt":"2026-11-04T08:05:34.085Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-04T08:05:34.085Z","attemptedAt":"2026-11-04T08:05:34.085Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-04T08:05:34.085Z","attemptedAt":"2026-11-04T08:05:34.085Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-04T08:05:34.085Z","attemptedAt":"2026-11-04T08:05:34.085Z"}],"evidence":[{"source":"ENISA EUVD","id":"EUVD-2026-57067","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-57067","modified":"Nov 4, 2026, 4:59:22 AM","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","checkedAt":"2026-11-04T08:05:34.085Z"},{"source":"FIRST EPSS","id":"CVE-2026-12233","url":"https://www.first.org/epss/","probability":0.00506,"percentile":0.43265,"date":"2026-11-03","checkedAt":"2026-11-04T08:05:34.085Z"},{"source":"NVD","id":"CVE-2026-12233","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12233","modified":"2026-11-04T05:18:38.073","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","checkedAt":"2026-11-04T08:05:34.085Z"}],"aiSummary":null}