Skip to content
Heist/ feed
Back to feed
UnratedFix available

smb: client: add NULL check in automount_fullpath

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: smb: client: add NULL check in automount_fullpath page is checked for null in __build_path_from_dentry_optional_prefix when tcon->origin_fullpath is not set. However, the check is missing when it is set. Add a check to prevent a potential NULL pointer dereference.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.35, 6.15.4, 6.6.95
CVEs
CVE-2025-38208
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 07:41 UTC · Revision 1

Source evidence

smb: client: add NULL check in automount_fullpath

core-osv · Original source

Published 4 Jul 2025, 13:37 UTC

In the Linux kernel, the following vulnerability has been resolved: smb: client: add NULL check in automount_fullpath page is checked for null in __build_path_from_dentry_optional_prefix when tcon->origin_fullpath is not set. However, the check is missing when it is set. Add a check to prevent a potential NULL pointer dereference.

osv:CVE-2025-38208

Kernel

Fixed versions: 6.6.95, 6.12.35, 6.15.4

Complete source record
{
  "id": "6337409c45cda957b4bc6a9f14e34112cae1bb02e85457934be2097b779748e9",
  "url": "https://osv.dev/vulnerability/CVE-2025-38208",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "smb: client: add NULL check in automount_fullpath",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: smb: client: add NULL check in automount_fullpath page is checked for null in __build_path_from_dentry_optional_prefix when tcon->origin_fullpath is not set. However, the check is missing when it is set. Add a check to prevent a potential NULL pointer dereference.",
    "evidence": "osv:CVE-2025-38208",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.95",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.35",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.15.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-38208",
      "aliases": [
        "CVE-2025-38208"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d5a863a153e90996ab2aef6b9e08d509f4d5662b"
                },
                {
                  "fixed": "37166d63e42c34846a16001950ecec96229a8d17"
                },
                {
                  "fixed": "a9e916fa5c7d0ec2256aa44aa24ddd92f529ce35"
                },
                {
                  "fixed": "cce8e71ca1f7ad9045707f0d22490c1e9ed1df6c"
                },
                {
                  "fixed": "f1e7a277a1736e12cc4bd6d93b8a5c439b8ca20c"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.2.13"
                },
                {
                  "fixed": "6.3"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e91802036b3e6e6e803a17ddf5783a6354fe5380"
                }
              ]
            }
          ],
          "versions": [
            "v6.2.16",
            "v6.2.15",
            "v6.2.14",
            "v6.2.13"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38208.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.3.0"
                },
                {
                  "fixed": "6.6.95"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.35"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.15.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38208.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.410341024Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/37166d63e42c34846a16001950ecec96229a8d17",
        "https://git.kernel.org/stable/c/a9e916fa5c7d0ec2256aa44aa24ddd92f529ce35",
        "https://git.kernel.org/stable/c/cce8e71ca1f7ad9045707f0d22490c1e9ed1df6c",
        "https://git.kernel.org/stable/c/f1e7a277a1736e12cc4bd6d93b8a5c439b8ca20c",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38208.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-38208",
        "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-38208.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-38208",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 518666,
  "published_at": "2025-07-04T13:37:28.226+00:00"
}