CVE-2025-38294 wifi: ath12k: fix NULL access in assign channel context handler

Medium 5.5 Published Updated

A NULL pointer dereference in the ath12k WiFi driver can cause a kernel crash when assigning a channel context fails.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38294?

CVE-2025-38294 is a medium-severity vulnerability in Linux kernel, published on 10 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

wifi: ath12k: fix NULL access in assign channel context handler

Currently, when ath12k_mac_assign_vif_to_vdev() fails, the radio handle (ar) gets accessed from the link VIF handle (arvif) for debug logging, This is incorrect. In the fail scenario, radio handle is NULL. Fix the NULL access, avoid radio handle access by moving to the hardware debug logging helper function (ath12k_hw_warn).

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1 Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Weakness: CWE-476

Which versions are affected by CVE-2025-38294?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-38294?

Apply the vendor's patch.

Is CVE-2025-38294 being exploited?

There is no known exploitation of CVE-2025-38294 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-38294, GHSA-qj8q-w772-32v5, UBUNTU-CVE-2025-38294.

Is CVE-2025-38294 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free