Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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

Products
Kernel
Affected versions
Not specified
Fixed versions
6.15.3
CVEs
CVE-2025-38294
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 19:02 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 10 Jul 2025, 07:42 UTC

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

osv:CVE-2025-38294

Kernel

Fixed versions: 6.15.3

Complete source record
{
  "id": "c652c4117191ddf798104ef418082087df560f2a4bcf66e454c99f0252976ef3",
  "url": "https://osv.dev/vulnerability/CVE-2025-38294",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "wifi: ath12k: fix NULL access in assign channel context handler",
    "summary": "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",
    "evidence": "osv:CVE-2025-38294",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.15.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-38294",
      "aliases": [
        "CVE-2025-38294"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "90570ba4610bdb1db39ef45f2b271a9f89680a9d"
                },
                {
                  "fixed": "3f919f76893069ec3c7475acaeb611eb31fca22d"
                },
                {
                  "fixed": "ea24531d00f782f4e659e8c74578b7ac144720ca"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38294.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.14.0"
                },
                {
                  "fixed": "6.15.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38294.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.865490625Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/3f919f76893069ec3c7475acaeb611eb31fca22d",
        "https://git.kernel.org/stable/c/ea24531d00f782f4e659e8c74578b7ac144720ca",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38294.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-38294",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38294.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-38294",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 505960,
  "published_at": "2025-07-10T07:42:08.888+00:00"
}