platform/olpc: Reserve space for a string terminator

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux6cca83d498bda0999302079bd59786370590c5c2 to before 5a7956346f6965e7f0a21cca1aa36d72ac9cd42b Affected6cca83d498bda0999302079bd59786370590c5c2 to before e1fd1cb406657e7b85e98f5954b279b2b07729da Affected6cca83d498bda0999302079bd59786370590c5c2 to before 17c1dde0cf2bf3a16ed91c12007b6a1a625b6893 Affected6cca83d498bda0999302079bd59786370590c5c2 to before fbd0970689ff743afe907d823c47b7c3c7e91560 Affected6cca83d498bda0999302079bd59786370590c5c2 to before d8bc540c486768870953fd9b39ae22d80178d17d Affected6cca83d498bda0999302079bd59786370590c5c2 to before 379403b11c73e779f7b831a4e58dd93ce1fc9d5a Affected6cca83d498bda0999302079bd59786370590c5c2 to before 323ef933d931c6ef4d7e3be6763da1779f6d3cb1 Affected6cca83d498bda0999302079bd59786370590c5c2 to before 1fe88b1741ff655bb59e4fd78178fe2c557b9185 Affected
Linux Linux3.6 Affectedbefore 3.6 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.