CVE-2026-139418: platform/olpc: Reserve space for a string terminator

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

platform/olpc: Reserve space for a string terminator

ecdbgfscmdwrite() 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 Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the Linux kernel’s platform/olpc ec_dbgfs_cmd_write(), limit the copy so the buffer retains space for a trailing NUL terminator.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:34 PM
Data Sourced
via MITRE·01:34 PM
Description

Frequently Asked Questions

1

What does an attacker need to do to trigger the out-of-bounds read?

They need to provide input to ec_dbgfs_cmd_write() that fills the entire stack buffer. This removes the buffer's existing trailing NUL byte before the input is passed to sscanf().

2

What is the relevant remediation?

Apply a kernel update containing the change that limits the user-input copy so that space remains for a trailing NUL terminator. The listed kernel.org stable commits provide references for the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203