CVE-2026-64099
drm/v3d: Fix use-after-free of CPU job query arrays on error path
Check your servers for CVE-2026-64099
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64099 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
drm/v3d: Fix use-after-free of CPU job query arrays on error path
The CPU job ioctl's fail label calls kvfree() on cpu_job's timestamp and performance query arrays after v3d_job_cleanup(), which drops the job's last reference and frees cpu_job. Reading cpu_job at that point is a use-after-free. Also, on the early v3d_job_init() failure path, it is a NULL dereference, since v3d_job_deallocate() zeroes the local pointer.
In the success path, the arrays are released from the scheduler's .free_job callback, but on the error path, they are freed manually, as the job was never pushed to the scheduler. While the success path deals with this correctly, the fail path doesn't.
On top of that, the manual kvfree() calls only free the array storage; they don't drm_syncobj_put() the per-query syncobjs that v3d_timestamp_query_info_free() and v3d_performance_query_info_free() release on the success path. So the same fail path that triggers the use-after-free also leaks one syncobj reference per query.
Unify the CPU job teardown into the CPU job's kref destructor, mirroring v3d_render_job_free(). The scheduler's .free_job slot reverts to the generic v3d_sched_job_free() and the fail label drops the manual kvfree() calls, leaving a single teardown path that is reached from both the scheduler and the ioctl error path. That removes the use-after-free, the NULL dereference, and the syncobj leak by construction.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.67% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 9ba0ff3e083f6a4a0b6698f06bfff74805fefa5f, before acd55ea40d03e06f20a9986363019e0e5173990e affected from 9ba0ff3e083f6a4a0b6698f06bfff74805fefa5f, before 0f8efc45740b0628a787d1b0be8a0ddabd700625 affected from 9ba0ff3e083f6a4a0b6698f06bfff74805fefa5f, before 69c2a1fec2e7ca25598180816f3bc56e1842eb41 affected from 9ba0ff3e083f6a4a0b6698f06bfff74805fefa5f, before b0fe80c0b9250b35e2211bf3117e7aca814a21b0
Other versions: unaffected
|
| Linux |
affected 6.8 unaffected before 6.8 unaffected from 6.12.93 up to and including 6.12.* unaffected from 6.18.34 up to and including 6.18.* unaffected from 7.0.11 up to and including 7.0.* unaffected 7.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64099 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64099
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-64099
trivy image --scanners vuln IMAGE | grep CVE-2026-64099
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/acd55ea40d03e06f20a9986363019e0e5173990e git.kernel.org
- https://git.kernel.org/stable/c/0f8efc45740b0628a787d1b0be8a0ddabd700625 git.kernel.org
- https://git.kernel.org/stable/c/69c2a1fec2e7ca25598180816f3bc56e1842eb41 git.kernel.org
- https://git.kernel.org/stable/c/b0fe80c0b9250b35e2211bf3117e7aca814a21b0 git.kernel.org
Source: the record CVE-2026-64099 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse