CVE-2026-11894

Source
https://cve.org/CVERecord?id=CVE-2026-11894
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-11894.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-11894
Aliases
  • GHSA-v9mj-h2m6-v9c6
Published
2026-08-11T05:08:51.464Z
Modified
2026-08-12T15:32:42.570977Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H CVSS Calculator
Summary
Double-free / use-after-free in Realtek BEE Bluetooth HCI driver `send()` error paths
Details

The Realtek BEE Bluetooth HCI driver's send callback, bthcibeesend() in drivers/bluetooth/hci/hcibee.c, violated the bthcidriverapi buffer-ownership contract. That contract requires the driver to consume (unref) the transmit netbuf only on success; on an error return the host caller retains ownership and unrefs the buffer itself. The pre-fix code routed all error paths through a shared cleanup label that unconditionally called netbufunref(buf) before returning the error code.

Because the host TX paths (in subsys/bluetooth/host/hcicore.c) unref the buffer again after send() returns an error, the buffer is freed twice: the driver returns it to its netbuf pool and the host then unrefs the already-freed buffer, corrupting the shared pool / underflowing the reference count (CWE-415). The same error branch additionally dereferenced buf->len inside a LOG_ERR call after the buffer had already been unref'd, a read of freed memory (CWE-416) that is compiled in at the default error log level.

The failing edges are reached when the controller's host-to-controller buffer allocation fails or the controller send fails (resource-exhaustion / IO conditions). A remote Bluetooth peer can push the device toward these conditions indirectly by driving heavy host transmit activity, at which point the double-free corrupts the host net_buf pool and most likely crashes the device, with residual potential for further memory corruption. The impact is confined to builds using this specific Realtek BEE HCI driver.

The fix returns early from each error path without unreffing and unrefs the buffer only on the success path, restoring the ownership contract and eliminating both the double-free and the use-after-free read.

Database specific
{
    "cwe_ids": [
        "CWE-415"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/11xxx/CVE-2026-11894.json",
    "cna_assigner": "zephyr"
}
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": [
        {
            "introduced": "4.4.0"
        },
        {
            "fixed": "4.4.2"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v4.*
v4.4.0

Database specific

vanir_signatures_modified
"2026-08-12T15:32:42Z"
vanir_signatures
[
    {
        "id": "CVE-2026-11894-8ba37d03",
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "length": 829.0,
            "function_hash": "119131425461472504598452807028641450597"
        },
        "source": "https://github.com/zephyrproject-rtos/zephyr/commit/9a684b5c314fb1d8670b01f7b6c4450a9353906c",
        "target": {
            "function": "bt_hci_bee_send",
            "file": "drivers/bluetooth/hci/hci_bee.c"
        }
    },
    {
        "id": "CVE-2026-11894-9e148de3",
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "128080782683670962521118952674817684555",
                "138709061796402253326710399784334013960",
                "257074705214906629064173777397686734521",
                "312714869373146061613178080918325768599",
                "53274724718070697003207202784034070054",
                "254677092502823164909369488709402447518",
                "103100660294563121554695057909461555866",
                "207711654614887490927856237680779363798",
                "232135630891375944063614692058314785087",
                "210825350013925158276668707797364340794",
                "106863314474774394345237012913598378675",
                "36771813698877730643412070621361162676",
                "185940146297063674529430309085136201343",
                "9799543148813996752148816296806594586",
                "254468956772567180722994004305259519786",
                "223403466569082653574047506447824402799",
                "134597426813476604970546234380055962212",
                "204360582634586764491889960900103721487",
                "243112618202768289927126864755439100921",
                "329224707266536153632024953674536463582",
                "276789176933082676818773020134320859075",
                "278942182668928629871496144869470156330",
                "218023674790278111885919275707237251939",
                "98445100055045411753414180968420328294",
                "199090722817293189430973228482424769656",
                "294711401751349481724619707662934770896",
                "268955982875366531602834501322476028004",
                "282358671043731624700085476080735483909",
                "311033480098083337141935315199081599241",
                "42990732809530792339706049858403925218",
                "257174183963275335327982665360562356541"
            ]
        },
        "source": "https://github.com/zephyrproject-rtos/zephyr/commit/9a684b5c314fb1d8670b01f7b6c4450a9353906c",
        "target": {
            "file": "drivers/bluetooth/hci/hci_bee.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-11894.json"