CVE-2025-40110 (GCVE-0-2025-40110)

Vulnerability from cvelistv5 – Published: 2025-11-12 01:07 – Updated: 2026-05-11 21:42
VLAI
Title
drm/vmwgfx: Fix a null-ptr access in the cursor snooper
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Fix a null-ptr access in the cursor snooper Check that the resource which is converted to a surface exists before trying to use the cursor snooper on it. vmw_cmd_res_check allows explicit invalid (SVGA3D_INVALID_ID) identifiers because some svga commands accept SVGA3D_INVALID_ID to mean "no surface", unfortunately functions that accept the actual surfaces as objects might (and in case of the cursor snooper, do not) be able to handle null objects. Make sure that we validate not only the identifier (via the vmw_cmd_res_check) but also check that the actual resource exists before trying to do something with it. Fixes unchecked null-ptr reference in the snooping code.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1 , < 3332212e93d0f6e24f8fe79f975e077c4e68ca39 (git)
Affected: c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1 , < 86aae7053d2da3fdfde7b2e84d86e4af50490505 (git)
Affected: c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1 , < af9d88cbf0fce52f465978360542ef679713491f (git)
Affected: c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1 , < 299cfb5a7deabdf9ecd30071755672af0aced5eb (git)
Affected: c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1 , < 13c9e4ed125e19484234c960efe5ac9c55119523 (git)
Affected: c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1 , < b6fca0a07989f361ceda27cb2d09c555d4d4a964 (git)
Affected: c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1 , < 5ac2c0279053a2c5265d46903432fb26ae2d0da2 (git)
Create a notification for this product.
Linux Linux Affected: 3.8
Unaffected: 0 , < 3.8 (semver)
Unaffected: 5.10.248 , ≤ 5.10.* (semver)
Unaffected: 5.15.198 , ≤ 5.15.* (semver)
Unaffected: 6.1.160 , ≤ 6.1.* (semver)
Unaffected: 6.6.113 , ≤ 6.6.* (semver)
Unaffected: 6.12.54 , ≤ 6.12.* (semver)
Unaffected: 6.17.4 , ≤ 6.17.* (semver)
Unaffected: 6.18 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3332212e93d0f6e24f8fe79f975e077c4e68ca39",
              "status": "affected",
              "version": "c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1",
              "versionType": "git"
            },
            {
              "lessThan": "86aae7053d2da3fdfde7b2e84d86e4af50490505",
              "status": "affected",
              "version": "c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1",
              "versionType": "git"
            },
            {
              "lessThan": "af9d88cbf0fce52f465978360542ef679713491f",
              "status": "affected",
              "version": "c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1",
              "versionType": "git"
            },
            {
              "lessThan": "299cfb5a7deabdf9ecd30071755672af0aced5eb",
              "status": "affected",
              "version": "c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1",
              "versionType": "git"
            },
            {
              "lessThan": "13c9e4ed125e19484234c960efe5ac9c55119523",
              "status": "affected",
              "version": "c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1",
              "versionType": "git"
            },
            {
              "lessThan": "b6fca0a07989f361ceda27cb2d09c555d4d4a964",
              "status": "affected",
              "version": "c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1",
              "versionType": "git"
            },
            {
              "lessThan": "5ac2c0279053a2c5265d46903432fb26ae2d0da2",
              "status": "affected",
              "version": "c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.8"
            },
            {
              "lessThan": "3.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.248",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.198",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.113",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.54",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.17.*",
              "status": "unaffected",
              "version": "6.17.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.248",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.198",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.160",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.113",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.54",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.17.4",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: Fix a null-ptr access in the cursor snooper\n\nCheck that the resource which is converted to a surface exists before\ntrying to use the cursor snooper on it.\n\nvmw_cmd_res_check allows explicit invalid (SVGA3D_INVALID_ID) identifiers\nbecause some svga commands accept SVGA3D_INVALID_ID to mean \"no surface\",\nunfortunately functions that accept the actual surfaces as objects might\n(and in case of the cursor snooper, do not) be able to handle null\nobjects. Make sure that we validate not only the identifier (via the\nvmw_cmd_res_check) but also check that the actual resource exists before\ntrying to do something with it.\n\nFixes unchecked null-ptr reference in the snooping code."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T21:42:50.636Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3332212e93d0f6e24f8fe79f975e077c4e68ca39"
        },
        {
          "url": "https://git.kernel.org/stable/c/86aae7053d2da3fdfde7b2e84d86e4af50490505"
        },
        {
          "url": "https://git.kernel.org/stable/c/af9d88cbf0fce52f465978360542ef679713491f"
        },
        {
          "url": "https://git.kernel.org/stable/c/299cfb5a7deabdf9ecd30071755672af0aced5eb"
        },
        {
          "url": "https://git.kernel.org/stable/c/13c9e4ed125e19484234c960efe5ac9c55119523"
        },
        {
          "url": "https://git.kernel.org/stable/c/b6fca0a07989f361ceda27cb2d09c555d4d4a964"
        },
        {
          "url": "https://git.kernel.org/stable/c/5ac2c0279053a2c5265d46903432fb26ae2d0da2"
        }
      ],
      "title": "drm/vmwgfx: Fix a null-ptr access in the cursor snooper",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-40110",
    "datePublished": "2025-11-12T01:07:24.739Z",
    "dateReserved": "2025-04-16T07:20:57.167Z",
    "dateUpdated": "2026-05-11T21:42:50.636Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-40110",
      "date": "2026-11-19",
      "epss": "0.00206",
      "percentile": "0.10853"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "3332212e93d0f6e24f8fe79f975e077c4e68ca39",
                    "status": "affected",
                    "version": "c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "86aae7053d2da3fdfde7b2e84d86e4af50490505",
                    "status": "affected",
                    "version": "c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "af9d88cbf0fce52f465978360542ef679713491f",
                    "status": "affected",
                    "version": "c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "299cfb5a7deabdf9ecd30071755672af0aced5eb",
                    "status": "affected",
                    "version": "c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "13c9e4ed125e19484234c960efe5ac9c55119523",
                    "status": "affected",
                    "version": "c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b6fca0a07989f361ceda27cb2d09c555d4d4a964",
                    "status": "affected",
                    "version": "c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5ac2c0279053a2c5265d46903432fb26ae2d0da2",
                    "status": "affected",
                    "version": "c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "3.8"
                  },
                  {
                    "lessThan": "3.8",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.248",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.198",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.160",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.113",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.54",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.17.*",
                    "status": "unaffected",
                    "version": "6.17.4",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "6.18",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: Fix a null-ptr access in the cursor snooper\n\nCheck that the resource which is converted to a surface exists before\ntrying to use the cursor snooper on it.\n\nvmw_cmd_res_check allows explicit invalid (SVGA3D_INVALID_ID) identifiers\nbecause some svga commands accept SVGA3D_INVALID_ID to mean \"no surface\",\nunfortunately functions that accept the actual surfaces as objects might\n(and in case of the cursor snooper, do not) be able to handle null\nobjects. Make sure that we validate not only the identifier (via the\nvmw_cmd_res_check) but also check that the actual resource exists before\ntrying to do something with it.\n\nFixes unchecked null-ptr reference in the snooping code."
          },
          {
            "lang": "es",
            "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/vmwgfx: Corrige un acceso a puntero nulo en el rastreador de cursor\n\nVerifique que el recurso que se convierte en una superficie existe antes de intentar usar el rastreador de cursor en \u00e9l.\n\nvmw_cmd_res_check permite identificadores expl\u00edcitamente inv\u00e1lidos (SVGA3D_INVALID_ID) porque algunos comandos svga aceptan SVGA3D_INVALID_ID para significar \u201csin superficie\u201d; desafortunadamente, las funciones que aceptan las superficies reales como objetos podr\u00edan (y en el caso del rastreador de cursor, no lo hacen) ser capaces de manejar objetos nulos. Aseg\u00farese de que validamos no solo el identificador (a trav\u00e9s de vmw_cmd_res_check) sino que tambi\u00e9n verificamos que el recurso real existe antes de intentar hacer algo con \u00e9l.\n\nCorrige la referencia de puntero nulo sin verificar en el c\u00f3digo de rastreo."
          }
        ],
        "id": "CVE-2025-40110",
        "lastModified": "2026-10-19T21:10:00.160",
        "metrics": {},
        "published": "2025-11-12T02:15:32.900",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/13c9e4ed125e19484234c960efe5ac9c55119523"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/299cfb5a7deabdf9ecd30071755672af0aced5eb"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3332212e93d0f6e24f8fe79f975e077c4e68ca39"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5ac2c0279053a2c5265d46903432fb26ae2d0da2"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/86aae7053d2da3fdfde7b2e84d86e4af50490505"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/af9d88cbf0fce52f465978360542ef679713491f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b6fca0a07989f361ceda27cb2d09c555d4d4a964"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Deferred"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-05T15:11:45+00:00",
      "cve": "CVE-2025-40110",
      "id": "CVE-2025-40110",
      "initial_release_date": "2025-11-12T00:00:00+00:00",
      "product_status:known_affected": "200",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: drm/vmwgfx: Fix a null-ptr access in the cursor snooper",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-40110.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-19T01:51:33Z",
      "cve": "CVE-2025-40110",
      "id": "CVE-2025-40110",
      "initial_release_date": "2025-11-13T00:24:33Z",
      "product_status:known_affected": "720",
      "product_status:known_not_affected": "6",
      "product_status:recommended": "532",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2025-40110",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2025/cve-2025-40110.json",
      "version": "52"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…