{"id":"CVE-2026-93669","summary":"NULL pointer dereference in the ITE IT8xxx2 SHI host-command backend when a host transaction arrives before backend initialization","details":"The ITE IT8xxx2 SHI host-command backend in subsys/mgmt/ec_host_cmd/backends/ec_host_cmd_backend_shi_ite.c arms the SPI peripheral before its receive context exists. shi_ite_init_registers() sets the state machine to SHI_STATE_READY_TO_RECV and calls irq_enable() while the device initializes at POST_KERNEL priority CONFIG_KERNEL_INIT_PRIORITY_DEFAULT (40), but data-\u003erx_ctx and data-\u003etx are only assigned later by shi_ite_backend_init(), which ec_host_cmd_init() invokes at CONFIG_EC_HOST_CMD_INIT_PRIORITY (default 80).\n\nIf the attached host processor starts a SPI transaction inside that window, the Rx-valid-length interrupt fires, shi_ite_int_handler() passes its state check and calls shi_ite_parse_header(), which stores the host-derived request length through the still-NULL data-\u003erx_ctx. On the IT8xxx2 low addresses are not backed by RAM, and with CONFIG_NULL_POINTER_EXCEPTION_DETECTION_PMP the first bytes of the address space are explicitly made inaccessible, so the store raises a fatal access fault in interrupt context. The window widens further when CONFIG_EC_HOST_CMD_INITIALIZE_AT_BOOT is disabled and the application calls ec_host_cmd_init() itself.\n\nThe result is a kernel panic on the embedded controller: with Zephyr's default fatal handler the CPU halts, so the controller stops servicing host commands until a hardware reset. Because the trigger is traffic from the attached host processor -- an untrusted peer from the controller firmware's point of view -- software on that host can provoke the fault by forcing a controller reset and issuing transactions during the reboot, turning a recoverable reset into a persistent outage. Impact is limited to availability: the faulting address is fixed and not attacker-chosen, so no memory-corruption primitive follows.\n\nThe fix leaves the interface at SHI_STATE_DISABLED with the interrupt masked during device init, moves irq_enable() into shi_ite_backend_init() after the buffers are published, and makes shi_ite_int_handler() reject a NULL data-\u003erx_ctx while write-clearing IT83XX_SPI_ISR and IT83XX_SPI_RX_VLISR so that an unexpected early interrupt cannot storm.","aliases":["GHSA-xqxg-8rx7-42hq"],"modified":"2026-11-18T01:06:16.712288333Z","published":"2026-11-16T21:19:17.897Z","database_specific":{"cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93669.json","cna_assigner":"zephyr"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93669.json"},{"type":"ADVISORY","url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-xqxg-8rx7-42hq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93669"},{"type":"FIX","url":"https://github.com/zephyrproject-rtos/zephyr/commit/73c6a4ed9506ca81ddfb9d89197b74425a8ce632"},{"type":"PACKAGE","url":"https://github.com/zephyrproject-rtos/zephyr"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/zephyrproject-rtos/zephyr","events":[{"introduced":"356c8cbe63ae01b3ab438382639d25bb418a0213"},{"fixed":"28af05ca658cbacf745fd5b099566311c58ccb1d"},{"introduced":"684c9e8f32e4373a21098559f748f06915f950c9"},{"fixed":"41d10b59730406bbab4ca9f1fbbe9e96aafb4966"},{"fixed":"73c6a4ed9506ca81ddfb9d89197b74425a8ce632"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"3.4.0"},{"fixed":"4.3.2"}],"source":"AFFECTED_FIELD"},{"strategy":"StandardRange","range":[{"introduced":"4.4.0"},{"fixed":"4.5.0"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"73c6a4ed9506ca81ddfb9d89197b74425a8ce632"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v4.3.1","v4.3.1-rc1","v4.4.0","v4.3.0","v4.3.0-rc3","v4.3.0-rc2","v4.3.0-rc1","v4.2.0","v4.2.0-rc3","v4.2.0-rc2","v4.2.0-rc1","v4.1.0","v4.1.0-rc3","v4.1.0-rc2","v4.1.0-rc1","v4.0.0","v4.0.0-rc3","v4.0.0-rc2","v4.0.0-rc1","v3.7.0","v3.7.0-rc3","v3.7.0-rc2","v3.7.0-rc1","v3.6.0","v3.6.0-rc3","v3.6.0-rc2","v3.6.0-rc1","zephyr-v3.5.0","v3.5.0","v3.5.0-rc3","v3.5.0-rc2","v3.5.0-rc1","zephyr-v3.4.0","v3.4.0"],"database_specific":{"vanir_signatures_modified":"2026-11-18T01:06:16Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93669.json","vanir_signatures":[{"id":"CVE-2026-93669-aedc3714","signature_type":"Line","signature_version":"v1","source":"https://github.com/zephyrproject-rtos/zephyr/commit/73c6a4ed9506ca81ddfb9d89197b74425a8ce632","target":{"file":"subsys/mgmt/ec_host_cmd/backends/ec_host_cmd_backend_shi_ite.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["324351265006128003195590082883555521598","66455130051584336585116499537415323877","7440261791769922123010247711488781727","82840367153849625291830157065825745457","83594816453792557600890512502862611266","27951954809613651424133016979458433161","71162081664267334253803345941533283555","12935746816423284939983675029912957122","315525570973019698027095216721884442938","326602110925232862370544950575622001147","16986415295475840666066036830146045717","255569628511732866207870984991800152319","93975398599585436627821808582596497289","209008161497276542728965379131873797876","250500400036274654013959619370582749304","120882775550172455291741196611462307310","195596536377190853555844407881381284084"]}}]}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}