{"schemaVersion":4,"id":"CVE-2026-102949","aliases":[],"status":"published","duplicateOf":null,"title":"Stale completion after I2C timeout causes use-after-return of transfer buffer in Intel SEDI I2C driver","description":"The Intel SEDI I2C controller driver (drivers/i2c/i2c_sedi.c, used on Intel ISH platforms) waits for each asynchronous transfer with k_sem_take() on a per-controller completion semaphore and a 1 s timeout. When the wait times out, i2c_sedi_api_full_io() aborts the transfer via SEDI_I2C_ABORT_TRANSFER, but if the controller's completion interrupt fires between the timeout expiring and the abort masking interrupts, the callback k_sem_give()s the semaphore and the token is never discarded.\n\nThe next transfer on that bus then takes the stale token immediately and returns success (the stale context->err is usually 0) while the controller is still executing it. The HAL interrupt handler (or DMA) keeps copying received bytes into the caller's msgs[i].buf. Since I2C callers typically pass stack buffers, this writes into a stack frame that has already been returned from, and the caller also consumes incomplete data. The desynchronization can persist across later transfers.\n\nTriggering the race requires a transfer to complete just after the 1 s timeout. A device on the I2C bus that controls clock stretching (for example a malicious or tampered peripheral) can steer this timing, and it also supplies the bytes that get written. Exploitation therefore needs physical access to the bus and is timing-dependent. The impact is corruption of kernel or thread stack memory with data the peripheral controls, which can lead to a crash or potentially to code execution. The fix calls k_sem_reset() and clears context->err after the abort, while the transfer mutex is still held.","dates":{"published":"2026-11-23T18:02:45.169Z","modified":"2026-11-23T18:41:56.435Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.4,"severity":"medium","vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00348,"percentile":0.30335,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-24T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00348,"percentile":0.30335}],"last30":[{"date":"2026-11-24T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00234,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00348,"percentile":0.30335}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"zephyrproject","product":"zephyr","name":"zephyr","label":"zephyr","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.5.0, < 4.3.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.5.0","startInclusive":true,"end":"4.3.2","endInclusive":false}},{"text":"≥ 4.4.0, < 4.5.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.4.0","startInclusive":true,"end":"4.5.0","endInclusive":false}}],"versionsText":"≥ 3.5.0, < 4.3.2 | ≥ 4.4.0, < 4.5.0","eol":null,"hubHref":"/vendor/zephyrproject/zephyr"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/commit/628c432817b08e43ffa032876f37efd1bc946c13","label":"github.com/zephyrproject-rtos/zephyr/commit/628c432817b08e43ffa032876f37efd1bc946c13","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-cq29-vfwj-ph7w","label":"github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-cq29-vfwj-ph7w","hostname":"github.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-23T18:02:45.169Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-23T18:41:56.435Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.4, physical access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,64],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00348,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-23T18:41:56.435Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.4,"vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-23T18:41:56.435Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.4,"vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-23T18:41:45.017Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00348,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T11:16:59.273Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T11:16:59.802Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T11:16:59.995Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T11:01:01.512Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T11:16:57.726Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T11:16:56.764Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T11:42:56.524Z","stale":false,"partial":false}}