Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-93213 Overview
CVE-2026-93213 is an out-of-bounds read vulnerability in the Linux kernel's Open Firmware (OF) device tree subsystem. The flaw resides in the stem parser within of_alias_scan(), which processes device tree alias property names. The parser calls isdigit(*(end - 1)) before verifying that end > start, causing it to read one byte before the property name buffer when the alias name is empty or consists entirely of digits. The upstream fix reorders the checks so the bound is validated first.
Critical Impact
An out-of-bounds read in kernel memory during device tree alias parsing can disclose adjacent kernel memory contents or trigger undefined behavior in boot-time initialization.
Affected Products
- Linux kernel (upstream mainline)
- Linux kernel stable branches patched via commits 5bb01c65, 9253cfc5, 958d7ee9, 96a9c984, acd1b490, da7a80dd, f7f6c3e3, and fd0c7bbd
- Distributions and embedded systems shipping affected kernel versions with device tree support
Discovery Timeline
- 2026-09-24 - CVE CVE-2026-93213 published to NVD
- 2026-09-24 - Last updated in NVD database
Technical Details for CVE-2026-93213
Vulnerability Analysis
The Linux kernel's of_alias_scan() function parses alias properties from the device tree during early boot. The stem parser isolates the non-numeric prefix of each alias name by walking backwards from the end of the string. The affected logic evaluates isdigit(*(end - 1)) before confirming that end > start, which is required to keep the pointer dereference within the property name buffer.
When an alias property contains an empty name or a name consisting entirely of digits, end can equal start on the first iteration. Dereferencing end - 1 under those conditions reads one byte of memory immediately preceding the property name allocation. The upstream patch reorders the condition so the bound check (end > start) runs before the character classification, eliminating the out-of-bounds access.
Root Cause
The root cause is an improper ordering of boundary and content checks, classified as an out-of-bounds read [CWE-125]. The original code trusted the input layout and performed a backward pointer dereference prior to validating that the pointer remained within the allocated name buffer.
Attack Vector
Exploitation requires the kernel to parse a crafted or malformed device tree containing an alias property with an empty or all-digit name. On most server and desktop systems, device trees are provided by firmware and are not attacker-controlled at runtime. On embedded platforms, systems using overlays, or environments where unprivileged users can influence device tree data, the one-byte read may leak adjacent kernel memory or trigger instability during of_alias_scan() execution. Remote exploitation is not applicable because the parser only runs against local device tree data. See the kernel commit references for the exact patched code paths.
Detection Methods for CVE-2026-93213
Indicators of Compromise
- No runtime indicators of compromise are published for this issue; the vulnerability triggers a one-byte read without producing distinct artifacts.
- Kernel log messages referencing of_alias_scan combined with KASAN or UBSAN reports of out-of-bounds reads at that call site.
- Unexpected boot-time crashes or warnings on systems that load custom device tree overlays.
Detection Strategies
- Inventory running kernel versions and compare them against the fixed commits listed in the kernel.org references for CVE-2026-93213.
- Enable CONFIG_KASAN on test and development kernels to catch the out-of-bounds read directly during of_alias_scan() execution.
- Scan device tree sources and overlays for alias properties with empty names or purely numeric names, which are the triggering inputs.
Monitoring Recommendations
- Monitor kernel logs on embedded and ARM-based fleets for warnings emitted by memory sanitizers at boot.
- Track vendor kernel advisories for backports of commits 5bb01c65, 958d7ee9, and the other listed hashes.
- Audit any workflow that applies device tree overlays from non-system sources, including container runtimes and firmware update agents.
How to Mitigate CVE-2026-93213
Immediate Actions Required
- Update to a Linux kernel release that includes one of the fix commits referenced in the Linux kernel stable tree.
- Apply distribution kernel updates as soon as vendors publish rebuilt packages that incorporate the patch.
- Validate device tree sources used in builds to ensure alias names are non-empty and contain non-digit characters.
Patch Information
Upstream fixes are available in the Linux kernel stable tree. Relevant commits include kernel commit 5bb01c65, kernel commit 9253cfc5, kernel commit 958d7ee9, kernel commit 96a9c984, kernel commit acd1b490, kernel commit da7a80dd, kernel commit f7f6c3e3, and kernel commit fd0c7bbd. The fix moves the end > start boundary check ahead of the isdigit(*(end - 1)) evaluation.
Workarounds
- Avoid device tree alias properties with empty names or names consisting entirely of digits in platform firmware and overlays.
- Restrict the ability of unprivileged users and workloads to supply device tree data on affected systems.
- Prefer vendor-provided firmware images that have been validated against the fixed kernel to minimize exposure until patches are deployed.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

