CVE Database›Document archive›CVE-2026-23135

CVE-2026-23135

kernel: Kernel: Denial of Service in ath12k wifi driver due to incorrect dma_free_coherent() pointer

Loading…

Severity

Moderate

Red Hat Product Security

6.1

CVSS 3.1

Review impact separately from score.

Published · February 14, 2026

Updated · October 29, 2026

Description

A flaw was found in the Linux kernel's ath12k wifi driver. A local attacker could exploit this vulnerability by triggering the device driver teardown path. The driver incorrectly passes aligned memory addresses to dma_free_coherent() instead of the original unaligned addresses during cleanup. This improper memory deallocation can lead to memory leaks, data corruption, or kernel crashes, ultimately resulting in a denial of service.

Statement

A bug exists in the ath12k copy engine ring tear down path where dma_free_coherent is called with pointers that do not match those returned by dma_alloc_coherent. The driver allocates descriptor rings using dma_alloc_coherent and stores the original CPU and DMA addresses in base_addr_owner_space_unaligned and base_addr_ce_space_unaligned. It then derives aligned addresses for runtime use. During cleanup, the driver incorrectly passed the aligned CPU and DMA addresses to dma_free_coherent instead of the original unaligned values. The DMA API requires that the exact addresses returned by dma_alloc_coherent be used for freeing. Freeing with a shifted aligned pointer can result in invalid free behavior such as freeing the wrong address, memory leaks of DMA coherent memory, allocator metadata corruption, warnings, or kernel crashes. Because this occurs in a device driver teardown path, the most realistic impact is denial of service through kernel instability.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 6.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

CWE-763 · Release of Invalid Pointer or Reference