Unrated severityNVD Advisory· Published Nov 30, 2026
CVE-2026-139418
CVE-2026-139418
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
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/17c1dde0cf2bf3a16ed91c12007b6a1a625b6893nvd
- git.kernel.org/stable/c/1fe88b1741ff655bb59e4fd78178fe2c557b9185nvd
- git.kernel.org/stable/c/323ef933d931c6ef4d7e3be6763da1779f6d3cb1nvd
- git.kernel.org/stable/c/379403b11c73e779f7b831a4e58dd93ce1fc9d5anvd
- git.kernel.org/stable/c/5a7956346f6965e7f0a21cca1aa36d72ac9cd42bnvd
- git.kernel.org/stable/c/d8bc540c486768870953fd9b39ae22d80178d17dnvd
- git.kernel.org/stable/c/e1fd1cb406657e7b85e98f5954b279b2b07729danvd
- git.kernel.org/stable/c/fbd0970689ff743afe907d823c47b7c3c7e91560nvd
News mentions
0No linked articles in our index yet.