Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-139418

platform/olpc: Reserve space for a string terminator

Published 30/11/2026 · Updated 30/11/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: platform/olpc: Reserve space for a string terminator ec_dbgfs_cmd_write() copies user input into a zero-initialized stack buffer and passes it to sscanf(). A write that overwrites the entire buffer leaves no terminator, so the subsequent parsing can read beyond the buffer. Limit the copy to leave room for the trailing NUL.

Affected products and versions

Linux Linux6cca83d498bda0999302079bd59786370590c5c2 – < 5a7956346f6965e7f0a21cca1aa36d72ac9cd42b · 6cca83d498bda0999302079bd59786370590c5c2 – < e1fd1cb406657e7b85e98f5954b279b2b07729da · 6cca83d498bda0999302079bd59786370590c5c2 – < 17c1dde0cf2bf3a16ed91c12007b6a1a625b6893 · 6cca83d498bda0999302079bd59786370590c5c2 – < fbd0970689ff743afe907d823c47b7c3c7e91560 · 6cca83d498bda0999302079bd59786370590c5c2 – < d8bc540c486768870953fd9b39ae22d80178d17d · 6cca83d498bda0999302079bd59786370590c5c2 – < 379403b11c73e779f7b831a4e58dd93ce1fc9d5a · 6cca83d498bda0999302079bd59786370590c5c2 – < 323ef933d931c6ef4d7e3be6763da1779f6d3cb1 · 6cca83d498bda0999302079bd59786370590c5c2 – < 1fe88b1741ff655bb59e4fd78178fe2c557b9185Fixed in: 5a7956346f6965e7f0a21cca1aa36d72ac9cd42b · e1fd1cb406657e7b85e98f5954b279b2b07729da · 17c1dde0cf2bf3a16ed91c12007b6a1a625b6893 · fbd0970689ff743afe907d823c47b7c3c7e91560 · d8bc540c486768870953fd9b39ae22d80178d17d · 379403b11c73e779f7b831a4e58dd93ce1fc9d5a · 323ef933d931c6ef4d7e3be6763da1779f6d3cb1 · 1fe88b1741ff655bb59e4fd78178fe2c557b9185
Linux Linux3.6Fixed in: 5.10.275 · 5.15.226 · 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.