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.
Overview
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.
- Published
- 7/19/2026
- Last modified
- 8/11/2026
- Assigned by
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 6.8, < 6.12.93 | Verify advisory | Source |
linux kernel linux | ≥ 6.13, < 6.18.34 | Verify advisory | Source |
linux kernel linux | ≥ 6.19, < 7.0.11 | Verify advisory | Source |
linux kernel linux | 7.1 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ 9ba0ff3e083f6a4a0b6698f06bfff74805fefa5f, < acd55ea40d03e06f20a9986363019e0e5173990e | Verify advisory | Source |
Linux Linux | ≥ 9ba0ff3e083f6a4a0b6698f06bfff74805fefa5f, < 0f8efc45740b0628a787d1b0be8a0ddabd700625 | Verify advisory | Source |
Linux Linux | ≥ 9ba0ff3e083f6a4a0b6698f06bfff74805fefa5f, < 69c2a1fec2e7ca25598180816f3bc56e1842eb41 | Verify advisory | Source |
Linux Linux | ≥ 9ba0ff3e083f6a4a0b6698f06bfff74805fefa5f, < b0fe80c0b9250b35e2211bf3117e7aca814a21b0 | Verify advisory | Source |
Linux Linux | 6.8 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.