VDB

CVE-2025-40110

CVE-2025-40110 PUBLISHED

drm/vmwgfx: Fix a null-ptr access in the cursor snooper

Reported by linux · Published November 12, 2025

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.

EPSS 0.21% · 10.7th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernelAmazon Linux1:6.1.161-183.298.amzn2023
bpftool6.12Amazon Linux1:6.12.55-74.119.amzn2023
kernel6.12-headersAmazon Linux1:6.12.55-74.119.amzn2023
kernel6.12-libbpfAmazon Linux1:6.12.55-74.119.amzn2023
perfAmazon Linux1:6.1.161-183.298.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.55-74.119.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.55-74.119.amzn2023
kernel-libbpfAmazon Linux1:6.1.161-183.298.amzn2023
python3-perfAmazon Linux1:6.1.161-183.298.amzn2023
python3-perf6.12Amazon Linux1:6.12.55-74.119.amzn2023
kernel6.12-libbpf-develAmazon Linux1:6.12.55-74.119.amzn2023
kernel-headersAmazon Linux1:6.1.161-183.298.amzn2023

6 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.21%
10.7th percentile

Affected products

VendorProductVersions
LinuxLinuxc0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1, c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1, c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1
LinuxLinux3.8, 0, 5.10.248
amazon:2023kernel0
amazon:2023bpftool6.120
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-libbpf0
amazon:2023perf0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-libbpf0
amazon:2023python3-perf0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel-headers0
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.1.161-183.2980
amazon:2023kernel6.12-tools0
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf-static0

…and 12 more

Timeline

  • Oct 12, 2025 PoC Published (12 in total, the first dated here)
  • Nov 11, 2025 CVE Published
  • Nov 12, 2025 EPSS Score (30 in total, the first dated here)
  • Nov 17, 2025 CVE Updated
  • Mar 29, 2026 Distribution Patch (194 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (201 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40110
vulnetix vdb fixes CVE-2025-40110

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40110/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›