Bug 2586710 (CVE-2026-139418)

Summary: CVE-2026-139418 kernel: kernel: Denial of Service via out-of-bounds read in OLPC platform driver
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Linux kernel's OLPC (One Laptop Per Child) platform driver. This vulnerability allows a local user with access to the debugfs interface to cause a denial of service (DoS) or disclose sensitive memory contents. When writing to the debugfs command interface, user input can completely fill an internal stack buffer without reserving space for a null terminator. Consequently, subsequent string parsing reads beyond the buffer boundaries, resulting in an out-of-bounds read.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-30 14:35:22 UTC
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.