{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99746",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.432Z",
        "datePublished": "2026-11-20T05:51:17.552Z",
        "dateUpdated": "2026-11-23T08:06:53.272Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-23T08:06:53.272Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: Intel: hda-sdw-bpt: Stop active DMA before closing BPT streams\n\nWhen sdw_enable_stream() fails in intel_ace2x_bpt_send_async() after\nhda_sdw_bpt_send_async() has already started the TX and RX DMA streams,\nintel_ace2x_bpt_close_stream() invokes hda_sdw_bpt_close() directly\nwithout calling hda_sdw_bpt_wait().  As a result,\nhda_sdw_bpt_dma_deprepare() tears down the DMA buffers and BDL while\nthe DMA hardware is still running.\n\nDisable any running TX or RX BPT DMA stream at the start of\nhda_sdw_bpt_close() before unmapping channels and depreparing DMA\nresources."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The patched function is hda_sdw_bpt_close(). A local user reaches it from SNDRV_CTL_IOCTL_ELEM_WRITE on the RT1320 \"DSP FW Update\" control: rt1320_dspfw_load_put() -> rt1320_dspfw_load_code() -> rt1320_data_rw() -> sdw_bpt_send_sync() -> sdw_bpt_send_async() -> generic_bpt_send_async() -> intel_ace2x_bpt_send_async(), which calls intel_ace2x_bpt_close_stream() when sdw_enable_stream() fails. request_firmware() fills the DMA buffers on the host.\nAC:H - hda_sdw_bpt_send_async() starts TX and RX DMA and sets hstream->running before sdw_enable_stream(). The buggy close runs only if that call fails. cdns_port_enable() and cdns_transport_params() always return 0; failure is a slave NACK, do_bank_switch() error, or rt1320_bus_config() -EINVAL on register 0x004d. The mixer path also enters BRA only when rt1320_dspfw_status() sees the DSP status bit clear. The attacker cannot force either condition.\nPR:L - rt1320_dspfw_load_put() is the put handler for SOC_SINGLE_EXT(\"DSP FW Update\"), registered SNDRV_CTL_ELEM_ACCESS_READWRITE with no capable() check, and snd_ctl_elem_write() invokes it for any opener of the card control device. The debugfs go file (cmd_go, mode 0200) is root-only and is the higher-privilege entry.\nUI:N - The attacking user issues SNDRV_CTL_IOCTL_ELEM_WRITE while the RT1320 DAPM bias is already SND_SOC_BIAS_OFF, the idle state checked by rt1320_dspfw_load_put().\nS:U - snd_dma_free_pages() in hda_data_stream_cleanup() releases host pages while the HDA engine and IPC4 chain DMA still address them. The impact remains host kernel memory in the same security authority.\nC:H - The playback stream started by hda_sdw_bpt_dma_enable() keeps reading dmab_tx_bdl, and the capture stream keeps writing dmab_rx_bdl, after hda_data_stream_cleanup() frees both via snd_dma_free_pages() and before chain_dma_trigger(SOF_IPC4_PIPE_RESET). Those reused pages are ordinary kernel memory, so the live DMA reads and overwrites freed kernel data.\nI:H - intel_ace2x_bpt_close_stream() calls hda_sdw_bpt_close() without hda_sdw_bpt_dma_disable(). hda_sdw_bpt_dma_deprepare() then snd_dma_free_pages() on dmab_rx_bdl while IPC4 chain DMA is still running and PPLCCTL RUN is still set; only snd_hdac_ext_stream_clear() clears that bit. The capture path writes pages the allocator can reuse.\nA:H - hda_sdw_bpt_close() reaches hda_data_stream_cleanup() without hda_sdw_bpt_dma_disable(), so chain DMA is still SOF_IPC4_PIPE_RUNNING and PPLCCTL RUN is still set when snd_dma_free_pages() drops the buffer. Continued DMA to those pages is an IOMMU fault, an oops, or a wedged HDA engine."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "sound/soc/sof/intel/hda-sdw-bpt.c"
                    ],
                    "versions": [
                        {
                            "version": "4c1ce9f37d8a809dcdfba082cc9003880efa0a63",
                            "lessThan": "d716684a9cd61b53e9186f1955a80699409b0f49",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4c1ce9f37d8a809dcdfba082cc9003880efa0a63",
                            "lessThan": "be6fda13447b6aaceb03a06eb5b59d132b1b2b26",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4c1ce9f37d8a809dcdfba082cc9003880efa0a63",
                            "lessThan": "348bc756d912dd8f47fd36c167075717951a515e",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "sound/soc/sof/intel/hda-sdw-bpt.c"
                    ],
                    "versions": [
                        {
                            "version": "6.15",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.15",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.5",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.15",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.15",
                                    "versionEndExcluding": "7.3.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.15",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/d716684a9cd61b53e9186f1955a80699409b0f49"
                },
                {
                    "url": "https://git.kernel.org/stable/c/be6fda13447b6aaceb03a06eb5b59d132b1b2b26"
                },
                {
                    "url": "https://git.kernel.org/stable/c/348bc756d912dd8f47fd36c167075717951a515e"
                }
            ],
            "title": "ASoC: SOF: Intel: hda-sdw-bpt: Stop active DMA before closing BPT streams",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}