CVE-2026-12232

Source
https://cve.org/CVERecord?id=CVE-2026-12232
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-12232.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-12232
Aliases
  • GHSA-3557-j848-pv24
Published
2026-08-12T03:34:14Z
Modified
2026-11-05T08:03:53Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L CVSS Calculator
Summary
Out-of-bounds read via unvalidated stream_id in Intel ALH DAI get_properties
Details

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.

Database specific
{
    "cna_assigner": "zephyr",
    "cwe_ids": [
        "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12232.json"
}
References

Affected packages

Git / github.com/zephyrproject-rtos/zephyr

Affected ranges

Type
GIT
Repo
https://github.com/zephyrproject-rtos/zephyr
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "4.4.0"
                },
                {
                    "fixed": "4.5.0"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "fixed": "b470bfce689809621cc5cd8c04a4eca93795827a"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v4.*
v4.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-12232.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "132250286950715230206000150583657090389",
            "length": 629
        },
        "id": "CVE-2026-12232-4f0fe999",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/zephyrproject-rtos/zephyr/commit/b470bfce689809621cc5cd8c04a4eca93795827a",
        "target": {
            "file": "drivers/dai/intel/alh/alh.c",
            "function": "dai_alh_get_properties"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "223257553574864562603787243025452061087",
                "311092983821952534234538472353186696479",
                "20628190621494495605433701997199384079"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-12232-723dfd32",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/zephyrproject-rtos/zephyr/commit/b470bfce689809621cc5cd8c04a4eca93795827a",
        "target": {
            "file": "drivers/dai/intel/alh/alh.c"
        }
    }
]
vanir_signatures_modified
"2026-11-05T08:03:53Z"