Skip to content
Heist/ feed
Back to feed
UnratedFix available

wifi: mt76: mt7996: avoid NULL pointer dereference in mt7996_set_monitor()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: avoid NULL pointer dereference in mt7996_set_monitor() The function mt7996_set_monitor() dereferences phy before the NULL sanity check. Fix this to avoid NULL pointer dereference by moving the dereference after the check.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.15.3
CVEs
CVE-2025-38316
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 17:49 UTC · Revision 1

Source evidence

wifi: mt76: mt7996: avoid NULL pointer dereference in mt7996_set_monitor()

core-osv · Original source

Published 10 Jul 2025, 07:42 UTC

In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: avoid NULL pointer dereference in mt7996_set_monitor() The function mt7996_set_monitor() dereferences phy before the NULL sanity check. Fix this to avoid NULL pointer dereference by moving the dereference after the check.

osv:CVE-2025-38316

Kernel

Fixed versions: 6.15.3

Complete source record
{
  "id": "467174b4e221c2f7494ad0069795c9c954aa1aaea3be1d8dd5435078898c4c83",
  "url": "https://osv.dev/vulnerability/CVE-2025-38316",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "wifi: mt76: mt7996: avoid NULL pointer dereference in mt7996_set_monitor()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: avoid NULL pointer dereference in mt7996_set_monitor() The function mt7996_set_monitor() dereferences phy before the NULL sanity check. Fix this to avoid NULL pointer dereference by moving the dereference after the check.",
    "evidence": "osv:CVE-2025-38316",
    "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-38316",
      "aliases": [
        "CVE-2025-38316"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "69d54ce7491d046eaae05de7fb2493319a481991"
                },
                {
                  "fixed": "83a422c8169eef95aef57f7ddc467bb126d9ae81"
                },
                {
                  "fixed": "cb423ddad0f6e6f55b1700422ab777b25597cc83"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38316.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-38316.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:44.875328563Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/83a422c8169eef95aef57f7ddc467bb126d9ae81",
        "https://git.kernel.org/stable/c/cb423ddad0f6e6f55b1700422ab777b25597cc83",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38316.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-38316",
        "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-38316.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-38316",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 512585,
  "published_at": "2025-07-10T07:42:23.219+00:00"
}