CVE-2026-139612

wifi: ath12k: fix stale tail_msdu pointer returned from mpdu_pop

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

wifi: ath12k: fix stale tail_msdu pointer returned from mpdu_pop

ath12k_wifi7_dp_rx_mon_mpdu_pop() assigns *tail_msdu from the loop
cursor msdu at function exit. That cursor reflects the state of the
last msdu_list entry processed, not the end of the accumulated MSDU
chain: on next_msdu paths (invalid skb, drop_mpdu, first-MSDU rx_desc
invalid) it is set to NULL, and on the set_pktlen failure path it
becomes a dangling pointer to a freed skb. When these occur on the
final iteration, callers see head_msdu populated with a valid chain
while tail_msdu is NULL or points to freed memory.

The chain end is already tracked by the local variable last, which is
updated only after each MSDU has been validated and linked. Use it as
the source for tail_msdu so head_msdu and tail_msdu are either both
NULL or both point into the same live chain.

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3

Analysis

AI-generated

Technical impact

The ath12k Wi‑Fi driver contains a flaw where the tail_msdu pointer returned by mpdu_pop may be set to NULL or point to a freed skb. If a caller later attempts to use this pointer, the kernel can dereference a null or dangling pointer, leading to kernel memory corruption or a crash. The bug arises from assigning the stale pointer at function exit without verifying that the cursor reflects a valid end of the MSDU chain.

Affected Systems

All Linux kernel builds that include the ath12k Wi‑Fi driver prior to the commits referenced in the advisory (cited as 1a10a558, 3b310cba, and a5354898) are impacted. The issue was demonstrated on the WCN7850 hardware using QCA firmware, indicating that any Linux system running this driver and supporting similar wireless hardware is vulnerable until the code is updated.

Risk and Exploitability

CVSS Score 5.3 indicates a moderate severity vulnerability, and the EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog. Based on the description, an attacker might trigger the fault by sending malformed Wi‑Fi frames that exercise the faulty path, potentially causing kernel memory corruption or a crash. The exact likelihood of exploitation is unknown, but the failure occurs during processing of received wireless traffic, meaning the attack could be executed over the air without physical access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that incorporates the patches referenced in the advisory (commit 1a10a558, 3b310cba, or a5354898).
  • If a kernel upgrade is not immediately possible, blacklist the ath12k driver by adding "blacklist ath12k" in a modprobe configuration file and rebooting. This prevents the driver from loading and eliminates the vulnerability until a patch can be applied.
  • Alternatively, disable the wireless interface (e.g., with "rfkill block wlan" or by removing the device from the system configuration) so that the system does not process external Wi‑Fi traffic until the driver is fixed.

Generated by OpenCVE AI on December 1, 2026 at 13:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix stale tail_msdu pointer returned from mpdu_pop ath12k_wifi7_dp_rx_mon_mpdu_pop() assigns *tail_msdu from the loop cursor msdu at function exit. That cursor reflects the state of the last msdu_list entry processed, not the end of the accumulated MSDU chain: on next_msdu paths (invalid skb, drop_mpdu, first-MSDU rx_desc invalid) it is set to NULL, and on the set_pktlen failure path it becomes a dangling pointer to a freed skb. When these occur on the final iteration, callers see head_msdu populated with a valid chain while tail_msdu is NULL or points to freed memory. The chain end is already tracked by the local variable last, which is updated only after each MSDU has been validated and linked. Use it as the source for tail_msdu so head_msdu and tail_msdu are either both NULL or both point into the same live chain. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3
Title wifi: ath12k: fix stale tail_msdu pointer returned from mpdu_pop
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:36 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:36 PM