CVE-2026-139516

wifi: ath12k: Reserve space for a string terminator

Published Nov 30, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

wifi: ath12k: Reserve space for a string terminator

ath12k_write_htt_stats_type() accepts count == size, which fills the
zero-initialized buffer without a terminating NUL. sscanf() then reads
beyond the buffer.

Reject input that leaves no room for the trailing NUL.

Analysis

AI-generated

Technical impact

In the Linux kernel ath12k driver, the function ath12k_write_htt_stats_type processes a buffer whose size exactly matches the amount of data written, leaving no room for a terminating NUL. The subsequent call to sscanf then reads past the buffer bounds, potentially exposing kernel memory contents that are not meant to be visible. The flaw results from an unchecked boundary condition and is classified under CWE-125, which can lead to information leakage or, with additional exploitation steps, privilege escalation within the kernel.

Affected Systems

Any Linux kernel installation that includes the ath12k wireless driver and has not yet applied the patch that reserves space for a terminating NUL. No specific version numbers are provided, but the vulnerability applies to kernel releases that contain the original ath12k_write_htt_stats_type implementation.

Risk and Exploitability

The CVSS score is 4.4, EPSS score is <1%, indicating a low to moderate exploitation probability. The vulnerability appears to require local or privileged access to supply controlled input to the ath12k driver, making it less likely to be abused remotely. The flaw is not listed in the CISA KEV catalog. Because the kernel processes the potentially malformed input internally, an attacker could read beyond the buffer bounds and obtain kernel data, but current evidence does not indicate a straightforward remote code execution path.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version containing the ath12k driver patch that reserves space for a terminating NUL.
  • If an immediate kernel update is not possible, disable the ath12k Wi‑Fi driver or Wi‑Fi interface to prevent the vulnerable execution path from being triggered.
  • Audit and restrict any mechanisms that feed input into ath12k_write_htt_stats_type, ensuring the buffer size is always smaller than the designated length by at least one byte for the NUL terminator.

Generated by OpenCVE AI on December 2, 2026 at 15:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Reserve space for a string terminator ath12k_write_htt_stats_type() accepts count == size, which fills the zero-initialized buffer without a terminating NUL. sscanf() then reads beyond the buffer. Reject input that leaves no room for the trailing NUL.
Title wifi: ath12k: Reserve space for a string terminator
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:35 PM