{"schemaVersion":4,"id":"CVE-2026-90833","aliases":[],"status":"published","duplicateOf":null,"title":"Signed offset bypasses bounds check in simulated EEPROM driver, allowing out-of-bounds kernel memory read and write from user mode","description":"The simulated EEPROM driver validated access ranges in eeprom_range_is_valid() (drivers/eeprom/eeprom_simulator.c) with a single test, (offset + len) <= config->size. Because offset is a signed off_t and len an unsigned size_t of the same rank, the addition is evaluated in unsigned arithmetic: a negative offset combined with a compensating len wraps the sum back into the accepted range. eeprom_sim_read() and eeprom_sim_write() then memcpy() through the EEPROM(addr) macro, which is plain pointer arithmetic on the driver's static mock_eeprom array, so the copy addresses memory located before that array.\n\neeprom_read() and eeprom_write() are __syscall entry points, and their verification handlers in drivers/eeprom/eeprom_handlers.c check only the device object and the caller's own data buffer (K_SYSCALL_MEMORY_READ/K_SYSCALL_MEMORY_WRITE) — the offset argument is passed to the driver unvalidated. With CONFIG_USERSPACE=y, a CONFIG_EEPROM_SIMULATOR device instance, and the device object granted to a user thread (the usage the in-tree tests/drivers/eeprom/api suite exercises from ZTEST_USER threads), an unprivileged thread could supply a negative offset and have the kernel perform the copy on its behalf.\n\nThe result is an out-of-bounds read of kernel .bss returned into the caller's buffer and, via the write path, an out-of-bounds write of caller-supplied bytes over kernel memory preceding mock_eeprom. Both the start address and the length of the affected span are attacker-selected, so the primitive is sufficient to corrupt adjacent kernel state and escape the user-mode sandbox. Exposure is limited to builds that instantiate the simulated EEPROM (status = \"okay\" by default on qemu_x86 and native_sim, otherwise added by a devicetree overlay) together with userspace isolation.\n\nThe fix rejects negative offsets and performs the remaining bound check without overflow.","dates":{"published":"2026-11-10T22:07:42.603Z","modified":"2026-11-13T13:36:52.612Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/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":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/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":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0018,"percentile":0.07877,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-11T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00165,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00165,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00165,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00165,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00165,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00165,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0018,"percentile":0.07877}],"last30":[{"date":"2026-11-11T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00154,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00165,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00165,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00165,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00165,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00165,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00165,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0018,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0018,"percentile":0.07877}]},"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-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"zephyrproject","product":"zephyr","name":"zephyr","label":"zephyr","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.2.0, < 4.3.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.2.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":"≥ 2.2.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/ce2ec9b3a34d71f52f5d1d7491b91393e334713e","label":"github.com/zephyrproject-rtos/zephyr/commit/ce2ec9b3a34d71f52f5d1d7491b91393e334713e","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-vf6j-hcx8-44vh","label":"github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-vf6j-hcx8-44vh","hostname":"github.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-10T22:07:42.603Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-13T13:36:52.612Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,78],"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.0018,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-13T13:36:52.612Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-13T13:36:52.612Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-13T13:36:31.771Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0018,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T12:01:28.220Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T12:01:28.725Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T12:01:03.802Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T12:01:26.562Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T12:01:25.560Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T13:03:05.230Z","stale":false,"partial":false}}