CVE-2025-40110
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel6.12-libbpf | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| perf | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel-libbpf | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel6.12-libbpf-devel | Amazon Linux | 1:6.12.55-74.119.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.161-183.298.amzn2023 |
6 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1, c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1, c0951b797e7d0f2c6b0df2c0e18185c72d0cf1a1 |
| Linux | Linux | 3.8, 0, 5.10.248 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.161-183.298 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
…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