Lucene search
K

CVE-2025-40031 tee: fix register_shm_helper()

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

Fix register_shm_helper error handling for partial pages to prevent NULL dereference in TEE SHM.

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/tee/tee_shm.c"
    ],
    "versions": [
      {
        "version": "7bdee41575919773818e525ea19e54eb817770af",
        "lessThan": "9338093db954918558677a468d32e77041c65167",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7bdee41575919773818e525ea19e54eb817770af",
        "lessThan": "6a7874ab814ce12003c46a92f7afc9b035c8e8e9",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "7bdee41575919773818e525ea19e54eb817770af",
        "lessThan": "d5cf5b37064b1699d946e8b7ab4ac7d7d101814c",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/tee/tee_shm.c"
    ],
    "versions": [
      {
        "version": "6.8",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.8",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.12.53",
        "lessThanOrEqual": "6.12.*",
        "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

11 May 2026 21:41Current
EPSS0.00194
8