Lucene search
K

CVE-2025-40320 smb: client: fix potential cfid UAF in smb2_query_info_compound

🗓️ 08 Dec 2025 00:46:47Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 21 Views

Linux kernel smb client fixes potential cfid use-after-free by resetting cfid on replay.

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/smb/client/smb2ops.c"
    ],
    "versions": [
      {
        "version": "433042a91f9373241307725b52de573933ffedbf",
        "lessThan": "939c4e33005e2a56ea8fcedddf0da92df864bd3b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4f1fffa2376922f3d1d506e49c0fd445b023a28e",
        "lessThan": "327f89c21601ebb7889f8c97754b76f08ce95a0c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4f1fffa2376922f3d1d506e49c0fd445b023a28e",
        "lessThan": "b556c278d43f4707a9073ca74d55581b4f279806",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4f1fffa2376922f3d1d506e49c0fd445b023a28e",
        "lessThan": "5c76f9961c170552c1d07c830b5e145475151600",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "6.6.32",
        "lessThan": "6.6.117",
        "status": "affected",
        "versionType": "semver"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/smb/client/smb2ops.c"
    ],
    "versions": [
      {
        "version": "6.8",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.8",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.6.117",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.12.58",
        "lessThanOrEqual": "6.12.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.17.8",
        "lessThanOrEqual": "6.17.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.18",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

23 May 2026 16:02Current
EPSS0.00156
21