CVE-2026-12232
Received Received - Intake

Out-of-Bounds Read in Zephyr ALH DAI Driver

Vulnerability report for CVE-2026-12232, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-12

Last updated on: 2026-08-12

Assigner: Zephyr Project

Description

The Intel ALH digital-audio-interface driver function dai_alh_get_properties() in drivers/dai/intel/alh/alh.c used a caller-supplied int stream_id with no range validation. The value indexes the fixed-size static const uint8_t alh_handshake_map[64] array and scales a FIFO register address, so an out-of-range stream_id produces an out-of-bounds read of one byte at an attacker-chosen signed offset from the array. That byte is written into prop->dma_hs_id and the resulting struct dai_properties is copied back to the caller, leaking it. dai_get_properties_copy() is a Zephyr __syscall, and its verifier z_vrfy_dai_get_properties_copy() (drivers/dai/dai_handlers.c) validates only the device-object permission and the destination buffer, not stream_id. A user-mode thread that has been granted access to the ALH DAI device object can therefore call the syscall with an arbitrary stream_id, crossing the userspace/kernel sandbox boundary. The impact is a one-byte-per-call arbitrary-offset kernel information disclosure (and leakage of a computed kernel address via fifo_address); a stream_id that resolves to an unmapped page faults in kernel context, giving a local denial of service. Exploitation requires CONFIG_USERSPACE and device access, making this a local, moderate-severity issue. The fix rejects negative and too-large stream_id values up front and returns NULL, which the copy wrapper maps to -ENOENT.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-12
Last Modified
2026-08-12
Generated
2026-08-12
AI Q&A
2026-08-12
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
zephyrproject zephyr From 4.4.0 (inc) to 4.4.2 (inc)
zephyrproject zephyr 4.5.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-12232 is an out-of-bounds read vulnerability in the Intel ALH digital-audio-interface driver of Zephyr RTOS. The dai_alh_get_properties() function uses an unvalidated stream_id to index a fixed-size array and calculate a FIFO register address. This allows an attacker to provide an out-of-range stream_id, causing a one-byte out-of-bounds read at an arbitrary offset. The leaked byte is written into a kernel structure and copied back to the user, resulting in kernel information disclosure.

Detection Guidance

Detection requires checking if your Zephyr RTOS system uses the affected Intel ALH DAI driver versions 4.4.0 through 4.4.2. Inspect the driver source code for dai_alh_get_properties() in drivers/dai/intel/alh/alh.c and verify if stream_id validation is missing. Check for CONFIG_USERSPACE enabled and ALH DAI device access permissions.

Impact Analysis

This vulnerability allows a local attacker with access to the ALH DAI device object to leak kernel memory (one byte per call) and potentially compute kernel addresses. In some cases, it may cause a local denial of service if the stream_id points to an unmapped page. Exploitation requires CONFIG_USERSPACE and device access, making it a local, moderate-severity issue.

Mitigation Strategies

Apply the official patch from Zephyr RTOS by updating to version 4.5.0 or later. If using older branches, backport the fix from commit b470bfce689809621cc5cd8c04a4eca93795827a. Ensure stream_id validation is added to dai_alh_get_properties() to reject negative or out-of-range values.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-12232. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart