Lucene search
K

CVE-2025-40064 smc: Fix use-after-free in __pnet_find_base_ndev().

🗓️ 28 Oct 2025 11:48:35Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 3 Views

Fix use-after-free in __pnet_find_base_ndev by holding device refcount and safe access in ism and roce resources.

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/smc/smc_pnet.c"
    ],
    "versions": [
      {
        "version": "0afff91c6f5ecef27715ea71e34dc2baacba1060",
        "lessThan": "233927b645cb7a14bb98d23ac72e4c7243a9f0d9",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "0afff91c6f5ecef27715ea71e34dc2baacba1060",
        "lessThan": "3d3466878afd8d43ec0ca2facfbc7f03e40d0f79",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/smc/smc_pnet.c"
    ],
    "versions": [
      {
        "version": "4.19",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.19",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.17.3",
        "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