{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-90592","assignerOrgId":"e2e69745-5e70-4e92-8431-deb5529a81ad","state":"PUBLISHED","assignerShortName":"zephyr","dateReserved":"2026-09-12T18:04:49.313Z","datePublished":"2026-11-25T20:27:21.547Z","dateUpdated":"2026-11-25T20:27:21.547Z"},"containers":{"cna":{"providerMetadata":{"orgId":"e2e69745-5e70-4e92-8431-deb5529a81ad","shortName":"zephyr","dateUpdated":"2026-11-25T20:27:21.547Z"},"title":"Out-of-bounds read in it51xxx I2C target FIFO ISR on oversized read transaction","descriptions":[{"lang":"en","value":"The ITE it51xxx I2C driver, when operating as an I2C target (slave) in buffer mode (CONFIG_I2C_TARGET + CONFIG_I2C_TARGET_BUFFER_MODE), transmits response data from the fixed-size data->target_out_buffer inside its target FIFO interrupt handler target_i2c_isr_fifo() in drivers/i2c/i2c_ite_it51xxx.c. On every data interrupt of a host read transaction the handler pushes a fixed 16 bytes from target_out_buffer[i + data->r_index] into the hardware FIFO and then advances data->r_index by 16, without ever checking that index against the size of the buffer.\n\ndata->r_index is reset to zero only on a STOP or timeout condition, so within a single transaction it only accumulates. An I2C host that keeps clocking read bytes without issuing STOP drives data->r_index past the end of the buffer after sixteen interrupts (default CONFIG_I2C_TARGET_IT51XXX_MAX_BUF_SIZE = 256 bytes), and every interrupt after that reads 16 bytes from beyond target_out_buffer and places them on the bus. What follows the buffer in the driver's device data structure is data->target_shared_fifo and the remaining static device state, so a sufficiently long read transaction streams adjacent firmware memory to the host.\n\nThe same handler, and the shared-FIFO arm of target_i2c_isr_pio(), also declare the transfer length uninitialised and invoke the optional buf_read_requested() callback without checking that it is registered. A target that supplies no read callback leaves the source pointer NULL and the length indeterminate; when that length compares below the destination size, memcpy() runs with a NULL source. Because the transmit path feeds the FIFO whether or not the callback provided data, such a target also places whatever the previous request left in the buffer onto the bus.\n\nThe trigger is a malicious or misbehaving I2C master on the same bus (for example a compromised application processor or a rogue device on an exposed I2C bus); no software privilege on the victim is required and the handler runs in the target's kernel/firmware context. The disclosed bytes are not attacker-chosen, but their extent is: the host controls how long the transaction runs and therefore how far past the buffer the driver reads.\n\nThis is the read-direction counterpart of CVE-2026-14986, which closed the write direction of the same routine without adding the matching bound on the read path."}],"affected":[{"vendor":"zephyrproject","product":"zephyr","collectionURL":"https://github.com/zephyrproject-rtos/zephyr","packageName":"zephyr","defaultStatus":"unaffected","programFiles":["drivers/i2c/i2c_ite_it51xxx.c"],"programRoutines":[{"name":"target_i2c_isr_fifo"},{"name":"target_i2c_isr_pio"}],"versions":[{"version":"4.2.0","status":"affected","lessThanOrEqual":"*","versionType":"semver"}]}],"references":[{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-964p-663m-2mw6","name":"GHSA-964p-663m-2mw6"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":4.6,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"lang":"en","description":"bounds","cweId":"CWE-125","type":"CWE"}]}],"x_generator":{"engine":"cvelib 1.8.0"}}}}